On November 16, people who visited Ledger's website could copy a crypto address from the page and paste someone else's. Ledger's servers weren't breached. Neither were the servers of HSBC, the BBC, Salesforce, Zoom or IKEA, which had the same problem that day. The code came from Optimizely, the A/B testing tool all of them load on their pages.
I write a lot here about what crypto apps should check before a user presses "Send". This incident is a good reminder that the page itself can be the weak point, even when your own code is fine. If you build anything that shows a wallet address, a payment form or a withdrawal screen, it's worth going through what happened and what it changes.
How Optimizely runs on a page
Optimizely Web Experimentation works the way most A/B testing tools do. You add one script tag to your site, and that snippet loads on every page.…