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.

Share

Subscribe to the newsletter

The latest stories and analysis, delivered to your inbox.

Free. No spam. Unsubscribe any time.

Related stories

New agentic memory cuts token use 27x vs. competitors

New agentic memory cuts token use 27x vs. competitors

Researchers at the National University of Singapore developed MRAgent, a framework that dynamically reconstructs memory during reasoning rather than passively retrieving documents upfront. The approach significantly reduces token consumption and runtime costs compared to existing agentic memory systems, addressing a core limitation where context windows fill with irrelevant noise during long-horizon reasoning tasks.

by bendee983@gmail.com (Ben Dickson)· VentureBeat AI
Patronus AI raises $50M to stress-test AI agents

Patronus AI raises $50M to stress-test AI agents

Patronus AI, a startup founded by former Meta AI researchers, has raised $50 million to build digital worlds designed to stress-test AI agents. The funding round reflects strong investor confidence in the company's testing approach. According to its investors, the startup is experiencing nearly insatiable demand for its services.

by Marina Temkin· TechCrunch AI
Robotics AI Splits Over World Models vs Language Models
TrendingNews

Robotics AI Splits Over World Models vs Language Models

The robotics industry is splitting into two competing camps over which AI approach will power the next generation of physical robots. Vision-language-action models (VLAs), derived from large language models, compete against world models, which predict physical outcomes based on video training. Recent moves by Luma and 1X to launch world model labs signal growing momentum for the latter approach, even as major figures like Elon Musk and Jensen Huang predict a robotics ChatGPT moment is near.

by Rocket Drew· The Information
General Intuition bets $320M on video games as AI training ground
TrendingNews

General Intuition bets $320M on video games as AI training ground

General Intuition has raised $320 million to scale AI systems trained on millions of hours of video game footage, with the company betting that gameplay data can help artificial intelligence agents develop intuitive decision-making capabilities closer to human reasoning. The funding reflects growing interest in using interactive simulations as a training ground for AI that must operate in complex, real-world environments. The approach targets a fundamental challenge in AI development: teaching systems to make rapid, contextual decisions under uncertainty.

by Rebecca Bellan· TechCrunch AI