Supply-chain risk is the chance that dependencies, build steps, or artifacts are tampered with. Mitigations include pinning versions, using SBOMs, verifying signatures, least-privilege CI, and monitoring for vulnerable dependencies.
Supply-chain attacks target dependencies and build pipelines:
Dependency integrity via lockfile + CI verification:
- npm ci (uses lockfile)
- verify package signatures
- fail build on critical CVEs