Optimizely code injection hijacks wallet addresses on 176 sites, with the attack chain spreading from mining rigs to ordinary websites

A third-party code hosting platform has, for the first time, been confirmed to enable large-scale hijacking of users’ wallet addresses. The attack surface of security incidents is expanding from mining rigs and the logistics industry to scripts on ordinary websites—a paradigm shift that warrants the entire industry’s attention.

According to Decrypt, the website testing platform Optimizely was injected with malicious code. Attackers used the platform to redirect visitors’ wallet addresses, replacing cryptocurrency payment addresses with ones controlled by the attackers. The incident involved around 176 hijacked sites, including Ledger and the BBC.

The key point of this incident is not that a single site was compromised, but how the attack chain propagated. In the past, wallet hijacking was often carried out through mining malware or logistics data leaks, requiring attackers to directly control a device or data channel. This time, however, the attack leveraged a third-party testing platform’s code distribution capabilities to spread indirectly to numerous ordinary websites, significantly expanding the attack surface.

Technically, when a website loads scripts hosted by a third party, malicious logic inserted into those scripts can alter the wallet addresses displayed on the page. Users often have difficulty telling whether the address shown on the page has been swapped, which is what makes this type of attack so difficult to detect.

It is important to emphasize that these losses did not result from a direct breach of an exchange, but from indirect propagation through a third-party platform. Ordinary users have relatively few practical ways to protect themselves; the key is to identify whether script sources are trustworthy and whether external content has been verified.

From a market and security perspective, incidents of this kind may increase the cost of trust in code hosting platforms and third-party scripts, and may also accelerate the adoption of address verification and whitelisting mechanisms in wallets.

On the other hand, the scope of the incident and the actual losses still need further verification, and the attack depended on a specific platform being compromised, rather than exploiting a widespread vulnerability. Going forward, it will be important to monitor Optimizely’s remediation progress, the actual number of affected sites, and whether the industry upgrades its standards for script integrity as a result.

#CryptoSecurity #WalletSafety

The above is a summary of information and personal analysis, and does not constitute investment advice.
I will continue to follow developments and provide updates if there are any significant developments.