Need help? Support
BITCOIN
Tether Dominance USDT.D

JavaScript exploit steals crypto on major websites

Published 606 words 3 min read

TLDR

A recent supply-chain attack injected malicious JavaScript into 178 major websites and silently stole crypto by swapping wallet addresses and skimming payment data.

  1. Hackers abused Optimizelys web testing platform to push crypto-stealing code into scripts used by brands like CNN, BBC, Zoom, HSBC and Ledger.
  2. The code scanned pages and clipboard contents for wallet addresses on major chains, replacing them with attacker addresses and also harvesting card data and cookies.
  3. Optimizely and researchers say most malicious scripts are now cleaned, but the incident exposes a growing risk from third party browser scripts for all crypto users.

Deep Dive

1. Scope Of The Attack

Security firms Report URI and StepSecurity describe a campaign, dubbed OPTIMJACK, where attackers compromised Optimizelys Web Experimentation platform and inserted malicious code into customer projects, which 178 organizations then served to visitors through trusted scripts loaded from Optimizelys CDN. Researchers found 188 infected snippets among 1,611 checked, and warn the true number could be higher in their analysis.

High profile sites reportedly affected include Zoom, BBC, CNN, Fox News, Salesforce, HSBC, Equifax and hardware wallet maker Ledger, though the companies own servers were not directly breached. Early tracing shows roughly 6,600 to 7,000 dollars worth of crypto reaching attacker linked wallets on the first day, but card and data theft impacts are still unclear.

Optimizely has confirmed a vulnerability in its Experimentation account signup flow, said it blocked the path, removed injected code, revoked tokens and notified customers, and researchers report that almost all infected scripts have now been cleaned.

2. How The Code Steals Crypto And Data

The malicious JavaScript acts as a clipper and skimmer. It detects valid wallet addresses for Bitcoin, Ethereum and EVM chains, Tron, Solana, Litecoin, Toncoin, Bitcoin Cash, Dogecoin and some stablecoins, and replaces any address shown on page or copied to the clipboard with attacker controlled destinations according to detailed technical writeups.

The same payload can:

  1. Read card numbers, expiry dates and CVV codes from some site owned payment forms.
  2. Steal cookies and screenshots that may expose login sessions or sensitive data.
  3. Attempt iOS exploit chains against older iPhone and iPad software.

Users do not need to install any extension or app. Simply visiting an affected site and copying an address from it during the incident window could redirect funds.

3. Risk Management And What To Watch

For individual crypto users, the biggest risk is silent address swapping when you copy or trust a wallet address shown in a browser. CMCs own explainer on clipboard attacks urges checking the entire destination address, preferably on a hardware wallet screen, and avoiding copying from recent transaction history or untrusted web pages in its guidance on OPTIMJACK and address swap malware.

If you visited any listed sites on the attack date and made transfers, security researchers advise reviewing those transactions against your intended recipient addresses and monitoring card accounts for unusual charges. At a market structure level, this is a clear reminder that even reputable exchanges and wallet brands can be exposed through third party scripts, so firms are likely to revisit their use of external analytics and A B testing libraries.

What this means

Treat any web page supplied address or copied text as untrusted, verify recipients out of band when possible, and favor workflows that surface the final destination address on a secure device before you send.

Conclusion

This JavaScript exploit did not crack wallets directly but hijacked the browser supply chain, proving that trusted site integrations can silently redirect crypto and skim financial data. Losses so far appear limited in dollar terms, yet the incident highlights that both everyday users and major crypto businesses need stronger controls on third party scripts and more disciplined address verification habits whenever funds move.

Educational information only. Crypto markets are volatile and this is not financial advice.


Top