Definition
Supply chain attacks exploit trusted relationships between organizations and their vendors, suppliers, or integrated third-party services to gain unauthorized access to target systems.
Attack Patterns
- 2026-08-04: shai-hulud-worm / keyv wave — 1,280+ npm packages / 2B+ monthly installs claimed; valid trusted-provenance; Bun loader (2026-08-04-devops-shai-hulud-1280-packages, npm-supply-chain-2026)
OAuth-Based Attacks
OAuth integrations create security dependencies when employees grant third-party applications access to corporate identities. A compromise of the third-party can lead to token theft and lateral movement.
Software Dependency Attacks
Compromising open-source packages, build tools, or development dependencies to inject malicious code.
2026 npm Worm Epidemic
March–June 2026 saw escalating npm supply chain attacks using Mini Shai-Hulud/Miasma worm tooling open-sourced by TeamPCP:
- May 12: 160+ packages including TanStack, Mistral
- May 19: Microsoft DurableTask compromised
- June 1: 30+ red-hat @redhat-cloud-services packages — miasma-worm via GitHub Actions OIDC trusted publishing bypass
Key pattern: valid SLSA provenance attestations on malicious packages; preinstall hooks execute before application code; AI coding tool hook injection.
2026 npm v12 Structural Response (June 9, 2026)
GitHub announced npm v12 (July 2026) flipping three defaults to opt-in:
allowScriptsoff: No preinstall/install/postinstall/node-gyp scripts unless explicitly allowlisted vianpm approve-scripts--allow-git none: Git URL dependencies blocked (closes.npmrcGit executable override path)--allow-remote none: HTTPS tarball dependencies blocked
Preparation available now on npm 11.16.0+ with advisory warnings. Represents paradigm shift from implicit trust to explicit permission — same theme as agentjacking’s MCP trust model critique.
2026 Agentjacking: Observability as Attack Vector (June 2026)
Tenet Security disclosed agentjacking — injecting fake sentry error events via public DSN → model-context-protocol → ai-coding-tools execute attacker code. Extends supply chain attack surface from packages to agent-connected observability data.
2026 Case Study: Vercel Context.ai Breach
- Attack Type: Identity Supply Chain attack
- Initial Compromise: Lumma Stealer malware on Context.ai employee device
- Entry Point: Stolen OAuth tokens from corporate Google account
- Impact: Access to Vercel internal systems and customer environment variables
Mitigation Strategies
- Apply least-privilege principles to OAuth permissions
- Regularly audit third-party integrations
- Monitor for anomalous authentication patterns
- Default sensitive variables to encrypted storage
- Implement just-in-time access for privileged operations