Optimizely’s A/B-Testing Code Is Loading a Card Skimmer on Major Websites
The A/B-testing script that Optimizely serves to big websites is loading malware that steals card details and swaps cryptocurrency addresses.
On Monday evening we downloaded the Optimizely files used by ten well-known websites. Six of them contained an added line that pulls in a script from a domain registered at 05:23 UTC that morning: Optimizely’s own website, Virgin Media, O2, TalkTalk, NOW TV and CNN. The four others were clean.
The problem first surfaced at 20:27 UTC, when Neil Craig, a lead architect at the BBC, warned on Mastodon that some of Optimizely’s JavaScript “now includes malware” and credited security researcher Scott Helme with spotting it. When we published, it had not been reported by any major outlet, and Optimizely’s status page listed only an unrelated outage.
If you bought something or signed in on one of these sites on 16 November, read chapter 4.
What We Found
Optimizely Web Experimentation works through one JavaScript file per customer, served from cdn.optimizely.com. The file holds the customer’s tests plus any custom code the customer adds as “Project JavaScript”, and it runs on every page where the site includes it.
In the infected files, the last line of that custom code is the same one-liner. It creates a script tag that loads https://1688360.cc/track.js. CNN’s file has a second copy that hides the address in Base64, and TalkTalk’s file carries a longer loader with extra code built in. According to the domain registry data, 1688360.cc was registered on 16 November at 05:23 UTC.
The pattern says something about how far this reaches. The infected files were last rebuilt at different times through the day, from 10:52 UTC (NOW TV) to 20:32 UTC (TalkTalk). Yet American Eagle’s file, rebuilt at 19:43 UTC, was clean, and so were Sky’s and Channel 4’s. So it isn’t every Optimizely customer, and we can’t tell from the outside how the line got into these six. Somebody with write access to Optimizely’s systems, or to these customers’ accounts, put it there; which of the two it was is for Optimizely to say.
What the Malicious Script Does
We downloaded track.js and read it as text; we didn’t run it. It is about 30 KB of plain, commented JavaScript, and it does three things in the visitor’s browser.
It steals payment card details. It watches every form the page submits and every POST request the page sends, looks for a card number that passes the checksum used by real cards, plus an expiry date and a security code, and sends them to 1688360.cc/card.php. Card fields that a payment provider shows inside its own frame (Stripe, Adyen and similar) are a separate page the script can’t read, so by our reading the risk is highest where a site collects card numbers in its own form.
It swaps cryptocurrency addresses. Every 50 milliseconds it scans the page, input fields, links and the clipboard for wallet addresses (Bitcoin, Ethereum, Tron, Solana, Litecoin, Bitcoin Cash, Dogecoin and TON) and replaces them with the attacker’s. When you copy an address, the one that lands in your clipboard is theirs. The first time it swaps something, it takes a screenshot of the page and sends it to 1688360.cc/hit.php together with the page address and the site’s cookies.
It loads more code on iPhones and iPads. On Apple mobile devices it adds scripts from two other domains, one of them registered at 16:38 UTC on Monday. On devices running iOS or iPadOS 18.6 or older it also adds an invisible frame that loads further code. We didn’t analyse that part. Aiming at older iOS versions only is typical of the iPhone exploit kits behind the hacked ads on Dutch news sites we reported on this weekend, but that link is our reading, not something we have confirmed.
Who Is Affected
Anyone who opened a page with an infected Optimizely file while it was live. We found the loader on the sites in the table above, and we checked only ten. Other Optimizely customers may well carry it too.
We can’t say from when. The domain the script loads didn’t exist before 05:23 UTC on 16 November, so earlier visits can’t have reached it. NOW TV’s file, rebuilt at 10:52 UTC, already contained the line.
What You Should Do
If you paid by card on one of these sites on 16 November, call your bank or card issuer, tell them the card may have been skimmed, and ask for a new card. Until it arrives, check your statement for small test charges, which often come first.
If you sent cryptocurrency after copying an address on a website that day, compare the address in your wallet with the one the recipient gave you through another channel, such as an email or chat. A transaction to the wrong address can’t be reversed.
If you were signed in to one of these sites, sign out and sign in again. On most sites that ends the old session, so stolen cookies stop working. Changing your password does no harm either.
On an iPhone or iPad, install the latest iOS or iPadOS update (Settings › General › Software Update). The extra code goes for versions up to 18.6 only.
What Site Owners Should Do
If your site uses Optimizely Web Experimentation, open your project’s JavaScript settings and search your snippet for 1688360.cc. Until Optimizely explains what happened, the safer move is to take the snippet off the site, starting with checkout and login pages. You can also block the domains in your Content Security Policy: 1688360.cc, 5vobauua3ojpklx.icu, eil786npto9u5bq.icu and je4ft3gn8vxudum.icu.
If card numbers pass through your own pages, this is a possible card-data breach, and your payment processor will want to hear about it. PCI DSS has required merchants since March 2025 to keep an inventory of every script on their payment pages and to watch them for unauthorised changes. Optimizely files are exactly the sort of script those rules were written for.
Every third-party script on a checkout page is a spare key to the shop. Most days nobody tries it.
What We Don't Know Yet
We don’t know how the line got into these files, whether Optimizely’s systems or its customers’ accounts were breached, how many sites carried it, or when it will be gone.
We’re contacting Optimizely, Virgin Media O2, TalkTalk, Sky (which owns NOW TV) and CNN for comment and will update this article with their replies.
Our Mission
We believe security online security matters and its our mission to make it a safer place.