Loading prices…
STKR NewsSTKR News0 of 3 free this month
Markets

Optimizely Hack Hijacked Ledger, BBC and 176 Other Sites to Swap Crypto Wallet Addresses

A breach at optimization giant Optimizely allowed hackers to inject malicious code into nearly 200 high-traffic websites, quietly swapping wallet addresses and skimming sensitive data.

Originally on Decrypt →
AB

Adrian Boysel

Contributor

Nov 17, 2026

4 min read

Photo illustration / STKR News

Supply chain attacks aren't just for developers working in GitHub anymore. They have moved into the marketing stack. Recently, we saw a massive breach involving Optimizely, a platform used by almost every major enterprise for A/B testing and website personalization. The attackers didn't hack 178 different companies; they hacked the one tool they all shared in common.

By compromising Optimizely's delivery mechanism, attackers were able to inject malicious JavaScript into sites ranging from the BBC to Ledger. This wasn't a loud, site-defacing prank. It was a surgical strike designed to swap crypto wallet addresses and skim credit card data. If a user tried to copy a deposit address on a legitimate site, the code swapped it with the attacker's address in the clipboard. This is a nightmare scenario for builders and users alike because it breaks the fundamental trust of the browser interface.

The Invisible Attack Surface

For founders, the takeaway here is that your security is only as strong as your least-vetted script. Most modern websites are essentially a collection of third-party tags. You have your analytics, your heatmaps, your customer support chat, and your optimization tools. Each one of these is a doorway. When you add a snippet of code from a provider like Optimizely, you are giving that provider the keys to your front door.

In this specific case, the attackers targeted the way these scripts are served. Because these tools need to be dynamic to perform A/B tests, they often have broad permissions to modify the Document Object Model (DOM) of a webpage. If the script tells the browser to change a string of text—like a Bitcoin address—the browser complies because it trusts the source.

Why This Hits Crypto Harder

While the BBC might lose some user data, a company like Ledger faces an existential threat when its web presence is compromised. In the crypto world, we are taught to verify everything. We check URLs, we look for the lock icon, and we double-check addresses. But when the malicious code is living inside the official site, the average user stands zero chance.

This is what I call the Trust Paradox. We build decentralized systems to avoid middleman risk, yet our primary interfaces—web browsers—rely entirely on a centralized web of trusted third-party scripts. If you are building a dApp, you need to ask yourself: how many external calls does my frontend make before a user can hit 'send'?

The Marketing vs. Security Conflict

There is a natural tension inside every startup between the marketing team and the engineering team. Marketing wants to move fast. They want to install Optimizely, VWO, and Hotjar to see what users are doing and improve conversion rates. Security wants to lock everything down and minimize the number of external scripts.

Usually, marketing wins because conversion equals revenue. But as this hack shows, the cost of that speed can be total brand destruction. If you are a founder, you cannot delegate the choice of third-party tools entirely to your growth team. There needs to be a technical audit of every single script that has 'write' access to your site's DOM.

  • Content Security Policy (CSP): Most builders treat CSP as an afterthought. It shouldn't be. A strict CSP can prevent scripts from communicating with unauthorized domains, making it much harder for a hijacked script to exfiltrate data.
  • Subresource Integrity (SRI): This allows browsers to verify that the files they fetch are delivered without unexpected manipulation. If the code changes, the browser refuses to load it.
  • Minimalism: If you don't absolutely need a third-party tool on a sensitive page (like a wallet dashboard or a checkout screen), don't put it there.

A New Standard for Builders

We need to move toward a 'zero trust' model for frontends. Just because a script comes from a multi-billion dollar company doesn't mean it's safe. In fact, large companies are often better targets for hackers because they provide a single point of failure for thousands of downstream victims.

I’ve seen too many founders ignore their frontend dependency tree while obsessed over their smart contract audits. Both matter. If your smart contract is a fortress but your website is a sieve, your users are still going to lose their money, and they are going to blame you, not Optimizely.

The reality is that we are over-leveraged on third-party trust. Every script you add is a debt you'll eventually have to pay in security audits or incident response.

The Bigger Picture

This Optimizely breach is a symptom of a larger shift. Hackers are realizing that attacking the infrastructure is more efficient than attacking the end-user. Why phish one person when you can change the clipboard of every visitor to a major news site or a crypto wallet provider?

As we integrate more AI-driven optimization tools that require even deeper access to our site's data and structure, this risk will only grow. Builders need to be skeptical. We need to stop treating third-party scripts as 'plug and play' and start treating them as potential vulnerabilities.

The tech stack of the future needs to be more modular and more isolated. We should be looking at ways to run these marketing tools in sandboxed environments where they can't touch sensitive data or modify critical UI elements like addresses and transaction buttons.

The Bottom Line

If you're running a platform where money moves, go check your script tags right now. Audit who has access to change your site's content on the fly. The Optimizely hack wasn't a fluke; it's a blueprint for the next wave of supply chain attacks. Don't let your growth tools be the reason your users get drained.


Read the original at Decrypt →

The Brief

Stay Updated on Cutting-Edge Tech

A six-minute morning dispatch on the markets and the technology shaping them.

Free. No spam. Unsubscribe anytime.

Write for STKR

Become a Contributor

Earn $STKR for published stories on markets, protocols, and culture.

  • Earn $STKR for every published piece
  • Editorial support from the STKR desk
  • Byline visibility across the network
  • First look at the upcoming creator program
Apply to Write

Keep reading

All stories

Comments

24 reader responses