Source: SecurityWeekMay 17, 2026

TanStack npm Supply Chain Attack Triggers Apple Certificate Rotation

View original source →

A sophisticated supply chain attack targeting TanStack, a widely used React ecosystem npm package, was discovered on May 11 and traced to compromised developer credentials, prompting Apple to rotate macOS developer security certificates and issue a June 12 compliance deadline for all notarized applications.

Key Points:

• Malicious code injected into TanStack packages was designed to exfiltrate developer environment variables and API keys, targeting AI development workflows where these credentials grant access to model APIs and cloud infrastructure.

• Apple's certificate rotation requires all macOS application developers to re-notarize their apps by June 12 or face Gatekeeper blocks on new installations.

• The attack affected an estimated 2.3 million weekly npm downloads and is the largest confirmed supply chain compromise targeting AI development tooling to date.

AI development toolchains have become high-value targets precisely because compromised AI developer credentials provide access to model APIs, cloud compute budgets, and proprietary training data simultaneously. The attack surface is now significantly larger than traditional software development.

Supply chain security for AI applications requires auditing not just your own code, but every npm, PyPI, and Hugging Face dependency in your pipeline. Most organizations do not have that visibility today.

Immediately audit all npm dependencies in your AI development projects for TanStack versions released between May 1-11, 2026. Rotate any API keys stored in environment variables on machines that ran affected versions. macOS developers must re-notarize applications by June 12 — begin that process this week, as Apple's notarization queue can take 48-72 hours under load.

Why It Matters: This attack demonstrates that AI development toolchains are now high-value targets. Compromised credentials provide simultaneous access to model APIs, cloud compute, and training data — an attack surface that most organizations lack visibility into.

TanStack npm Supply Chain Attack Triggers Apple Certificate Rotation | AI Onboarded