The Weight of Your Dependencies

Same motivation as the licensing guide: my day job means watching researchers and engineers wrestle with concepts that existing documentation assumes you already understand. The textbooks are written for professional developers. But when a physicist asks “why does my container build differently every time?” or an engineer wonders “is it safe to install this package?”, they need answers that connect to their actual concerns.

This guide is for people who run pip install or npm install without thinking about the dozens or hundreds of packages that command pulls in. I wrote it for folks working with Python notebooks, containers, and production deployments who know something feels wrong but aren’t sure what.

The guide covers foundational concepts like evaluation strategies, versioning, lockfiles, and build environments; security from supply chain attacks to software bills of materials, secrets, and vulnerability management; practical techniques for reproducibility and development hygiene; and ecosystem-specific appendices for Node.js, Python, Go, Rust, and AI/ML development. There’s a chapter on vibe coding, because plenty of people now ship code an LLM wrote.

Real-world case studies are the spine of it. There are fifteen: the infamous ones (left-pad, event-stream, colors.js, Log4Shell, the xz utils backdoor, SolarWinds) and recent ones I kept adding as they happened (the tj-actions/changed-files compromise, the March 2026 Axios npm attack, a signed npm worm that persisted through coding-agent hooks, and a build pipeline that shipped its own source maps). Each one shows how trust gets exploited and what could have been done differently. A Q1 2026 retrospective pulls the common threads together.

Some of it goes further than a beginner’s guide usually does. A section on how TLS, ACME, certificate pinning, and mTLS establish trust explains the structure rather than the math. A threat-landscape chapter covers attacks on LLM-assisted workflows. And the Detonator Pattern is a design spec, about 5,000 words, for running an LLM over untrusted text, such as a security-news watcher that reads Reddit, Hacker News, and RSS, without letting the text give the model orders. The idea is to keep the channel that carries data separate from the channel that carries instructions.

The teaching philosophy emphasizes informed decision-making over prescriptive rules. Every dependency is a tradeoff; there’s no zero-risk option. The goal is understanding your risks well enough to make conscious choices.

Size and status

Sixty-two pages and roughly 81,000 words, with commits from January to August 2026. The guide is a MkDocs Material site, deployed to a droplet by Woodpecker CI on version tags, with the source on GitHub. It’s live, and I add a case study when something new breaks the supply chain.

I write it with Claude, and 34 of the 56 commits are co-authored. The incidents are researched and cited in the sources list, and the narrator’s voice is a composite I chose on purpose, which the foreword says.

The Weight of Your Dependencies screenshot