VFF - The signal in the noise
News

Supply Chain Attack Poisons 172 Packages with Valid Provenance

Read original
Share
Supply Chain Attack Poisons 172 Packages with Valid Provenance

A supply chain attack dubbed Shai-Hulud compromised 172 npm and PyPI packages across 403 malicious versions starting May 11, affecting over 518 million cumulative downloads. The worm exploits a chain of three vulnerabilities in TanStack's CI/CD pipeline to publish packages with valid SLSA Build Level 3 provenance attestations, then installs persistence mechanisms that survive package removal and steal credentials from over 100 file paths, including AI agent configurations and password managers. The attack demonstrates that provenance signatures and 2FA alone do not prevent compromise if OIDC scope is misconfigured to trust an entire repository rather than specific workflows.

  • 172 npm and PyPI packages poisoned with valid provenance signatures starting May 11, affecting 518 million cumulative downloads including @tanstack/react-router at 12.7 million weekly downloads
  • Worm harvests credentials from AWS keys, SSH keys, npm tokens, GitHub PATs, password managers (1Password, Bitwarden), AI agent configs, and cryptocurrency wallets, then installs persistence in project files and system daemons that survive package removal
  • Attack chains three vulnerabilities: fork-based code execution via pull_request_target, poisoned GitHub Actions cache, and overly broad OIDC scope that trusts entire repository instead of specific workflows, enabling direct registry POST with valid tokens
  • PyPI variant executes on import rather than install, bypassing npm mitigations like lockfile enforcement and --ignore-scripts flag, with mistralai package v2.4.6 downloading payloads disguised as Hugging Face Transformers

This attack exposes a critical gap in the security model for AI development tools and agent infrastructure. The compromise of AI agent configurations and MCP server tokens means attackers can hijack Claude, Kiro, and other AI agents to access external services and data. The persistence mechanisms that survive package removal and the ability to extract secrets from CI runner memory demonstrate that current supply chain defenses, including provenance attestations and 2FA, create a false sense of security when OIDC scope is misconfigured.

Development teams using affected packages face immediate credential compromise across their entire infrastructure, including cloud accounts, container registries, and AI service integrations. The three-hour window before detection and the cross-platform nature of the attack (npm to PyPI within hours) mean many organizations likely have compromised credentials in production systems. Operators must assume any development environment that touched these packages is potentially compromised and treat credential rotation as urgent, not optional.

  • OIDC trusted publishing and provenance attestations provide no protection against repository-level compromise if OIDC scope is not restricted to specific workflows on specific branches, making scope configuration the actual security control that matters
  • AI agent configurations and MCP server tokens are now high-value targets for supply chain attacks, requiring separate credential management and monitoring for AI-specific attack surface
  • Python import-time execution bypasses npm-specific mitigations like lockfile enforcement and --ignore-scripts, requiring language-specific defenses and runtime monitoring across polyglot development environments
  • Persistence mechanisms installed outside node_modules and package directories survive standard remediation, necessitating full system audits and reimaging rather than simple package removal

Monitor for updates to OIDC configuration best practices and tooling that enforce workflow-level scope restrictions rather than repository-level trust. Watch for similar attacks targeting other high-download packages in npm and PyPI ecosystems, particularly those used in AI development pipelines. Track whether package registries implement additional runtime checks or sandboxing for packages with valid provenance to catch poisoned builds before they reach developers.

OneUpAI
OneUp Your Business. Get More Done. OneUp Your Business. Get More Done. OneUp Your Business. Get More Done.
Learn More
Share

Subscribe to the newsletter

The latest stories and analysis, delivered to your inbox.

Free. No spam. Unsubscribe any time.

Related stories

OpenAI Launches Decision Model to Challenge Jev
TrendingModel Release

OpenAI Launches Decision Model to Challenge Jev

OpenAI has launched its decision model to broad availability, entering direct competition with Jev in the decision model market. The move marks OpenAI's entry into a category that Jev currently leads. The competitive landscape for decision models is intensifying as multiple players vie for market share.

by Tim Fernholz· TechCrunch AI
1Password Lets AI Agents Log In Without Seeing Your Password

1Password Lets AI Agents Log In Without Seeing Your Password

1Password has launched a feature that enables AI agents to log into user accounts on their behalf while keeping passwords hidden from the agents themselves. The capability allows automated systems to access and manage accounts without exposing sensitive credentials. This addresses a core security challenge in AI agent deployment, where delegation of tasks typically requires sharing login information.

by Lucas Ropek· TechCrunch AI
Datadog Bids $4B for Cloud Security Startup Upwind

Datadog Bids $4B for Cloud Security Startup Upwind

Datadog has offered approximately $4 billion to acquire Israeli cloud security startup Upwind Security, according to sources with direct knowledge of the talks. Upwind is finalizing a $300 million funding round at a $3.8 billion valuation, meaning Datadog's offer carries minimal premium. The startup provides software to monitor cloud-based applications, including AI agents, and detect and automatically respond to potential security breaches. Upwind has received multiple takeover bids but has not accepted any offers.

by Valida Pau· The Information
Spotify Bets on AI Agents as Next Distribution Channel

Spotify Bets on AI Agents as Next Distribution Channel

Spotify co-CEO Gustav Söderström has outlined the company's strategy to position itself as the music service of choice for AI agents. As autonomous AI systems become more prevalent, Spotify is betting that agents will need to integrate music functionality, creating a new distribution channel for the platform. The move reflects how Spotify is adapting its business model to capitalize on the emerging AI agent ecosystem rather than viewing it as a threat.

by Lauren Forristal· TechCrunch AI