Skip to main content
AI & DevOps · Supply chain

Supply chain security and regulation, in reading order

The articles on this site about what enters your build and what the law now expects of it, arranged as one path: poisoned packages first, then models and datasets, then what agents commit, then the regulations with dates attached.

By Matthews WongReviewed on

Key takeaway

This path starts with signing, provenance and dependency hygiene, then the npm and PyPI attacks that tested them, treats models and datasets as code that needs signing and scanning, covers the secrets and generated code that AI agents add to a repository, and ends with the Cyber Resilience Act, the EU AI Act, NIST's agent standards work and, for teams in Indonesia, PP 33/2026.

Reading path · 23 articles

Read in this order

Each stage builds on the one before. If you already know a stage, skip ahead; the line under each title says what that article adds.

Stages 1 / 4

Worms and poisoned packages

The foundations of a trusted build, then the npm and PyPI attacks that tested them.

  1. 01Security10 min readSoftware Supply Chain Security: SBOMs and SigstoreWhy this step: The foundation: generate SBOMs, sign artifacts with Sigstore and cosign, and verify SLSA provenance in CI.
  2. 02Web Dev9 min readnpm Dependency Management and Security Auditing: What I Actually DoWhy this step: The everyday habits: audit npm dependencies, manage update debt and limit your supply chain exposure.
  3. 03Security12 min readLiteLLM Supply Chain Attack: PyPI Dependency CooldownsWhy this step: How two malicious releases reached PyPI, and the cooldown, hash and publisher controls that matter.
  4. 04Security12 min readTensorlake npm Shai-Hulud Compromise: Lock Down Install ScriptsWhy this step: A worm in an npm SDK ran through a preinstall hook; why revoking tokens can backfire and how to block install scripts.
  5. 05Security11 min readHijacked AI Coding Assistant Session Spread Shai-Hulud WormWhy this step: The worm's spread traced back to a hijacked AI coding assistant session, with the defender steps.
  6. 06Security12 min readnpm Worm With Valid SLSA Provenance: The keyv LessonWhy this step: A worm shipped with valid provenance: what provenance proves, what it cannot, and the release gates to add.
  7. 07DevOps11 min readnpm Trusted Publishing: 48-Hour Expiry and issue_comment BanWhy this step: npm now expires unvalidated trusted-publishing setups and rejects issue_comment tokens; a release migration guide.
  8. 08Security12 min readSlopsquatting in 2026: Package Hallucination Rates, 127 NamesWhy this step: Models invent package names that attackers can register; existence, age and hash checks before you install.
The AI & DevOps field guide

More from the AI & DevOps guide

The other reading paths in this section.