A visitor can open a familiar website, see the correct domain in the address bar, and still receive code that the site’s owner did not intend to deliver. That is the disturbing lesson of the Optimizely supply-chain attack disclosed on November 16, 2026.
Security researcher Scott Helme reported that malicious JavaScript had been served through the Optimizely Web experimentation platform to websites connected to 178 organizations. His team identified 188 infected snippets while examining 1,611 scripts. The list included well-known organizations such as Zoom, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger, and Peacock. The finding did not mean that every named organization’s internal network had been breached. It meant that code distributed through a service used by their websites had been altered and could reach visitors through pages they trusted. (Report URI; Reuters)
The malicious code was designed for several purposes. It attempted to replace cryptocurrency payment addresses with addresses controlled by the attackers, capture payment-card information entered into forms, collect cookies and screenshots, and deliver exploit code to some Apple devices. Report URI said it had verified cryptocurrency transfers to attacker-controlled wallets. The full number of visitors exposed, the amount of information collected, and the success of the attempted device exploitation were not immediately known.
What made the Optimizely incident a supply-chain attack?
Modern websites rarely consist only of code written and hosted by one company. They load analytics tools, advertising systems, customer-support widgets, payment services, consent managers, content-delivery networks, and experimentation platforms. Optimizely is used to test and personalize digital experiences. Its JavaScript can be loaded by a customer’s website so that different versions of a page or feature can be presented to visitors.
This arrangement is efficient because a company can add sophisticated functions without building every tool internally. It also creates a path of inherited trust. When a website authorizes a third-party script to run in a visitor’s browser, that script may be able to read or change parts of the page. If an attacker gains the ability to modify the trusted script or the project that produces it, the attacker does not need to compromise every customer separately. One shared component can distribute the malicious behavior across many unrelated sites.
According to the investigation, the malicious code was added to the Project JavaScript associated with affected Optimizely projects. The files could continue to arrive from infrastructure that browsers and site operators expected to trust. This is what makes supply-chain attacks difficult to recognize: the dangerous element may come through an approved relationship rather than from an unfamiliar domain.
Optimizely said it blocked access to the vulnerable path, removed the injected code, ended active sessions, revoked tokens, reset access for affected accounts, and prevented the code from being delivered. Several companies also disabled or stopped using the affected scripts while they investigated. These steps reduced the immediate exposure, but they do not answer every question about what happened while the code was active.
Why a secure company can still serve dangerous code
Organizations often evaluate security as if their own servers, employees, and passwords define the entire perimeter. That model no longer describes how digital services operate. A company may protect its databases and internal network while its public website depends on dozens of external services. Each dependency adds capability, but it also adds another organization, set of credentials, update process, and permission structure to the system.
The Optimizely incident demonstrates the difference between being breached directly and becoming part of an attack path. A company can have no evidence that its own systems were compromised while its visitors were still exposed to malicious code delivered through an authorized integration. From the visitor’s perspective, that distinction may offer little comfort. The harmful script appeared inside the page the visitor intended to use.
This also explains why ordinary server monitoring may miss part of the event. Much of the malicious activity occurred in the browser after the webpage loaded. The organization’s application could remain available, its database could remain intact, and its server logs could look relatively normal while a third-party script changed what happened on the user’s device.
What companies need to learn from the attack
The first lesson is that an inventory of third-party code is now part of basic security. Organizations need to know which scripts run on sensitive pages, who can modify them, what information they can access, and how quickly they can be disabled. A vendor name on an approved list is not enough. Trust must be connected to continuous visibility.
The second lesson concerns permissions. External scripts should not receive more access than their function requires. Payment pages, account areas, and authentication screens deserve especially strict controls because a small change can expose valuable information. Content Security Policy, script integrity controls where applicable, restricted administrative access, token rotation, and monitoring for unexpected script changes can reduce risk. No single control is sufficient, but layered restrictions make a silent modification harder to exploit.
The third lesson is contractual and organizational. Companies need a clear answer to a simple question: who is responsible when a service embedded in their website is compromised? The technical response may belong partly to the vendor, but communication with customers, assessment of exposed data, and decisions about disabling the integration remain with the site operator. Outsourcing a function does not outsource every consequence.
The internet is built on shared trust
The web appears decentralized because millions of companies operate different domains. Underneath that variety, many sites depend on the same cloud providers, content-delivery networks, analytics platforms, software libraries, identity services, and experimentation tools. An attack on one of these shared layers can cross boundaries that users assume are separate.
This does not mean third-party services should be abandoned. Rebuilding every component internally would be expensive and would not automatically make systems safer. The practical objective is to understand concentration and dependence. A service that can alter code across hundreds of websites is not merely a marketing tool. It is part of the security architecture of every customer that embeds it.
The Optimizely attack attracted attention because of the famous websites connected to the incident. Its deeper importance lies elsewhere. It revealed how easily trust can travel through digital infrastructure. The same mechanism that allows one useful update to reach many customers can allow one malicious change to reach them too.

