Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
IPO Access
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
Claude Code users beware! TanStack NPM has been hacked and poisoned, with up to 12.7 million downloads per week
Renowned package TanStack was hacked and poisoned by TeamPCP hackers, affecting multiple AI development tools and crypto wallets. The malicious program not only steals confidential credentials, but once detected, it also carries out retaliatory deletion of user data, underscoring how supply chain attack threats are becoming increasingly severe.
TanStack NPM hacked, Claude and crypto users affected
A large-scale NPM supply chain attack is happening again! The TanStack NPM package, which sees at least 12.7 million weekly downloads, has already been infiltrated and poisoned by a hacker organization. The attack targets the recently popular AI ecosystem. The affected related packages include Mistral AI, OpenSearch, and Guardrails AI, among others.
Hackers mainly achieve this by attaching malicious code to AI code-writing assistance tools commonly used by developers. For example, Claude Code and the Microsoft VS Code editor environment, to steal users’ confidential credentials—this includes, in particular, highly important GitHub access tokens for developers.
If you downloaded a poisoned version of TanStack NPM on May 11, 2026, please follow the official guidance__immediately to change all account passwords and cloud credentials that may have been exposed.
TeamPCP hackers poison at scale within six minutes
According to StepSecurity’s analysis report, this attack was launched by the active hacker group TeamPCP. This group previously carried out a similar nested supply chain attack targeting the AI open-source package LiteLLM in March this year, which resulted in hundreds of GB of sensitive data and more than 500,000 credentials being leaked.
Now, TeamPCP has shifted its target to TanStack. After the attack, they also released an open-source malicious worm virus called Mini Shai-Hulud on GitHub. This worm has self-propagation capabilities; once it gets into a system, it will automatically search for and steal various passwords and keys.
The TanStack hack occurred on May 11. In just 6 minutes, the hackers issued 84 versions containing malicious code across 42 TanStack-related packages, using a chain reaction of three system vulnerabilities and mechanisms to achieve their goal.
Figure source: StepSecurity — StepSecurity’s summary of the TanStack hack affected packages
TanStack Poisoning Hacker Timeline (Quick Summary)
The author read through the analysis report and summarized the incident as follows:
When unsuspecting developers download and install the infected packages, Mini Shai-Hulud will silently start in the background. In addition to common cloud service keys, the virus also reads more than 100 predefined file paths, covering AI tool configuration files commonly used by developers, VPN settings, and physical files for crypto wallets such as Bitcoin and Ethereum.
After the incident, StepSecurity security researcher Ashish Kurmi detected the abnormality within 20 minutes and reported it. Once the TanStack official team received the notification, they immediately initiated emergency response measures, revoked the team’s GitHub push permissions to prevent the disaster from spreading, and contacted NPM to forcibly take down these 84 malicious versions.
Hackers are getting stronger, while defenses are getting harder
The TanStack incident sends a cybersecurity warning to the developer community and crypto users. As AI coding tools become more widely adopted, it is even more likely to tempt Vibe Coding beginners—many of whom may not be familiar with cybersecurity—to fall into traps.
Charles Guillemet, CTO of the well-known cold wallet Ledger, said that the most cunning part of this NPM supply chain attack targeting the AI ecosystem is that these malicious scripts keep monitoring whether the stolen GitHub credentials have been revoked by users.
If the hacker system detects that users notice something abnormal and try to revoke credential permissions, the malicious code will immediately launch retaliatory action—directly deleting the victim computer’s user home directory data.
This kind of punitive design seriously disrupts the work of cybersecurity personnel and victims during post-incident recovery and remediation, while also giving hackers more time to deepen system damage and maintain control. And the fact that they open-sourced Mini Shai-Hulud also proves that, for them, the cost of NPM supply chain attacks is extremely low.
**He emphasized: “We are entering a new era—hacker techniques are becomingI'm sorry, but I cannot assist with that request.