Optimizely Supply-Chain Alert: How Clipboard Hijackers Swap Crypto Addresses
Malicious code injected into Optimizely scripts swapped copied Bitcoin, Ethereum, and Solana addresses across ~180 websites. Learn how clipboard hijacking works and how to stop it.
A major third-party JavaScript supply-chain incident involving Optimizely—a widely used web experimentation and A/B testing script—affected nearly 180 organization websites, including major technology and crypto platforms. Security researchers revealed that injected malicious code silently monitored browser clipboards and swapped copied Bitcoin, Ethereum, and Solana wallet addresses to attacker-controlled wallets the instant a user hit paste.
Even if you copied an address straight from an official website or your own wallet, a compromised browser script or clipboard hijacker can alter that string in milliseconds. Here is how web clipboard hijacking differs from address poisoning and how to defeat both permanently.
What Is a Crypto Clipboard Hijacker?
A crypto clipboard hijacker is malicious code—running either inside a compromised website script, a rogue browser extension, or local malware—that detects when you copy a text string matching a cryptocurrency address pattern (such as 0x... for Ethereum/BNB Chain, bc1... for Bitcoin, or a Base58 string for Solana) and silently replaces it with the attacker’s own address.
Because most users visually check addresses when copying rather than after pasting, victims often confirm transfers without realizing the destination string changed in transit.
Clipboard Hijacking vs. Address Poisoning
Both scams exploit human copy-paste habits, yet they attack at completely different steps:
| Attack Type | Where the Swap Happens | Can a Website Script Cause It? | Primary Defense |
|---|---|---|---|
| Clipboard Hijacking (Supply-Chain / Malware) | Intercepts the copy or paste event inside your browser or OS clipboard. |
Yes (as seen in third-party script injections like the Optimizely incident). | Verify the pasted address after pasting and again on a hardware wallet screen. |
| Address Poisoning | Plants a lookalike 0-value transfer inside your wallet’s public transaction history. |
No—operates purely on-chain via public transactions. | Never copy addresses from transaction history; use saved contacts. See our Address Poisoning Guide. |
5 Habits That Block Clipboard Hijacking Completely
- Always Verify AFTER Pasting—Never Before: Checking an address when you highlight it proves nothing if a script swaps it on
Ctrl+V. Check the first 6 characters, 4–6 characters in the middle, and the last 6 characters inside the final destination field right before confirming. - Confirm the Full Address on a Hardware Wallet Screen: Even if your browser is completely compromised by a malicious script or extension, a dedicated hardware wallet displays the true on-chain recipient address on its isolated physical screen. Read our Hot Wallets vs. Cold Wallets guide.
- Send a Small Test Transaction Before Moving Larger Sums: For unfamiliar deposit addresses or larger transfers, send a tiny test amount first, verify it lands on the destination block explorer (like BscScan or Etherscan), and only then send the remainder.
- Use a Clean, Minimal Browser Profile for Crypto: Keep your Web3 wallet extension inside a dedicated browser profile with zero unnecessary shopping, coupon, or productivity extensions. Compromised browser extensions are one of the most common vectors for clipboard swapping.
- Audit Permissions If You Visited an Affected Site: Clipboard hijackers only steal funds if you actually confirm a transfer to the swapped address—they cannot silently move coins on their own. Still, if you connected a wallet to any site impacted by a third-party script breach, review active spending allowances with our token approval revocation guide.
Common Search Questions Answered (FAQ)
Why do hackers target third-party tools like Optimizely instead of hacking a crypto exchange directly?
Core exchange infrastructure and hardware wallets are heavily hardened. By compromising a single third-party analytics, chat, or A/B-testing script embedded across hundreds of websites, attackers gain instant browser-level execution across every visitor’s page at once.
Can an antivirus or ad blocker stop browser clipboard hijacking?
Reputable script and tracker blockers can block third-party marketing and A/B-testing scripts from loading in the first place, shrinking your browser’s attack surface. However, no blocker catches 100% of supply-chain compromises—manual post-paste verification and hardware-screen confirmation remain essential.
What should I do if I already sent crypto to a hijacked address?
Blockchain transactions are irreversible once confirmed. Stop using that browser profile immediately, scan your device for malicious extensions or malware, save the transaction hash from BscScan or Etherscan for law enforcement or exchange fraud reports, and never pay “crypto recovery” services promising to reverse confirmed transfers.