A software supply chain attack is a compromise aimed at the tools, dependencies, or build process used to produce software. Instead of attacking the finished application directly, the attacker targets the path that creates it: source repositories, package managers, CI/CD runners, build scripts, signing keys, or third-party libraries. The goal is to insert malicious code, alter build outputs, steal secrets, or weaken trust in the release process.
This matters because modern software is assembled from many moving parts, and defenders can miss danger if they only scan source code at rest. In practice, attacks may hide in dependency updates, tampered build steps, or unauthorized network access during compilation. Strong defenses include dependency hygiene, least-privilege build access, artifact signing, provenance checks, and runtime monitoring inside the pipeline. Build-time inspection helps by watching what the system actually does while software is being assembled, not just what the code looks like on disk.


