Advanced Topic 49 of 51 Security & Cryptography
Supply Chain Security
Protecting the dependencies and tooling software relies on.
How it works
Software supply chain security protects the code, dependencies, build systems and delivery channels that produce software. Attacks include malicious or typosquatted packages, compromised maintainer accounts, dependency confusion, tampered build servers like SolarWinds and poisoned updates. Defenses include pinning and verifying dependencies with lockfiles and checksums, software bills of materials, reproducible builds, signed artifacts with tools such as Sigstore, provenance frameworks like SLSA, least-privilege CI pipelines and vulnerability scanning.
Step-by-step walkthrough
- Attackers target what you depend on.
- A malicious package or compromised build injects code.
- The tainted artifact reaches users.
- Defences: pin versions, verify signatures, use SBOMs and reproducible builds.
- Limit build privileges.
Where it is used
Every project using open-source packages, containers and CI/CD, from startups to governments, must manage this risk, and regulations increasingly demand SBOMs.
Common pitfall
Auto-updating to the latest version without review brings in compromised releases, while never updating leaves known vulnerabilities. Transitive dependencies hide risk. Secrets in build logs and over-permissioned tokens are common. Use private registries, review new dependencies, enable two-factor authentication for publishing and monitor advisories.
Where it fits in the course
Supply Chain Security is topic 49 of 51 in Security & Cryptography, rated Advanced. It follows Secure Multi-Party Computation. The next topic is Cryptographic Protocol Design.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Security & Cryptography quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Security & Cryptography quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Supply Chain Security?
Where do people use Supply Chain Security?
What is the most common mistake with Supply Chain Security?
What should I learn before this topic?
How can I practice it?
Is Supply Chain Security hard to learn?
How long does it take to learn Supply Chain Security?
Which topics are related to Supply Chain Security?
What should I study after Supply Chain Security?
Related topics
- Secure Multi-Party Computation (Security & Cryptography)
- Cryptographic Protocol Design (Security & Cryptography)
- Zero Trust Architecture (Security & Cryptography)
- Differential Privacy (Security & Cryptography)
- Web Security Basics (Web Development)
- Embedded Security (Mobile, Embedded & IoT)