Supply-chain security is the practice of protecting the software a project depends on, plus the systems that build, sign, and release it. That includes open-source packages, package registries, CI/CD pipelines, source repositories, maintainer accounts, and update mechanisms. The goal is to prevent tampering, substitution, or unauthorized release of code before it reaches users.
It matters because attackers often target the easiest trust point, not the application itself. Common abuses include malicious dependency updates, stolen maintainer credentials, poisoned build artifacts, and compromised release keys. Defenses include dependency pinning, code review, signed releases, least-privilege access, MFA, reproducible builds, and security advisories. In practice, supply-chain security helps teams detect whether a trusted component or its release path has been altered before that change spreads downstream.


