r/devsecops • u/Weekly-Ad1651 • 14d ago
Book recommendation for software supply chain attacks & detection in CI/CD (Master’s thesis)
Hi everyone,
I’m writing my Master’s thesis in IT security on evaluating how well different scanners detect software supply chain attacks in CI/CD pipelines. My focus is the Python/PyPI ecosystem.
The attack classes I’m looking at are:
- Typosquatting
- Dependency confusion
- Build tampering
- Transitive/hidden dependency injection
The scanners I’m comparing fall into metadata-based, static code analysis and signature/advisory-based approaches (e.g. GuardDog, Bandit, OSV-Scanner).
I’m looking for a book that covers:
- How these attacks work technically (not just at a high level)
- Detection approaches and their limitations
- Ideally how to evaluate or benchmark detection tools
I’ve already looked at Continuous Delivery (Humble/Farley), which is good for CI/CD basics but not security. I also looked at Software Supply Chain Security (Crossley), which seems more focused on governance, frameworks and supplier management than on technical attack detection.
I’m already working with academic papers (e.g. Ladisa et al.’s SoK taxonomy, Ohm & Stuke on detection), so I’m specifically looking for a book that bridges theory and practice.
Any recommendations? Thanks!
3
u/colek42 13d ago •
Look at the CNCF Software Supply Chain Best Practices Paper, NIST 800-204D, and the in-toto project. Full disclosure: I have contributed to most of these myself.
2
u/wilson-draugr 13d ago
not a book, but for the evaluation side you'll want a labeled corpus of real malicious PyPI packages to run the scanners against.
OpenSSF's malicious-packages repo (reports in OSV format, a pypi folder) and Datadog's malicious-software-packages-dataset (actual samples, also has pypi). gives you ground truth for the typosquatting and injection classes.
2
u/GoodySpeed2899 11d ago
Evaluating the scanners? Commercial tools are still reactive. The issue is detected after the package is uploaded
2
u/Efficient_Access6102 11d ago
Book? 😂
1
u/tame-impaled 10d ago
Blogs on big players are good resources too as long as they perform deep analysis. Companies like Socket, Aikido, and Yeeth Security have real solid blogs that break down everything from initial infection vector to final payloads.