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

AI Companion Robots Target Loneliness as Market Scales to $318B

AI Companion Robots Target Loneliness as Market Scales to $318B

A new generation of AI companion robots is being engineered to address loneliness among elderly adults, children with absent parents, and isolated urban professionals. Unlike earlier models that relied on voice commands and novelty appeal, today's robots use cameras, microphones, and emotional intelligence to initiate proactive interactions and provide persistent presence. The global AI companion market is projected to grow from $48 billion in 2026 to $318 billion by 2033, driven by shifts toward emotion-oriented design and connected ecosystems.

by Ollobot· IEEE Spectrum AI
ClickHouse Hits $350M ARR on AI Agent Demand
TrendingNews

ClickHouse Hits $350M ARR on AI Agent Demand

ClickHouse, a database company specializing in high-speed analysis of large data volumes, has crossed $350 million in annual recurring revenue, up 40% since May. The growth is being driven by increased adoption among AI agent developers, including OpenAI, who rely on ClickHouse to manage and monitor the databases that power AI systems. The company's dual model of free open-source software and paid cloud services is resonating with enterprises building AI infrastructure.

by Alix Coutures· The Information
Accel-backed Keenable builds web index for AI agents
TrendingNews

Accel-backed Keenable builds web index for AI agents

Keenable, backed by Accel, has exited stealth mode with a $26 million seed round to build a web search index designed specifically for AI agents. The startup is addressing a gap in how AI systems access and retrieve web information at scale. This represents a shift toward infrastructure tailored to agent-based AI workflows rather than traditional search.

by Anna Heim· TechCrunch AI
Meta Launches Hatch AI Agent Platform in Coming Weeks
TrendingNews

Meta Launches Hatch AI Agent Platform in Coming Weeks

Meta plans to launch Hatch, a consumer-facing AI agent platform, within the next several weeks, with an October target for its Watermelon AI model. The move is part of CEO Mark Zuckerberg's strategy to monetize AI investments and reduce reliance on advertising revenue. Meta is considering a tiered pricing model with premium subscriptions reaching $199.99 per month for higher usage limits.

by Jyoti Mann· The Information