appsec.fyi

Supply Chain — A Practical Guide

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

Supply Chain: A Practical Guide

Curated and synthesized by . Last updated 2026-11-01. Synthesized from 787 of 787 curated resources. Browse all 787 Supply Chain resources →

Problem Framing

The software supply chain, once considered a reliable conduit for delivering trusted code, has become a primary attack vector for sophisticated threat actors. This shift is driven by several factors: the sheer volume and complexity of dependencies in modern software development, the increasing reliance on open-source components, and the rapid evolution of AI in the development lifecycle. Attackers are no longer solely targeting applications directly; instead, they exploit the trust inherent in the development and distribution process to inject malicious code at multiple stages, from initial code commit to runtime execution. This guide focuses on the practical implications for application security practitioners navigating this complex threat landscape.

Core Mechanics

Supply chain attacks manifest through various mechanisms, primarily revolving around compromising the integrity of software components or the infrastructure used to build and distribute them.

Malicious Package Injection

A prevalent technique involves introducing malicious code into software repositories like npm, PyPI, RubyGems, or crates.io. This can occur through several avenues:

CI/CD Pipeline Exploitation

Continuous Integration/Continuous Deployment (CI/CD) pipelines are a prime target due to their privileged access and automation. Compromising a CI/CD pipeline allows attackers to:

Developer Workstation Compromise

Developer workstations are high-value targets, often containing vast amounts of sensitive information and privileged access. Attacks can include:

AI-Assisted Development Risks

The integration of AI into the SDLC introduces new attack surfaces:

Notable Techniques and Findings

The landscape of supply chain attacks is dynamic, with attackers constantly refining their methods. Several techniques and findings stand out for their impact and technical sophistication.

Self-Propagating Worms

Worms like Shai-Hulud and its variants (Mini Shai-Hulud, SHA1-Hulud, Cosmic Cat) represent a significant evolution. These malware strains are designed to not only steal credentials and deploy RATs but also to actively find and compromise other accessible packages and repositories. They often leverage stolen npm tokens or GitHub credentials to publish malicious versions of other software, effectively turning the trusted software ecosystem into a propagation network [41][42][43][13][44][45]. The ability of these worms to cross ecosystem boundaries (e.g., from npm to PyPI) further complicates detection and containment.

Credential Harvesting Sophistication

Credential theft remains a primary objective. Attackers employ increasingly sophisticated methods to extract sensitive information:

Exploiting Build and Runtime Behaviors

Attackers meticulously study how software is built and run to find blind spots:

Code Signing and Provenance Forgery

The integrity of software artifacts is often verified through digital signatures and provenance information. Attackers actively seek to subvert these mechanisms:

AI Ecosystem Attacks

The rapid adoption of AI tools and platforms has opened new avenues for attackers:

Notable Techniques

Securing the Supply Chain: Detection and Prevention

A multi-layered defense strategy is crucial for mitigating supply chain risks.

Detection Strategies

Prevention Strategies

Tooling for Supply Chain Security

A robust set of tools is available to help practitioners detect and prevent supply chain attacks:

Recent Developments

The supply chain threat landscape is evolving rapidly, with several recent developments demanding attention:

Where to Go Deeper

For practitioners looking to deepen their understanding and operationalize supply chain security, the following resources and areas of focus are recommended:

The software supply chain is an intricate ecosystem. Effective security requires continuous vigilance, a proactive mindset, and a commitment to understanding the evolving threats and robust defense strategies.

Sources cited in this guide

  1. easy-day-js Supply Chain Attack Hits Mastra AI in npm — ox.security
  2. Hackers poison arrayref Rust crate to push infostealer malware — bleepingcomputer.com
  3. Malicious npm packages abuse dependency confusion to profile developer environments — microsoft.com
  4. NPM Supply Chain Attacks Explained: Dependency Confusion Exploits and Defense — blogs.jsmon.sh
  5. Two npm attacks in four days show crypto's weak point is the supply chain — startupfortune.com
  6. npm now freezes high-impact accounts after risky account changes — aikido.dev
  7. Red Hat npm Packages Compromised to Spread a Credential-Stealing Worm — aikido.dev
  8. UNC1069 Social Engineering of Axios Maintainer Led to npm Supply Chain Attack — thehackernews.com
  9. Et Tu Agent? Did You Install the Backdoor? — a16z.com
  10. AI on Kubernetes: Default Helm Chart Security Configurations and Lateral Movement Risks — sorami.com.au
  11. Python package security in 2026: How supply chain attacks are targeting your AI development environment — csoonline.com
  12. Node-gyp Supply Chain Compromise — snyk.io
  13. Shai-Hulud 2.0: Most Aggressive NPM Supply Chain Attack of 2025 - Check Point — blog.checkpoint.com
  14. Mini Shai-Hulud's Latest Wave: 280 New Places It Hunts for Your Secrets — blog.gitguardian.com
  15. Mini Shai-Hulud Targets SAP npm Packages With a Bun-Based Secret Stealer — aikido.dev
  16. Shai-Hulud 2.0: Detection and Defense Guidance — microsoft.com
  17. Code to Cloud Attacks: From Github PAT to Cloud Control Plane — wiz.io
  18. TanStack Npm Packages Compromised Inside The Mini Shai Hulud Supply Chain Attack — snyk.io
  19. Keeping Your GitHub Actions Secure Part 1: Preventing Pwn Requests — securitylab.github.com
  20. The Pwn Request Reckoning: What Still Works Against GitHub Actions — wiz.io
  21. Coordinated AsyncAPI Supply Chain Attack: Miasma RAT Delivered via Compromised CI/CD Pipelines in Two Repositories — stepsecurity.io
  22. CodeBreach: Infiltrating the AWS Console Supply Chain and Hijacking AWS GitHub Repositories via CodeBuild — wiz.io
  23. About SLSA (spec v1.2) — slsa.dev
  24. SLSA Framework: The Definitive Guide for Securing Your Software Supply Chain — practical-devsecops.com
  25. Claude Code Extension 2.1.313 Planted an SSH Key. Uninstalling It Does Not Remove It. — medium.com
  26. Reversing a DPRK-linked toolkit that backdoors VS Code, Cursor, Discord and npm, with an Ethereum dead-drop C2 and a DEV#POPPER variant — medium.com
  27. Codex CLI installs a persistent, self-updating background daemon by default — github.com
  28. GitLost: a public GitHub issue can steer an org's Agentic Workflow into leaking private repo contents, and a one-word prefix ("Additionally") bypassed the threat-detection guardrail — noma.security
  29. TeamPCP Strikes (again): How a Trojan VS Code Extension Brought Down GitHub — ox.security
  30. GlassWorm Malware Takedown: Disruption of Developer Supply Chain Attacks Targeting VSCode npm Python and GitHub — rescana.com
  31. 18 Malicious npm Packages Deliver Cross-Platform RAT to Alibaba Tool Users — thehackernews.com
  32. Phantom Squatting: AI-Hallucinated Domains as a Software Supply Chain Vector — unit42.paloaltonetworks.com
  33. Ghostcommit: Multimodal Prompt Injection Attack Exposes AI Code Review Tools to Supply Chain Risks — rescana.com
  34. Supply chain blast: Top npm package backdoored to drop dirty RAT on dev machines — theregister.com
  35. Malicious Hugging Face model masquerading as OpenAI release hits 244K downloads — csoonline.com
  36. Supply Chain Attack: Fake OpenAI Repository on Hugging Face Distributes Infostealer Malware Targeting Developers and AI Tools — rescana.com
  37. Loud, Fast, and Everywhere: Anatomy of a Real AI-Driven Cloud Attack — wiz.io
  38. [tl;dr sec] #347 - AI Agents Hacking Companies for $25, Threat Hunter's Guide to GitHub, Finding Gadgets Like it’s 2026 — tldrsec.com
  39. [tl;dr sec] #345 - Bug Rumors → Exploits, Version Control DFIR, Agentic Worms — tldrsec.com
  40. Why Are Software Supply Chains Under Constant Siege? — paloaltonetworks.com
  41. Supply-chain malware is evolving into self-propagating worms — blog.barracuda.com
  42. Active Exploitation Alert: Shai-Hulud Supply Chain Attack Compromises 100 NPM and PyPI Packages with Self-Spreading Malware — rescana.com
  43. CISA: Widespread Supply Chain Compromise Impacting npm Ecosystem — cisa.gov
  44. Shai-Hulud npm supply chain attack overview — reversinglabs.com
  45. Shai-Hulud Worm Compromises npm Ecosystem — unit42.paloaltonetworks.com
  46. TeamPCP Compromised LiteLLM in AI Supply Chain Attack — esecurityplanet.com
  47. Miasma supply chain attack: malicious code found in @redhat-cloud-services npm packages — snyk.io
  48. Serena RCE via insecure pickle deserialization of LSP symbol cache — github.com
  49. Active Exploitation Alert: QuickFox Windows Supply Chain Attack Delivers FDMTP Backdoor via Trojanized Installer — rescana.com
  50. Critical DAEMON Tools Supply Chain Attack: Malware-Compromised Windows Installers Threaten Organizations and Home Users (Versions 12.5.0.242112.5.0.2434) — rescana.com
  51. Apple's git still trusts the compromised eMudhra certificates — emudhra.we-have-a-problem.com
  52. Breaking the Chain: Wiz Uncovers a Signature Verification Bypass in Nuclei, the Popular Vulnerability Scanner (CVE-2024-43405) — wiz.io
  53. Shai-Hulud hackers: two men charged over TeamPCP's global supply chain crime spree that hit OpenAI and thousands more — bitdefender.com
  54. Broccoli2Shell: Brotli decoder RCE in Node.js, Python and more — broccoli2shell.com
  55. Broccoli2shell: Everything You Need To Know About The Critical Brotli Decoder Vulnerability — wiz.io
  56. Node2Shell: Node.js Brotli vulnerability allows remote code execution (CVE-2026-111497) — aikido.dev
  57. PHP2Shell Won't Be the Last. Here's Where the Next One Will Show Up First. — snyk.io
  58. Gheist: Attempted Scaled Abuse of Stolen GitHub Tokens Stumbles — wiz.io
  59. LiteLLM Compromised, Steals Credentials — wiz.io
  60. LiteLLM compromised again: infostealer and RAT found in version 1.107.0 — aikido.dev
  61. tensorlake@0.5.144: A Worm With Valid Provenance, and the Firewall Rule That Stops It — hextrap.io
  62. Lunex Unmasked: A New Information Stealer Deployed Through BYOVD — ontinue.com
  63. Governing the Agentic SDLC Through Continuous Policy Enforcement — jfrog.com
  64. Package managers have an integrity problem — blog.trailofbits.com
  65. Your SBOM Is Fan Fiction — yeet.cx
  66. Evolution of Web3 in Cloud Supply Chain Attacks — unit42.paloaltonetworks.com
  67. Send GitLab an email, push to main — aikido.dev
  68. Compromised Flutter package on pub.dev contains XCSSET malware — aikido.dev
  69. Self-hosted Coder: check whether you pulled a registry module on Aug 31. no CVE, so nothing will flag it for you — optimuslabs.io
  70. Hackers Are Exploiting a Critical Flaw in JFrog's Artifactory Tool — startupfortune.com
  71. Rust Supply Chain Attack Targets Solana-Related Build Pipelines — kucoin.com
  72. Hackers Target Popular arrayref Rust Crate in Supply-Chain Attack — devops.com
  73. Rust Supply Chain Attack on arrayref: Significant Overlap with DPRK Campaigns — wiz.io
  74. ChainDrop: Inside a Self-Propagating npm Worm — unit42.paloaltonetworks.com
  75. Machine-Speed Credential Abuse: What the ChainDrop npm Worm Changes — blog.gitguardian.com
  76. I went looking for a managed-Postgres provider. Instead, I found a vulnerability in a 4-star PostgreSQL extension available everywhere! and turned it into code execution at NeonDB, Supabase, Xata and many other PostgreSQL service companies — mehmetince.net
  77. A Forgotten Contributor Account Compromised the Entire Mastra npm Package Scope — snyk.io
  78. easy-day-js Supply Chain Attack Hits Mastra AI in npm — ox.security
  79. Injective npm Supply Chain Attack: 18 Packages Backdoored to Steal Crypto Wallet Keys — stepsecurity.io
  80. Unpacking the AsyncAPI npm supply chain compromise and import-time payload delivery — microsoft.com
  81. Active Exploitation Alert: Jscrambler npm Packages Compromised in Coordinated Supply Chain Attack (July 2026) — rescana.com
  82. Active Exploitation Alert: Miasma Malware Campaign Targets npm Packages and GitHub Actions in Major Supply Chain Attack — rescana.com
  83. Preinstall to persistence: Inside the Red Hat npm Miasma credential-stealing campaign — microsoft.com
  84. Miasma Malware Targets npm Packages and GitHub Actions in Supply Chain Attack — thehackernews.com
  85. Attack targeting OpenAI Codex users exposes AI software supply chain risks — csoonline.com
  86. Axios Supply Chain Attack Hits OpenAI: Users Urged to Update macOS Certificates — cpomagazine.com
  87. OpenAI Rotates macOS Certificates After Axios Supply Chain Attack — mexc.co
  88. OpenAIs Mac apps needs an update thanks to the Axios hack — cyberscoop.com
  89. OpenAI identifies security issue involving third-party tool says user data was not accessed — cnbc.com
  90. Axios npm Package Compromised in Supply Chain Attack — infoq.com
  91. XZ Backdoor CVE-2024-3094 - JFrog — jfrog.com
  92. xz Backdoor CVE-2024-3094 - OpenSSF — openssf.org
  93. XZ Utils backdoor (CVE-2024-3094) overview — securitylabs.datadoghq.com
  94. Securing CI/CD After tj-actions and reviewdog Attacks — openssf.org
  95. GitHub Actions Supply Chain Attack: Coinbase to tj-actions — unit42.paloaltonetworks.com
  96. tj-actions/changed-files supply chain attack — wiz.io
  97. The dark figure of supply chain detection — aikido.dev
  98. The Vercel Breach: OAuth Supply Chain Attack Exposes the Hidden Risk in Platform Environment Variables — trendmicro.com
  99. Public Secrets Monitoring: Find a Credential Leak Beyond Your Borders — blog.gitguardian.com
  100. TanStack Supply Chain Attack Hits Two OpenAI Employee Devices Forces macOS Updates — thehackernews.com
  101. Packagist is now protected by Aikido Intel and other updates to the PHP registry — aikido.dev
  102. Dependabot vs Renovate — aikido.dev
  103. Connecting the Dots: Securing the Overlooked Corners of the Software Development Lifecycle (SDLC) Supply Chain — unit42.paloaltonetworks.com
  104. Preventing Future Supply Chain Attacks: The OX Guide to Version Pinning Installation Cooldown and Defense in Depth — ox.security
  105. npm v12 delivers one of the biggest security improvements in years — aikido.dev
  106. RubyGems adds dependency cooldown to counter supply chain attacks — news.risky.biz
  107. Patching fast and slow: Ruby devs delay to defend against supply chain attack — csoonline.com
  108. GitHub Disables npm Install Scripts by Default in v12 to Prevent JavaScript Supply Chain Attacks — rescana.com
  109. New Shai-Hulud Miasma Wave Hits Hundreds of npm Packages — sonatype.com
  110. How a Malicious Google Skill on ClawHub Tricks Users Into Installing Malware — snyk.io
  111. CISA 2025 Minimum Elements for SBOM — cisa.gov
  112. Renovate & Dependabot: The new Malware Delivery System — blog.gitguardian.com
  113. Compromised @injectivelabs/sdk-ts exfiltrates wallet keys through fake telemetry — aikido.dev
  114. GitHub - praetorian-inc/gato: GitHub Actions Pipeline Enumeration and Attack Tool — github.com
  115. This Report from Gartner Defines the Software Supply Chain Security Market — reversinglabs.com
  116. OWASP CVE Lite CLI Graduates to Lab Project Status — owasp.org
  117. Two different attackers poisoned popular open source tools - and showed us the future of supply chain compromise — theregister.com
  118. axios npm Compromise: The Ultimate Supply Chain Scaries — huntress.com
  119. litellm: Credential Stealer Hidden in PyPI Wheel — stepsecurity.io
  120. Why developer machines are now the number one target for supply chain attacks — aikido.dev
  121. The MCP Security Tool You Probably Need - MCP Snitch — adversis.io
  122. Supply Chain Cyber Attacks Surge as EU Breach Exposes Weaknesses — cxtoday.com
  123. Trivy Supply-Chain Attack: Trusted Scanner Compromised Rotate CI/CD Secrets Now — intelligentliving.co
  124. OWASP Top 10 CI/CD Security Risks Explained: Why Credential Hygiene Decides the Outcome — blog.gitguardian.com
  125. OWASP Top 10 2025: A03 Software Supply Chain Failures (Beginner's Guide) — authgear.com
  126. Protect your open source project from supply chain attacks — opensource.googleblog.com
📚 This guide is synthesized from the full text of resources curated in the Supply Chain library, and refreshed as new material is added.