Digital asset research and proprietary trading
← All insights
Insight · Security

Crypto-Stealing Code Hit 178 Websites, Including HSBC and Ledger. Here's How to Protect Yourself

An attacker abused a flaw at a website-testing company to plant code that swapped crypto wallet addresses on 178 well-known sites. The direct losses were small. The lesson is not.

Matt Buck
Matt Buck
Head of Product and Insights
November 18, 2026 · 6 min read

On November 16, an attacker used a flaw in Optimizely, a service many large companies use to test changes to their websites, to plant malicious code on 178 organizations' sites [1][2]. The code replaced crypto wallet addresses with the attacker's own. The sites included HSBC, the BBC, CNN, Zoom, Salesforce and hardware-wallet maker Ledger [1][2].

178Organizations whose sites served the code, per security firm Report URI [2]
~$7,000Received by the attacker's wallets, mostly in bitcoin, as of Nov. 16–17 [1][2]
38Banks, financial firms and crypto or trading businesses among those affected [1]

How the attack worked

Companies add Optimizely's code to their pages so they can test different versions of a page with real visitors. The attacker exploited a flaw in Optimizely's account signup process to insert code into customers' projects [1][2]. Because that code is served from Optimizely's own servers, none of the affected websites were hacked directly. Their visitors' browsers simply ran whatever Optimizely delivered [2].

The malicious script did several things [1][2]:

Timeline

WhenWhat happened
Nov. 3An earlier operation that Report URI links to the same attacker
Nov. 13Hudson Rock finds similar code spreading through three other web services
Nov. 16, early (UTC)Malicious code appears in Optimizely projects
Nov. 16, eveningOptimizely posts a status update and removes the code
Nov. 17Report URI publishes its findings; the attacker empties the wallets

Sources: CoinDesk [1] and Decrypt [2].

Report URI, led by founder Scott Helme, found the code in 188 of 1,611 Optimizely scripts it examined, belonging to 178 organizations [2]. Optimizely said it contained the incident, removed the code, fixed the flaw and contacted customers directly [2]. Ledger and HSBC did not immediately comment [1].

Why the losses were small, and why it still matters

The attacker's wallets received about $7,000 to $7,150 [1][2]. The code ran for less than a day, and most people visiting a news site or a bank's homepage were not sending crypto at that moment. Report URI could not tell how many card numbers were taken or how many devices were compromised [2].

The bigger point is where the attack came from. Large companies trust dozens of outside services that load code into their pages. One weak link at one vendor reached banks, brokers and a hardware-wallet company at once. Six of the affected organizations are crypto or trading businesses, including Ledger, IG, OANDA's Coinpass and Interactive Investor, and another 32 are banks and financial companies [1].

Bitcoin barely moved on the news [3]. This was an attack on website visitors, not on a blockchain or an exchange.

How to protect yourself

Crypto transfers generally cannot be reversed once confirmed, which is why checking before you approve matters more than anything after.

Our read

This was a small theft with a large warning. A wallet address on a trusted website is not proof that the address is safe, because the website itself may be running code it did not write. For anyone holding crypto, the habit that would have defeated this attack, checking the full address on the wallet's own screen, costs a few seconds. That is our view.

Matt Buck
About the author
Matt Buck
Head of Product and Insights, BWD Financial Holdings

Matt Buck is Head of Product and Insights at BWD Financial Holdings. He brings 20 years of leadership across the gaming and financial industries, spanning market insights, product development and program management. At BWD, he researches emerging and developing markets and executes investment strategies focused on digital growth.

Sources

  1. Hackers planted crypto-stealing code on 178 organizations' sites, including HSBC, BBC and Ledger, CoinDesk, Nov 17, 2026
  2. Optimizely Hack Hijacked Ledger, BBC and 176 Other Sites to Swap Crypto Wallet Addresses, Decrypt, Nov 2026
  3. 178 Websites Infected in Major Optimizely Hack: Crypto Wallets Targeted, but Bitcoin Barely Reacted, Yahoo Tech, Nov 2026

This article is for informational purposes only and is not investment, financial, legal or tax advice. Figures are as reported by the sources above and may change. Crypto prices and regulatory timelines move quickly. BWD Financial Holdings may hold positions in digital assets or securities discussed on this site.