
Hackers have used compromised Optimizely website scripts to spread cryptocurrency stealing malware across major websites, including those associated with Ledger and Coinpass, with researchers tracing approximately $6,600 to wallets linked to the attack.
Summary
- Hackers injected malicious JavaScript into Optimizely scripts used by 186 websites, including those associated with Ledger and Coinpass.
- The malware targeted eight cryptocurrencies and could replace legitimate wallet addresses with attacker controlled addresses to redirect payments.
- StepSecurity identified approximately $6,600 in activity and holdings across four linked crypto wallets, with Bitcoin accounting for the largest share.
- The malicious scripts could intercept copied wallet addresses and collect payment information, browser cookies and screenshots from affected websites.
According to a Nov. 17 investigation by cybersecurity firm StepSecurity, the campaign, dubbed OPTIMJACK, used malicious JavaScript to replace legitimate cryptocurrency wallet addresses with attacker controlled addresses, potentially redirecting payments without users realizing their destination had changed.
Security researcher Scott Helme identified 186 infected websites and 188 compromised script files during the Nov. 16 incident. The affected organizations included hardware wallet manufacturer Ledger, cryptocurrency exchange Coinpass, trading platforms IG and Interactive Investor, and major companies such as Salesforce, Zoom, CNN and the BBC.
The attackers exploited scripts delivered through Optimizely, a platform businesses use to test and optimize website content. By injecting malicious code into these scripts, they could reach visitors across multiple websites without directly compromising each company’s infrastructure.
Optimizely malware targeted eight cryptocurrencies
StepSecurity found that the malicious script contained replacement wallet addresses for eight cryptocurrencies, including Bitcoin, Ethereum, Tron, Solana, Litecoin, Toncoin, Bitcoin Cash and Dogecoin.
The malware worked by identifying cryptocurrency addresses displayed on affected websites and replacing them with addresses controlled by the attackers.
It checked whether an address was valid for its respective blockchain and looked for nearby payment related terms such as “wallet,” “deposit” or “send” before making the replacement.
The researchers found that the script could modify addresses in website text, form fields, links and clipboard operations. It could even intercept copying actions, meaning users attempting to copy a legitimate deposit address might instead paste an attacker controlled address into their wallet application.
The attack extended to browser sharing functions and network requests, allowing the malicious code to interfere with several ways cryptocurrency addresses are handled online.
StepSecurity’s analysis found that the script could perform these changes without requiring users to install additional software or approve a suspicious browser extension.
Attacker wallets received approximately $6,600
Blockchain records examined by StepSecurity showed that four cryptocurrency addresses associated with the campaign had received funds or held assets worth approximately $6,600 at Nov. 16 prices.
Bitcoin accounted for the largest share, with an attacker controlled address receiving 0.0853 BTC, valued at approximately $5,575, across five transactions.
One transaction alone transferred 0.0761 BTC, worth roughly $4,970, through three outputs.
The Litecoin address received 17.02 LTC, valued at $763, while the Ethereum address recorded 0.0745 ETH worth approximately $136.
A Tron address held 178.8 TRX and 116.09 USDT, with the researchers assigning approximately $171 in value to the reported holdings.
The remaining four addresses associated with Toncoin, Solana, Bitcoin Cash and Dogecoin had recorded no transactions when the researchers checked them.
Some Ethereum and Tron wallet activity predated the Nov. 16 attack, so the approximately $6,600 figure represents associated wallet activity and holdings, not a confirmed total of funds stolen during the campaign.
Malicious scripts reached Ledger and other major websites
The attack was first observed through public website scans on Nov. 16, when malicious scripts began loading code from the attacker controlled domain 1688360.cc.
StepSecurity found that the domain had been registered earlier that morning and was hosted on Google Cloud infrastructure.
The malicious JavaScript was modified at least four times within two hours, with its size growing from 28,877 bytes to 30,430 bytes as the attackers updated the payload.
Beyond cryptocurrency address replacement, the code contained functionality to collect payment card information, browser cookies and screenshots. It could deliver additional malicious scripts to iPhones and iPads.
By approximately 21:32 UTC on Nov. 16, Helme reported that Optimizely was cleaning affected files, although 41 of the 188 compromised scripts remained infected at that point.
The incident follows other attacks targeting cryptocurrency wallet users. In October, fake Ledger websites appeared in Google search results and attempted to collect wallet recovery phrases.
More recently, an Ethereum user lost $50,000 in USDT after copying a fraudulent address designed to resemble the intended recipient’s wallet, according to Scam Sniffer.
In a separate supply chain incident, Ledger previously faced legal action over its compromised Connect Kit, after attackers distributed malicious software capable of redirecting cryptocurrency transactions.
During the latest Optimizely incident, StepSecurity documented a GitLab page where an Optimizely hosted script loaded the attackers’ JavaScript. The researchers subsequently found that the affected GitLab script had been cleaned, while the malicious payload server remained accessible.





