Software Supply Chain Attack
Also known as: Supply chain attack, Supply chain compromise
Attack that compromises software by tampering with its dependencies, build systems or update channels, so trusted code delivers malicious changes to users.
A software supply chain attack targets the components, tools and processes used to build and deliver software rather than the final victim directly. By compromising an open source library, a package registry account, a build server, a code-signing key or a vendor's update mechanism, an attacker can insert malicious code that is then distributed through channels users already trust. Because a single widely used component may sit inside thousands of products, one successful compromise can reach a very large number of organizations at once.
Several incidents shaped awareness of the threat. In 2017 the NotPetya malware spread through a hijacked update to Ukrainian accounting software and caused worldwide damage. In the SolarWinds compromise disclosed in December 2020, attackers inserted a backdoor into updates of a network management product used by many government agencies and companies. In March 2024 engineer Andres Freund discovered a backdoor deliberately planted in the xz Utils compression library after a contributor had spent years gaining maintainer trust. Typosquatting and malicious packages published to registries used by package managers are a constant lower-level problem.
Defenses aim to make software provenance verifiable. Practices include pinning and reviewing dependencies, generating a software bill of materials, signing artifacts, hardening build systems, protecting maintainer accounts with strong multi-factor authentication and pursuing reproducible builds so that binaries can be checked against source code. Frameworks such as SLSA and the work of the Open Source Security Foundation provide guidance. The xz case also highlighted a social dimension: overworked volunteer maintainers of critical projects need funding and support, not just better tools.
Key points
- Supply chain attacks compromise the components and channels through which software is built and delivered.
- NotPetya, SolarWinds and the xz Utils backdoor showed how far a single compromise can reach.
- SBOMs, signed artifacts, hardened builds and reproducible builds make provenance verifiable.
- Supporting volunteer maintainers of critical open-source projects is part of supply chain security.
Related entries
Software Bill of Materials
Machine-readable inventory of the components, libraries and dependencies that make up a piece of software, used to track vulnerabilities and licenses.
Reproducible Builds
Practice of making software builds deterministic so anyone can rebuild published binaries from source and get bit-for-bit identical results.
Open Source Security Foundation
Linux Foundation project that brings companies and developers together to improve the security of the open-source software supply chain.
Open Source
Approach to software in which source code is published under a license that lets anyone inspect, modify and redistribute it.
Package Manager
Tool that automates installing, upgrading, configuring and removing software packages and their dependencies from shared repositories.
Maintainer
Person or team responsible for reviewing contributions, managing releases and guiding the long-term health of a software project or package.
Bus Factor
Minimum number of team members whose sudden loss would leave a project unable to continue, a measure of concentrated knowledge risk.
DevSecOps
Extension of DevOps that integrates security practices and automated security testing throughout the software development and delivery life cycle.
Featured in guides
Referenced by
Other entries that discuss or point to Software Supply Chain Attack.