liveBook · Manning

Software supply-chain attack

As explained in Software Security for Developers

A security attack that compromises software components, providers, or delivery processes to affect downstream applications.

A software supply-chain attack compromises a dependency, provider, or delivery process so downstream applications receive harmful or vulnerable code. Because direct and indirect dependencies become part of the final executable, one trusted library can expand an application's attack surface. section 1.2

Event-Stream and Copay

After the Event-Stream maintainer transferred project control, a new developer added a backdoor. The altered package affected Copay Bitcoin wallet versions 5.0.2 to 5.1, showing how a compromised maintainer can reach downstream users. section 1.2

Reduce supply-chain exposure by:

  • Validate direct and indirect dependencies, including code that the application does not explicitly use. section 1.2
  • Run vulnerability scanners on every commit against source code, build files, and artifacts; fail builds that introduce vulnerable libraries. section 1.2
  • Rescan after vulnerability databases change and combine automated upgrades with testing and delivery pipelines. section 1.2

How Software Security for Developers covers it

How deep it goes
Explains dependency compromise through an incident and gives practical scanning, validation, rescanning, and upgrade practices.
Examples
Uses the Event-Stream backdoor, Copay wallet versions 5.0.2–5.1, and a legacy Java library blocking upgrades.
What it assumes
Assumes familiarity with application dependencies and delivery workflows while emphasizing that developers share security responsibility.
What you can do after
Operate/configure dependency scanning and CI/CD checks to detect, block, and rapidly patch vulnerable libraries.
How it connects
Connects dependencies with vulnerability scanning, continuous integration, automated testing, delivery pipelines, and published APIs.

Also explained in

Compare how 2 books explain software supply-chain attack →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.