A JavaScript supply-chain attack reached 178 websites and stole $7,000 in cryptocurrency.
JavaScript supply-chain attack via a trusted script hit 178 sites, swapped crypto wallets, stole $7,000, collected data, and targeted mobile devices.
In November, security researchers intercepted a JavaScript supply-chain attack that affected 178 sites and 188 scripts, using the trusted Optimizely script as the entry point. The malicious code reached the front ends of high-profile brands and organizations, including CNN, Zoom, Salesforce and GitLab, and also crypto-focused sites such as Ledger. Its main goal was to change cryptocurrency wallet addresses shown to users, send funds to attacker-controlled addresses, and take credit-card information, cookies and screenshots.

A trusted third-party script became the delivery path
Optimizely itself was not hacked. The reported findings said the trusted Optimizely script was abused to inject malicious JavaScript into websites that loaded it. That distinction matters: the attack did not require breaching each brand’s own infrastructure. Instead, it used a commonly embedded front-end script as a shared delivery channel. Because JavaScript runs inside a visitor’s browser, the injected code could alter the page the user saw while preserving the look of the legitimate site.
Researchers said the malicious script was active for about 17 hours. During that window, it could target browser extension wallets and other crypto interfaces that users interacted with directly on the web. The attack also attempted to deploy the Coruna and DarkSword exploit kits against vulnerable iPhones and iPads, expanding its scope beyond wallet address replacement.
The timing also overlapped with warnings from authorities about potential AI-assisted supply-chain attacks, a category of threats that often tries to gain access to crypto wallets. The reported attack itself was described as a JavaScript supply-chain compromise, not as a confirmed AI-assisted operation.
The payload focused on wallet swaps and data theft
The core task of the injected JavaScript was to copy wallet addresses near identifying words such as “send” or “deposit” and swap them for hacker addresses. A user who intended to transfer crypto could see a familiar payment interface and a plausible destination, but the displayed address could be changed by the script before the transaction was completed.
The script also collected sensitive browsing and payment data. The reported theft categories included credit card information, cookies and screenshots. Cookies can expose session state, and screenshots can reveal what a user saw on the page, including wallet interfaces or payment forms. The Coruna and DarkSword attempts pointed to a broader malware objective on mobile Apple devices.
The attack reached crypto front ends beyond Ledger. The affected crypto-focused sites included IG, OANDA (Coinpass), Interactive Investor, TMS Brokers and Betashares. The reach was large partly because the malicious script was attached to leading media sites, service hubs and specialized brand front ends, not only to crypto services.
Crypto users faced a small measured loss but a larger trust risk
The attack arrived while the crypto market was still recovering from an October loss of $6.4 billion at Binance. In November to date, crypto projects were reported to have been exploited for around $60 million, a relatively slow month after a series of high-profile hacks in 2026. The recent wave of hacks had used almost all vectors, affecting both centralized and decentralized tools.
Ledger’s front end was among the affected sites and may have had the biggest potential to target users with more significant crypto holdings. The JavaScript attack became active just after Ledger urged users to visit only the official website when interacting with the Ledger Wallet app. That warning placed the incident close to a period when users were already being asked to verify web addresses carefully.
It also came weeks after Ledger users lost $86 million through compromised physical wallet devices, as Cryptopolitan recently reported. The new incident added a browser-side risk: even if a user was on a site they believed to be legitimate, a compromised third-party script could alter the transaction interface.
Still, the immediate crypto theft was small. Researchers noted that supply-chain attacks can affect millions of users but are usually not a strong vector for crypto theft because success depends on the available interactive wallets and the exact page the user visits. In the day after the attack, only an estimated $7,000 in crypto was stolen, and the wallets received a series of small transactions. The limited amount did not make the incident minor; it showed how trust in mainstream crypto front ends can be undermined even when the measured loss is low.
Researchers advised users and sites to act
Certik said the attack was already inactive as of November 17. Despite that, researchers urged users to check their wallets for suspicious transactions, especially if they had interacted with affected front ends while the script was active.
For iOS users, Certik suggested updating to new versions to avoid other malware vulnerabilities. For website operators, the advice was to revise how they use Optimizely and restrict permissions on running certain JavaScripts. Researchers also warned users to be suspicious of crypto front ends until the issue was resolved.
The pattern echoed an earlier package-manager attack
This was not the first time JavaScript had been weaponized through a shared development channel. Earlier, JavaScript had been exploited indirectly through the compromised Node Package Manager in a widespread August attack. That case affected millions of users, but the crypto losses were minimal. The comparison reinforces a recurring point: supply-chain attacks can spread widely because they reuse trusted code paths, yet direct crypto theft can remain small if the malicious script does not encounter the right wallet interface at the right moment.
For readers, the practical takeaway is narrower than the headline scale. The attack did not require users to install software or sign a fake login page. It used a normal web script to change what a browser showed. That makes checking final wallet addresses, limiting exposure in browser extension wallets, keeping devices updated and reviewing recent transactions more important than assuming a familiar brand’s site is automatically safe.
This article is independent informational reporting and is not an official Kraken communication. It is not investment advice. Cryptocurrency transactions and online wallet use carry security and financial risk.
