zappz

All topics

software supply chain

2 articles

The software supply chain is everything that goes into building and delivering a program: its code, the outside libraries it uses and the tools that ship it. Most modern applications are assembled far more than they are written, with a small amount of original code resting on hundreds or thousands of open source packages.

The chain has several links. There are the developers and their accounts, the source repository, the third-party dependencies and the dependencies of those dependencies, the build system that compiles and packages the code, the registries that host packages, and the update channel that delivers releases to users. A supply chain attack compromises one of these links instead of the final target. Typical methods include taking over a maintainer's account, publishing a package with a name close to a popular one, slipping malicious code into a build server, or tampering with an update. The victim then installs the bad code willingly, because it arrives from a source they trust.

One poisoned component can reach every product that uses it, which is why these attacks scale so well and why a single incident can affect thousands of organizations at once. Defenses focus on knowing and verifying what goes in: an inventory of components known as a software bill of materials, pinned and checksummed dependencies, signed releases, hardened build systems, and frameworks such as SLSA that set levels of assurance for how software was produced.

  1. dependency confusionWhat Is Dependency Confusion in Package Managers?Dependency confusion makes a package manager install a stranger's public package in place of your private one. How it works, and the settings that stop it. · 7 min read
  2. software supply chainWhat Is a Software Supply Chain Attack? Risks and DefensesA software supply chain attack plants bad code in a package, build step or update you trust, so it reaches every app downstream. How it works and how to defend. · 8 min read

Related topics

All topics