A software supply chain is everything that stands between the author of code and its user: third-party libraries, package managers, build pipelines, signing and update servers. What gets breached is not the victim but one of these links, so malicious code reaches victims by “official” routes: through a trusted repository or an update they installed themselves.
Where the chain is breached
| Link | Example | What happens |
|---|---|---|
| Dependency | event-stream, ua-parser-js | a compromised version of a popular package is distributed through the ordinary package manager |
| Vendor build | SolarWinds Orion, 2020 | the build system was breached; a backdoor was built into official updates, which fewer than 18,000 SolarWinds customers could have received |
| Component maintenance | xz-utils, 2024 | a project contributor spent years earning trust, gained commit rights and added a backdoor to liblzma, on which the sshd of popular distributions depended |
| Package registry | typosquatting | a package with a name resembling a popular one, or a hijacked author account |
Why such attacks are hard to spot
- the code is signed with a legitimate key and arrives over a trusted channel — signature and vendor reputation checks do not help
- scanners look for known vulnerabilities by CVE; a backdoor is not a vulnerability in someone else’s code but added functionality in one’s own
- the compromise of one link propagates to all of its users: one breached link — thousands of victim organisations
- mass distribution serves as cover: of everyone that received the infected update, the adversary uses access only against selected victims
How the risk is reduced
The chain cannot be protected completely, but it can be made transparent and verifiable. A software bill of materials (SBOM) and software composition analysis (SCA) show exactly what is inside a build and speed up the search for affected parties after an incident. The SLSA standard describes levels of build protection — from documenting the provenance of artefacts to hardened build platforms that are difficult to forge.
- minimise dependencies, pin versions and hashes in lock files
- maintain an SBOM and check dependencies with an SCA scanner: known malicious packages and vulnerabilities are visible before the build
- sign artefacts and collect provenance according to SLSA levels
- do not roll out fresh updates to everything at once: canary releases and a delay leave time for detection
Sources
the term is written from these pages- CISA AA20-352A — SolarWinds Orion supply chain compromisecisa.gov/news-events/cybersecurity-advisories/aa20-352a(opens in a new tab)
- Red Hat — malicious code found in xz upstream tarballs (CVE-2024-3094)redhat.com/en/blog/urgent-security-alert-fedora-40-and-rawhide-users(opens in a new tab)
- SLSA — Supply-chain Levels for Software Artifactsslsa.dev(opens in a new tab)
Verified 9 Nov