A website testing tool served a card skimmer on Vodafone, HSBC Australia and Rest Super. I counted what else runs on their homepages.

The Optimizely hack put a card skimmer on Vodafone, HSBC Australia and Rest Super. What CSP and SRI would have done, plus a homepage tag count.

Three's easy to count. Twenty-five isn't.

One key tag for every third-party script host on each homepage, from a single load of each page on Sunday 22 November. Treat the numbers as a floor.
  • vodafone.com.au: 13 third-party script hosts.
  • tpg.com.au: 11 third-party script hosts, one of them is sister brand vodafone.com.au.
  • rest.com.au: 20 third-party script hosts.
  • betashares.com.au: 21 third-party script hosts.
  • compareclub.com.au: 25 third-party script hosts, Optimizely is one of them.
  • ai-checker.webcoda.com.au (this site): 3 third-party script hosts.
  • One of TPG’s hosts is its sister brand, vodafone.com.au
  • Compare Club has Optimizely back on its homepage
See the full table and how the count was done

Some time on Monday afternoon or evening, Sydney time, the code on Vodafone's website changed. So did the code on HSBC Australia's, Rest Super's and Betashares'. Nobody at those companies touched a thing, and nobody broke into their servers.

What changed was a tag: the Optimizely Web Experimentation snippet, which marketing teams use to run A/B tests. Someone found a way to act as an administrator on customers' Optimizely accounts and paste in their own code. Optimizely's CDN then served it, with a perfectly valid certificate, to every visitor. It was built to skim cards and swap crypto wallet addresses.

Scott Helme's team at Report URI fetched 1,611 distinct Optimizely snippets and found the malicious code in 188 of them, belonging to 178 organisations (Report URI, 2026). Nine of the sites named so far are Australian.

The more useful question for anyone who runs a website: how many tags like that are on yours, and what would have stopped this one? I counted on five of the affected Australian brands' homepages, then on ours, which went worse than I'd expected.

A contactless card reader on a wooden shop counter at night, beside a folded paper receipt and a small potted plant, lit by a single pendant lamp, with a blurred shopfront window behind.

How a signup bug became a card skimmer

Optimizely's interim report says the attacker exploited "a vulnerability in the Optimizely Web Experimentation account signup flow" and used it "to impersonate users and insert malicious JavaScript into the Project JavaScript of some customer projects" (Optimizely, 2026). StepSecurity's description of that field is the clearest I've read: it's "a custom-code field that runs on every page" (StepSecurity, 2026). Every page. The checkout too, if the snippet's on it.

iTnews, citing Optimizely's interim report, says the attacker started creating accounts at 11:37am AEDT and tried variations on employee names "up to thousands of times" per customer (iTnews, 2026).

Optimizely is firm that "This was not a credentials breach." True, but the flaw let the attacker act as administrators without any password, which isn't much comfort.

Report URI says the payload swapped crypto wallet addresses, skimmed card numbers, expiry dates and CVVs from the site's own forms, grabbed cookies not marked HttpOnly, took screenshots of pages where it swapped an address next to wallet or payment wording, and sent iPhones and iPads to the Coruna and DarkSword exploit kits. It was rebuilt 26 times that day. Brian Krebs's headline nailed it: "Attackers Used Optimizely to A/B Test Malware on Top Websites" (Krebs on Security, 2026). Optimizely's own description is narrower: the script "was intended to obtain payment information and crypto activity only". I'm not going to referee.

Even the start is disputed: Report URI first saw attacker code loading through the BBC's snippet at 3:21pm Monday AEDT, while Optimizely says the first malicious code was written at 6:51pm. Optimizely detected the activity at 12:34am Tuesday, closed the hole at 3:10am, and had the code out of every affected project by 9:24am. That's about 14 and a half hours of exposure on Optimizely's clock, and closer to 17 for most sites on Report URI's.

Two clocks for one attack

Monday 16 November
Tuesday 17 November
  1. 11:37amThe attacker starts creating accounts
  2. 3:21pmReport URI first sees attacker code, loading through the BBC’s snippet
  3. 6:51pmOptimizely says the first malicious code was written
  4. 12:34amOptimizely detects the activity
  5. 3:10amOptimizely closes the hole
  6. 9:24amThe code is out of every affected project
  • The disputed start: Report URI saw attacker code from 3:21pm. On its clock, closer to 17 hours for most sites
  • On Optimizely’s clock: about 14 and a half hours
Monday 16 to Tuesday 17 November, Sydney time (AEDT). Report URI and Optimizely disagree on when it started.

The money's small. Helme traced about US$7,000 in crypto to the attacker's wallets (iTnews converted the US$7,040 figure to A$10,464), and couldn't tell how many cards or cookies were taken.

To be fair to Optimizely, it moved fast once it knew, though by its own clock it took almost six hours to notice. It published a customer report within a day and a status page saying fewer than 5% of customers were affected (Optimizely status page, 2026). Mandiant's investigating, per iTnews. There's no final root cause yet.

Nine Australian names

iTnews named the Australian sites: Vodafone Australia, TPG Telecom, HSBC Australia, Rest Super, Betashares, Compare Club, Energy Scout, O'Brien Glass and Levi's Australia. Globally, BleepingComputer found Zoom, GitLab, the BBC, CNN, Salesforce and Optimizely's own site (BleepingComputer, 2026), and CSO added IKEA (CSO Online, 2026).

TPG Telecom, which owns Vodafone, told iTnews it had paused Optimizely as a precaution, that its security teams had found no evidence Vodafone systems were compromised, and that "The affected Vodafone pages did not contain payment, transaction or credential functions". That last line matters. A skimmer on a page with no card form has nothing to skim. Smartsheet said much the same: only some "public marketing and Help Center web pages" used Optimizely, and "the Smartsheet application and customer data were not impacted" (Smartsheet, 2026).

iTnews understands HSBC "has disabled Optimizely across all its websites globally as a precaution". HSBC declined to comment on the record. ChannelNews reported HSBC saying the scripts weren't active on its websites (ChannelNews, 2026). Rest didn't respond to iTnews before publication.

Some overseas brands went further. Equifax told Newsweek it had "ceased our use of Optimizely", and Salesforce disabled Optimizely scripts across its preview and production instances (Newsweek, 2026).

No Australian victims have been confirmed. I couldn't find an ACSC advisory on it as at 22 November. One correction to the consumer advice: iTnews passed on Helme's tip to watch your statements if you paid by card on an affected site "on 16 November". That's right in UTC. In Sydney the window ran into Tuesday morning, so check Monday 16 and Tuesday 17 November.

The Greens' David Shoebridge put the politics in one line: "Companies should be responsible for every piece of code on their checkout pages" (Cyber Daily, 2026).

iTnews compared this to Browsealoud in 2018, when a compromised accessibility plugin served a crypto miner to more than 4,000 sites, "among them the Victorian Parliament and Queensland's legislation site". Report URI also says "the same actor's injector" first turned up on Turkish sites on 17 September, and in the days before this attack it went in through other vendors' tags, Kissmetrics, StorifyMe and Minute Media, on sites including smh.com.au. So it isn't only an Optimizely problem. It's a tag problem.

A disclosure: Optimizely also sells a CMS (the old Episerver), which competes with the Kentico and Umbraco sites my team builds. Factor that in. The flaw was Optimizely's, but the lesson applies to every tag on every CMS, including the ones we ship.

Every tag gets the keys

Here's what plenty of site owners don't realise: a script on your page runs with the same access as your own code. It can read your enquiry form, rewrite your checkout and watch the clipboard. There's no such thing as "testing permissions" for a testing tool. They all get the keys.

Justin Moore from Arctic Wolf told Cyber Daily: "If a third-party script can execute on your website, it is now part of your security perimeter."

How big is that perimeter? Here's what I counted on Sunday 22 November.

SiteThird-party script hostsSeparate domainsOptimizely on the homepage on 22/11?
vodafone.com.au1313No
tpg.com.au11 (one is sister brand vodafone.com.au)10No
rest.com.au2016No
betashares.com.au2118No
compareclub.com.au2521Yes
ai-checker.webcoda.com.au (this site)32No

How I did it: one headless Chrome load of each homepage from Sydney, a scroll to wake lazy tags, about 30 seconds on the page, no cookie banner clicked, no forms, no logins. I counted distinct hostnames serving JavaScript from outside the brand's own domain. Limits: homepages only, not checkouts; one load, and counts shift; tags waiting on consent aren't counted; and all these sites have changed their setup since the incident. Treat the numbers as a floor. (Compare Club has Optimizely back on, which Optimizely now says is safe.)

What are they? Mostly marketing and analytics: Google, Meta, TikTok, Microsoft, LinkedIn, Taboola, Hotjar, Intercom, New Relic and friends. None of that's unusual for a big Australian brand. That's the point.

Then I ran it on this site, half expecting a smug little "2". We load Google's tag (GA4) and Microsoft Clarity, both held back until the visitor interacts or 20 seconds pass, and our Content Security Policy is enforced.

It's three. The Clarity tag pulls in a second script from scripts.clarity.ms. Our policy isn't much to be smug about, either: its script-src allows 'unsafe-inline' and 'unsafe-eval', the setting that hurt HSBC, as you'll see, and it has no reporting endpoint.

A CSP without reporting fails silently in both directions. It blocks things you wanted and lets through things you didn't, and you hear about neither.

Would a Content Security Policy have stopped it?

Sometimes. Optimizely's own report says "Sites with a strong Content Security Policy (CSP) were protected." The word that matters there is "strong".

The usual way to add a tag to a CSP is to allow its domain. Report URI's verdict: "Allowing cdn.optimizely.com was never going to help." The code came from the trusted host itself.

What did help was a tight script-src (no new script hosts, no eval) and a tight connect-src (nowhere to send stolen data). Report URI crawled 256 affected organisations' hosts and checked their policies against what the payload needed:

  • no CSP at all: 68

  • CSP allowed the payload and the data theft: 50

  • payload ran, but connect-src blocked the theft (the wallet swapping still worked): 17

  • payload blocked: 24, or 15%

One square per site whose policy Report URI could assess.

Those four add up to 159, not 256, so read it as 24 of the sites Report URI could assess.

Two settings let the attack through, and both are common.

The first is 'strict-dynamic'. It's a mainstream, modern pattern, the kind I'd normally recommend. It says: trust the scripts I've explicitly approved, and trust whatever they load. Report URI's summary: "any script the trusted Optimizely snippet inserts is trusted too." Optimizely's recommended simplified policy is script-src 'nonce-[your-nonce-value]' 'strict-dynamic' (Optimizely docs, 2026). Not a scandal, just what strict-dynamic means.

The second is 'unsafe-eval'. The payload had a backup copy that ran through eval, and it worked "even where track.js was blocked. That is what happened at HSBC. Its CSP blocked track.js and the data theft, but the inline copy still ran." Report URI says Optimizely's documentation tells customers to allow it, so I checked. An archived copy from October shows Optimizely's sample policy included 'unsafe-eval' (Wayback Machine, 2026). The current version doesn't, though the page still says some features, like audiences with custom JavaScript conditions, need it.

Then there's report-only mode, which blocks nothing and gets dismissed for it. Helme argues back that report-only is how Report URI spotted the infected script in the first place (Scott Helme, 2026). Report URI sells CSP reporting, so he's got a stake, but his numbers are the best public data around. Frank Dickson of Dickson Research gave CSO the same advice: start in report-only, then tighten.

On the five homepages I checked, none enforced a script policy. Three sent a report-only policy with script rules; the other two had none. I'm not naming which is which: they were the victims, and report-only is the first step Helme and Dickson both recommend.

Why Subresource Integrity doesn't fit

Subresource Integrity is the textbook answer to "a third-party script changed". You put a hash of the file in your script tag, and the browser refuses to run the file if it no longer matches.

In 2018 that was exactly right. Browsealoud was a static file, and Helme wrote at the time that with SRI "this attack would have been completely neutralised" (Scott Helme, 2018).

A testing tag isn't a static file. Optimizely's own docs split the snippet into a static library and a dynamic part: "Your specific experiment configurations, variations, custom code, and targeting rules." Then the honest bit: "You cannot check the dynamic code effectively with a simple hash comparison because the code changes constantly." Instead, it says, "you must manage changes to the dynamic code through internal governance processes" (Optimizely docs, 2026).

Mark Stott, a Platinum Optimizely MVP, put it more bluntly: "An Optimizely snippet changes every time an experiment is published, so pinning it to a fixed hash is not practical" (Optimizely World, 2026).

So SRI's still right for a jQuery file off a public CDN, and wrong for a tag whose whole job is to change whenever marketing hits publish.

Who can publish code to your site without a deploy?

This was an access-control failure at the vendor. Flip it around and every site owner faces the same question: who can put code on your site without a deploy? Usually it's the testing tool's custom-code fields, the tag manager and everyone with publish rights in it, the chat widget, the consent tool, and any "paste your script here" box in the CMS.

Saturday's piece asked the same question about AI coding agents, after malware on GitHub told them to run a script without reading it:

Stott's advice applies to all of them: "Review which users, API tokens and integrations have write access to your projects, and rotate credentials where needed."

The most practical line in the saga is Optimizely's action 8: "Remove the Optimizely Web Experimentation snippet from any pages that handle sensitive data input, including payment or crypto transfers, and that you are NOT running experiments on." That's the vendor saying its own tag doesn't belong on your payment page unless it's earning its keep. Apply that to every tag.

The other line that matters: cards typed into a payment provider's hosted iframe were out of reach. A script on your page can't read fields inside Stripe's or Adyen's frame.

The card industry already asks for this. PCI DSS v4.0.1 (requirements 6.4.3 and 11.6.1) wants a script inventory on payment pages and change detection, and merchants using a provider's iframe must confirm "that their site is not susceptible to attacks from scripts" (PCI SSC, 2025).

The case against this piece

The strongest objection goes after my own advice. These brands knew Optimizely was on their sites; marketing put it there. Counting tags finds the ones you forgot. This attack came through one nobody forgot, broken by a signup bug at the vendor that no customer could have audited. Add about US$7,000 traced, no confirmed Australian card victims, strict CSP that breaks marketing tools, and an agency counting a competitor's customers' scripts, and it looks like point-scoring.

Most of that's fair. A list wouldn't have stopped this, the bug was Optimizely's to prevent, and a strict policy on a marketing-heavy site is hard. (Marketing isn't wrong, either. Those tags are how they get measured.)

But look at Optimizely's own action list. Step two is to confirm which pages the snippet was running on; step three is to review your CSP reports. The defences that worked (a tight connect-src, card fields in the provider's iframe, no testing tag on the payment page) all start with knowing which tag sits on which page and what it needs. That costs an afternoon, not a project. The next tag that changes might not be this clumsy or this cheap. My own site's row is in the table: I'm not exempting myself.

What I'd do this week

  1. Count your tags. Open the network panel on the homepage and the checkout and write down every third-party script host.

  2. Give each one an owner, and know who can publish to it.

  3. Clear payment and login pages of testing and marketing tags unless a test is running there.

  4. Keep card entry in your payment provider's hosted fields or iframe, not your own form.

  5. Turn on a report-only CSP with a reporting endpoint, then tighten script-src and connect-src and avoid 'unsafe-eval' where you can.

  6. If you ran Optimizely Web Experimentation, follow its action list for Monday 16 to Tuesday 17 November (Sydney time) and check card and crypto transactions from then.

Helme's line is the one I keep coming back to: "If you don't know what code you're running on your website right now, take the first step and find out." I thought I knew. I'd have said two, and it's three. Three's easy to count. Twenty-five isn't.

Key Takeaways

  • An Optimizely signup flaw let an attacker plant a card skimmer in customers' Project JavaScript: 188 of 1,611 snippets, 178 organisations, nine of them Australian.

  • Nobody hacked Vodafone, HSBC Australia or Rest Super. A trusted tag changed.

  • Five affected Australian homepages I checked load 11 to 25 third-party script hosts each. None enforced a script policy.

  • Only a strict CSP stopped the payload (24 of the sites Report URI could assess). 'strict-dynamic' and 'unsafe-eval' let it through.

  • Subresource Integrity can't cover a tag that changes by design. Fewer tags on payment pages, card fields in the provider's iframe and knowing who can publish code help most.

Frequently asked questions

What happened in the Optimizely hack?

On Monday 16 November 2026 (Sydney time), an attacker exploited a flaw in the account signup flow of Optimizely Web Experimentation, a website A/B testing tool. Optimizely says the flaw let them act as administrator users without their passwords and insert malicious JavaScript into the Project JavaScript of some customer projects. Optimizely's CDN then served that code to visitors of customers' websites. Report URI found the code in 188 of 1,611 Optimizely snippets it checked, belonging to 178 organisations. The code skimmed card details typed into sites' own forms and swapped cryptocurrency wallet addresses, and Report URI says it also took some cookies and screenshots and sent iPhones and iPads to exploit kits. Optimizely says it closed the flaw within three hours of detecting it and removed the code from all affected projects by 22:24 UTC that day.

Which Australian websites were affected?

iTnews named nine Australian sites: Vodafone Australia, TPG Telecom, HSBC Australia, Rest Super, Betashares, Compare Club, Energy Scout, O'Brien Glass and Levi's Australia. TPG Telecom, which owns Vodafone, told iTnews it had found no evidence that Vodafone systems were compromised and that the affected Vodafone pages did not contain payment, transaction or credential functions. iTnews understands HSBC disabled Optimizely across its websites globally. No Australian victims have been confirmed publicly.

I bought something on one of those sites. What should I do?

Check your card statements for transactions made on an affected site on Monday 16 or Tuesday 17 November, Sydney time. iTnews reported advice to check statements for 16 November, but the attack window ran from Monday afternoon into Tuesday morning in Australian time. Tell your bank about anything you don't recognise. If you use an iPhone or iPad, Scott Helme advised updating to iOS 18.7.3, iOS 26.3 or later.

Would a Content Security Policy have stopped it?

Only a strict one. Optimizely's own report says sites with a strong Content Security Policy were protected. Of the affected sites Report URI could assess, 24 had a policy that blocked the payload, 17 blocked the data theft but not the wallet-address swapping, 50 allowed everything and 68 had no policy at all. Allowing Optimizely's domain didn't help, because the malicious code came from that domain. Policies using 'strict-dynamic' trusted whatever the Optimizely snippet loaded, and 'unsafe-eval' let a backup copy of the code run even where the main file was blocked.

Why doesn't Subresource Integrity protect tags like Optimizely?

Subresource Integrity makes the browser check a script against a fixed hash and refuse to run it if it has changed. That works for static library files, but a testing tag changes every time someone publishes an experiment. Optimizely's own documentation says the dynamic part of its snippet cannot be checked with a simple hash because the code changes constantly, so changes have to be managed through internal governance instead.

Sources

Show all 19 sources
  1. Optimizely. "Security Incident Initial Report for Customers, Optimizely Web Experimentation (corrected)." 17/11/2026, corrected 18/11/2026, shortened 20/11/2026. https://pages.optimizely.com/rs/947-RKE-048/images/Security%20Incident%20Report%20-%20Optimizely%20Web%20Experimentation%20-%20Nov%2017%202026.pdf (opens in a new tab)
  2. Optimizely. "Web Experimentation Security Incident." Status page, updated 18/11/2026. https://status.optimizely.com/incidents/ftw0fh9wx43z (opens in a new tab)
  3. Juha Saarinen, iTnews. "Hijacked website testing tool plants card skimmer on Australian brands' sites." 18/11/2026. https://www.itnews.com.au/news/hijacked-website-testing-tool-plants-card-skimmer-on-australian-brands-sites-630407 (opens in a new tab)
  4. Scott Helme, Report URI. "World's Largest Brands Infected With Malware Via Optimizely." 16/11/2026, updated 17/11/2026. https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/ (opens in a new tab)
  5. Scott Helme. "Reflecting on the Optimizely Incident and Why We Keep Failing." 17/11/2026. https://scotthelme.co.uk/reflecting-on-the-optimizely-incident-and-why-we-keep-failing/ (opens in a new tab)
  6. Scott Helme. "Protect your site from Cryptojacking with CSP + SRI." 11/02/2018. https://scotthelme.co.uk/protect-site-from-cryptojacking-csp-sri/ (opens in a new tab)
  7. Optimizely. "Update your site's Content Security Policies (CSP)." Web Experimentation documentation. Accessed 22/11/2026. https://docs.optimizely.com/web-experimentation/docs/update-your-site-s-content-security-policies-csp (opens in a new tab)
  8. Internet Archive Wayback Machine. Snapshot of Optimizely's CSP documentation page. 09/10/2026. http://web.archive.org/web/20261009045448/https://docs.optimizely.com/web-experimentation/docs/update-your-site-s-content-security-policies-csp (opens in a new tab)
  9. Optimizely. "Snippet integrity check with Cloudflare." Web Experimentation documentation. 23/07/2026. https://docs.optimizely.com/web-experimentation/docs/snippet-integrity-check-with-cloudflare (opens in a new tab)
  10. Mark Stott, Optimizely World. "Lessons From the Optimizely Web Experimentation Compromise." 17/11/2026. https://world.optimizely.com/blogs/mark-stott/dates/2026/11/lessons-from-the-optimizely-web-experimentation-compromise (opens in a new tab)
  11. Lawrence Abrams, BleepingComputer. "Optimizely hack infected CNN, Fox News, BBC, Salesforce sites with malware." 16/11/2026. https://www.bleepingcomputer.com/news/security/optimizely-supply-chain-attack-delivers-malware-to-cnn-fox-news-bbc-salesforce-sites/ (opens in a new tab)
  12. Evan Schuman, CSO Online. "Optimizely confirms massive cyberattack on customer websites injected stealer malware." 17/11/2026. https://www.csoonline.com/article/4249925/optimizely-confirms-massive-cyberattack-on-customer-websites-injected-stealer-malware.html (opens in a new tab)
  13. Brian Krebs, Krebs on Security. "Attackers Used Optimizely to A/B Test Malware on Top Websites." 17/11/2026. https://krebsonsecurity.com/2026/11/attackers-used-optimizely-to-a-b-test-malware-on-top-websites/ (opens in a new tab)
  14. Owais Shaikh, StepSecurity. "OPTIMJACK: Optimizely-Hosted Scripts Loaded a Crypto Clipper and Card Skimmer on 178 Organizations." 17/11/2026, updated 20/11/2026. https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer (opens in a new tab)
  15. David Hollingworth, Cyber Daily. "Optimizely hack a clear sign of internet enshittification, says Greens leader." 18/11/2026. https://www.cyberdaily.au/security/14458-optimizely-hack-a-clear-sign-of-internet-enshittification-says-greens-leader (opens in a new tab)
  16. David Richards, ChannelNews. "Australian Retailers & Telcos, Super Fund and HSBC Caught Up In Major Hack Targeting Crypto, Cards And iPhones." 18/11/2026. https://www.channelnews.com.au/australian-telcos-super-fund-and-hsbc-caught-up-in-optimizely-hack-targeting-crypto-cards-and-iphones/ (opens in a new tab)
  17. PCI Security Standards Council. "How does an e-commerce merchant meet the SAQ A eligibility criteria for scripts?" FAQ 1588. February 2025. https://pcisecuritystandards.org/faq/articles/Frequently_Asked_Question/how-does-an-e-commerce-merchant-meet-the-saq-a-eligibility-criteria-for-scripts (opens in a new tab)
  18. Chris Matthews and Hollie Silverman, Newsweek. "Cyber attack hits 178 major websites: Full list of organizations." 17/11/2026, updated 19/11/2026. https://www.newsweek.com/cyber-attack-websites-affected-12725863 (opens in a new tab)
  19. Smartsheet. "Security update: Optimizely Third-party Incident." 17/11/2026, updated 18/11/2026. https://www.smartsheet.com/content-center/security-update-optimizely-third-party-incident (opens in a new tab)

Want to discuss how this applies to your business?

Get in touch - no forms, no hassle

or enter your email

Tagged with:

Website SecuritySupply Chain AttackOptimizelyContent Security PolicyThird-Party ScriptsCard Skimming