What is software supply chain security?
IntermediateConceptSBOM
Answer
Short answer
Software supply chain security protects everything that goes into your software and how it's built and delivered: dependencies, build systems, CI/CD pipelines, artifacts and registries. The goal is to ensure what you deploy is exactly what you intended, built from trusted sources, and not tampered with.
Famous attacks
| Attack | What happened |
|---|---|
| SolarWinds (2020) | Build system compromised; malicious code shipped in signed updates |
| Codecov (2021) | CI script altered to steal secrets from pipelines |
| Log4Shell (2021) | Vulnerable dependency in countless apps |
| xz-utils (2024) | Malicious maintainer inserted a backdoor into a compression library |
| Dependency confusion / typosquatting | Fake packages named like internal or popular ones |
Key controls
- SBOMs — know what's inside.
- Dependency scanning and pinning — lockfiles, trusted internal mirrors.
- Signing and attestations — Sigstore/cosign for images, provenance (SLSA).
- Hardened CI/CD — least-privilege tokens, OIDC instead of static keys, pinned actions by SHA, isolated runners.
- Admission policies — only signed images from trusted registries can run (Kyverno).
What to say in the interview
"Supply chain security covers dependencies, build pipelines and artifacts. We use SBOMs and dependency scanning, pin and mirror dependencies, sign images and attest provenance with cosign, harden CI with OIDC and pinned actions, and verify signatures at admission in Kubernetes."
More on SBOM
What is an SBOM and how do you generate one?BeginnerWhat is an SBOM and why does it matter?BeginnerWhat are SPDX and CycloneDX?BeginnerHow do you generate an SBOM with Syft?BeginnerHow do you scan an SBOM for vulnerabilities with Grype or Trivy?BeginnerWhat should an SBOM contain? (NTIA minimum elements)Intermediate