Collage: a young developer looks at a wall of package cubes as a lime worm snakes through them, turning each cube it crosses lime.
On this page (9)

On 23 September 2025, the US Cybersecurity and Infrastructure Security Agency warned of a self-replicating worm (opens in a new tab), publicly known as Shai-Hulud, that had compromised more than 500 packages on the npm registry. The worm stole developer credentials and used them to publish poisoned versions of other packages. It was not an isolated event. In the two years before it, a CDN domain changed hands and began serving malicious JavaScript, a backdoor was planted in a compression library by a trusted maintainer, a package publishing server for Apple developers turned out to be open to remote code execution, and a network equipment vendor lost part of its source code to a nation-state actor.

Each of these incidents has been reported on its own, often as a technical alert with a short shelf life. Read together, they describe one problem that belongs to the executive committee as much as to the development team: organisations extend trust to software suppliers, packages, maintainers and domains once, then rarely re-examine it. Attackers have learned to target that gap rather than the organisation itself.

This article draws the governance lessons from five supply chain incidents and from the international guidance on software bills of materials (SBOMs) published in 2025, for CISOs, CIOs and risk owners who must decide where accountability sits.

Why supply chain attacks are a leadership issue

A supply chain attack does not need to breach your perimeter. It reaches you through something you already decided to run: a library pulled at build time, a script loaded from a third-party domain, a container base image, an appliance in your data centre. The malicious code arrives with the same signature, the same domain and the same update channel as the legitimate code.

That makes traditional controls weak. Firewalls allow the traffic because the domain is approved. Code review does not see the dependency because it is resolved by the build tool. Vulnerability scanners look for known flaws, not for a trusted maintainer who has turned hostile.

The decision that matters was taken earlier, usually by a team with no security mandate: which registry to use, which CDN to reference, which base image to start from, which vendor to put on the network edge. Those decisions are rarely recorded, rarely owned and almost never reviewed.

Executive takeaway: Software supply chain risk is a third-party risk with no contract. The organisation depends on maintainers and registries it never selected formally, and the board should expect the same ownership, inventory and review discipline as for any critical supplier.

Polyfill: when a trusted domain changes owner

Polyfill.io was a widely referenced service that delivered JavaScript compatibility code to browsers. According to Cloudflare’s analysis of the incident (opens in a new tab), the domain was sold in February 2024 to a little-known company named Funnull. On 25 June 2024, the service was used to inject malicious code that, under certain conditions, redirected visitors to other websites, including betting sites. Cloudflare cited an estimate that polyfill.io was referenced by nearly 4% of all websites.

No website owner had changed a line of code. The script tag pointed to the same address it always had. What changed was the party behind that address, and nothing in a typical governance process would have flagged a change of ownership of a domain referenced in production pages.

The same mechanism resurfaced through a vendor platform in November 2026, as we described in our analysis of how to govern third-party JavaScript after the Optimizely compromise. The lesson is identical: a script loaded from someone else’s domain is a live dependency on that party’s integrity, every time a page loads.

CocoaPods: the registry itself as the weak point

CocoaPods is a dependency manager used to integrate third-party libraries into Swift and Objective-C applications for Apple platforms. In October 2023, the CocoaPods maintainers disclosed (opens in a new tab) three vulnerabilities reported by security researchers in Trunk, the server that handles updates to published libraries. One allowed an attacker to claim ownership of a library once all its previous maintainers had been removed. Another allowed the verification email to be manipulated to point to a third-party site. The third allowed shell commands to be executed on the Trunk server.

All three were fixed. The maintainers were candid about the limits of what they could prove: they could not show that the flaws had been used, but they could not rule out that the server, its environment variables and its database had been accessed. They reset every user session and asked library authors to register again.

Security implication: A registry is part of your build chain even if you never signed anything with its operators. When the registry cannot rule out a past compromise, every application that pulled a dependency through it inherits that uncertainty, and only an inventory tells you which ones.

XZ Utils: a patient insider and a long tail in containers

XZ Utils is a data compression library present in many Linux distributions. On 29 March 2024, CISA reported (opens in a new tab) that versions 5.6.0 and 5.6.1 contained embedded malicious code that could allow unauthorised access to affected systems, tracked as CVE-2024-3094, and advised reverting to an uncompromised release such as 5.4.6 Stable.

The backdoor was not the work of an outsider. It was inserted by a developer using the name Jia Tan, who had spent two years building credibility in the project through numerous contributions. No signature check or code-of-conduct process would have stopped someone who had legitimately earned commit rights.

The incident did not end with the patch. More than a year later, Binarly’s researchers found (opens in a new tab) that 12 Debian images on Docker Hub still contained the backdoor, and identified more than 35 images in total once images built on top of them were counted. They scanned only a small portion of Docker Hub and only Debian-based images. The Debian maintainers were notified and asked to remove the affected images, which remained in place.

Key point: Patching the upstream package does not remove a compromised component from images, caches and artefact repositories that already captured it. Remediation is complete only when every copy has been found, and that requires knowing what each image contains.

Shai-Hulud: when the compromise spreads itself

The Shai-Hulud worm turned one compromised developer account into many. According to CISA, the malware scanned infected environments for GitHub personal access tokens and API keys for Amazon Web Services, Google Cloud Platform and Microsoft Azure. It sent the harvested credentials to an endpoint controlled by the attackers and uploaded them to a public GitHub repository named Shai-Hulud. An automated process then authenticated to the npm registry as the compromised developer, injected code into other packages that developer maintained, and published the tainted versions.

CISA’s recommendations read like a supply chain governance checklist. Review all dependencies, including nested ones, using lockfiles such as package-lock.json or yarn.lock. Search artefact repositories for cached copies of affected packages. Pin dependencies to releases published before 16 September 2025. Rotate all developer credentials immediately. Require phishing-resistant multifactor authentication on developer accounts, especially GitHub and npm. Block outbound connections to webhook.site domains and review firewall logs. Remove unnecessary GitHub applications, audit repository webhooks and secrets, and enable branch protection, secret scanning alerts and Dependabot security updates.

Most of these actions assume something many organisations lack: a reliable list of which applications depend on which packages, and who owns each developer account with publishing rights.

F5: when the supplier itself is the target

The F5 case shows the other side of the supply chain. In October 2025, F5 disclosed (opens in a new tab) that in August 2025 it had learned that a highly sophisticated nation-state threat actor had maintained long-term, persistent access to certain of its systems, including the BIG-IP product development environment and engineering knowledge management platforms. The actor exfiltrated files containing some BIG-IP source code and information about undisclosed vulnerabilities F5 was working on. Some files contained configuration or implementation information for a small percentage of customers. F5 stated it had no evidence of modification to its software supply chain, including its source code and build and release pipelines, and released updates for BIG-IP, F5OS, BIG-IQ and other products.

The US government’s response is instructive. On 15 October 2025, CISA issued Emergency Directive 26-01 (opens in a new tab), describing the actor as an imminent threat to federal networks using F5 devices. It required federal civilian agencies to inventory all BIG-IP hardware and affected software immediately, check whether management interfaces were reachable from the internet, apply vendor updates by 22 or 31 October 2025 depending on the product, disconnect public-facing devices that had reached end of support, and report a detailed inventory by 3 December 2025.

The sequence of that directive (inventory, exposure, patch, decommission, report) is exactly what an organisation should be able to run for any critical supplier whose own security has failed. It is the same discipline we described for emergency patching treated as a governance decision.

Decision point: For each supplier whose products sit on your network edge or in your build chain, decide in advance who triggers the response if that supplier is breached, how fast the inventory can be produced, and which end-of-support assets you would disconnect rather than defend.

SBOMs: the inventory that makes response possible

On 3 September 2025, CISA and the US National Security Agency, with 19 international cybersecurity organisations, published a shared vision of the software bill of materials (opens in a new tab). The guidance describes an SBOM as a software ingredients list that helps organisations identify components, assess risks and act to protect critical systems. It encourages wide adoption across sectors and borders, harmonised technical implementations to reduce complexity and cost, and integration of SBOMs into security workflows so that known risks are addressed early and consistently.

Each incident above shows why. After XZ Utils, the question was which images contain XZ Utils 5.6.0 or 5.6.1. After Shai-Hulud, it was which applications pull one of 500 packages, directly or through nested dependencies. After CocoaPods, it was which apps were built with libraries published through Trunk. After F5, it was where the vendor’s products run. An SBOM answers the first part of each question in minutes instead of weeks.

An SBOM is not a control by itself. It does not detect a malicious maintainer, a sold domain or a stolen token. Its value depends on three governance conditions: someone owns it, it is updated at each build or delivery, and someone is accountable for querying it when an alert lands. For manufacturers selling in Europe, the same questions now arise under the Cyber Resilience Act, as covered in our guide to what CISOs must prioritise for CRA product security compliance.

What security leaders should prioritize

  1. Name an owner for third-party code. Assign accountability for open source dependencies, external scripts and container base images to a named role, with the same standing as the owner of a critical supplier contract.
  2. Require an SBOM for what you build and what you buy. Generate one at each build for internal software, request one from suppliers of critical products, and store them where the security team can query them during an incident.
  3. Control where dependencies come from. Route packages and base images through an internal artefact repository, pin versions with lockfiles, and keep the ability to purge a compromised version from every cache.
  4. Protect publishing and developer identities. Enforce phishing-resistant multifactor authentication on registry, source code and CI accounts, shorten token lifetimes and rotate credentials on any suspicion, as CISA recommended after Shai-Hulud.
  5. Re-examine external domains and scripts periodically. Keep a register of third-party domains loaded by production pages and applications, review changes of ownership, and prefer self-hosted copies of static libraries.
  6. Rehearse a supplier-breach scenario. Use the ED 26-01 sequence as a template: inventory, exposure check, patch deadline, decommissioning decision and report to management, with target times agreed in advance.
  7. Decide what to do with end-of-support components. Treat unsupported appliances, images and libraries as accepted risk with a named approver and an expiry date, not as a default.

Trust is a decision that must be renewed

None of these five incidents relied on a novel exploit against the victim organisation. Each exploited a trust decision taken long before: a domain referenced in a page, a registry used by default, a maintainer granted commit rights, a developer token left valid, a vendor placed on the network edge. The common failure is not technical. It is that nobody was responsible for asking, after the fact, whether that trust was still deserved.

Never trust, always verify applies to suppliers and components as much as to users. Verification here means knowing what you run, where it comes from and who decides when it must go.

Practical takeaway: Ask your teams for one thing this quarter: for a component chosen at random, show within a day where it runs, which version, who owns it and how it would be withdrawn. If that answer takes weeks, the priority is not a new tool but an inventory with an owner and a rehearsed process to act on it.

Sources

  1. CISA — Widespread Supply Chain Compromise Impacting npm Ecosystem (opens in a new tab)
  2. CISA — Reported Supply Chain Compromise Affecting XZ Utils Data Compression Library, CVE-2024-3094 (opens in a new tab)
  3. Binarly — Persistent Risk: XZ Utils Backdoor Still Lurking in Docker Images (opens in a new tab)
  4. Cloudflare — Automatically replacing polyfill.io links with Cloudflare’s mirror for a safer Internet (opens in a new tab)
  5. CocoaPods — CocoaPods Trunk: 3 Remote Code Execution found, 2023 (opens in a new tab)
  6. F5 — K000154696: F5 Security Incident (opens in a new tab)
  7. CISA — ED 26-01: Mitigate Vulnerabilities in F5 Devices (opens in a new tab)
  8. CISA — A Shared Vision of Software Bill of Materials (SBOM) for Cybersecurity (opens in a new tab)

How we address this risk

Trusted Integration

The implementation

Implements the designed security (migrate, deploy, integrate) through to go-live, and proves that it works.

Explore Trusted Integration

Proof: Public health research organisation

Does this risk concern you?

Tell us about your context: an expert will get back to you.

Contact us

or write directly to trust@blooo.io

  • Reply within 24 hours
  • Non-disclosure agreement on request, before any exchange
  • First call of 30 minutes

Your e-mail is sent from your own mail client: blooo.io stores nothing. We only use your details to reply to you. Privacy policy.