TeamPCP's Supply-Chain Attack Compromises 400+ NPM, PyPI Packages for Dev Credentials
A hacker group just dumped malicious code into hundreds of popular open-source packages. They're after developer credentials.
TeamPCP's Supply-Chain Attack Compromises 400+ NPM, PyPI Packages for Dev Credentials
In the ever-evolving landscape of cybersecurity, supply-chain attacks have emerged as a formidable threat, exploiting the inherent trust in widely-used software packages to infiltrate systems. The latest breach, attributed to the cybercriminal group known as TeamPCP, has compromised over 400 packages across NPM and PyPI, two of the most popular repositories for developers. This attack is a stark reminder of the vulnerabilities present in the open-source ecosystem and the critical need for robust security measures.
The Attack Unfolds
Security researchers at Socket have dubbed this latest breach 'Mini-Shai-Hulud,' signaling its potential impact. Initially, the attack targeted NPM packages associated with SAP, but it quickly expanded its reach. Socket recently identified 84 additional compromised packages linked to the Tanstack Open-Source-App-Framework, bringing the total number of affected packages to over 400. This expansion underscores TeamPCP's ambitious agenda—harvesting sensitive developer credentials to infiltrate and compromise further software projects.
Among the targeted projects are prominent Tanstack offerings like @tanstack/react-router and @tanstack/history, which together boast over 11 million weekly downloads. Such a widespread infiltration illustrates the scale at which open-source projects can be affected. Furthermore, the attack is not confined to NPM packages alone; some PyPI packages, including those used by Mistral AI and Guardrails AI, have also been compromised. This broad targeting strategy highlights the attackers' focus on widespread disruption and data theft across multiple platforms.
Context: The Growing Threat of Supply-Chain Attacks
Supply-chain attacks have become increasingly common in recent years, exploiting the interconnected nature of modern software development. These attacks target the trust developers place in established packages, using them as vectors to distribute malicious code. TeamPCP has been linked to several such attacks, emphasizing the need for heightened vigilance and improved security protocols. The European Union, with its stringent data protection regulations, remains particularly sensitive to these threats, underscoring the global implications of such breaches.
Data at Risk
The malicious code introduced by TeamPCP is engineered to extract a wide array of sensitive data. The list of targeted information is extensive, including:
- GitHub and NPM tokens
- AWS access keys and metadata
- Kubernetes service account tokens
- Environment variables from CI/CD pipelines
Central to this data extraction is a heavily obfuscated file named router_init.js, which is around 2.3 MB in size. This file acts as the data extraction engine, systematically siphoning off credentials and other critical data. The theft of such information can lead to unauthorized access to repositories, further compromising the integrity of software projects and potentially leading to additional breaches.
Developer Response and Mitigation
For developers utilizing NPM or PyPI packages, the immediate response should involve scrutinizing systems for compromised versions. If any are found, it's crucial to assume the system has been compromised and to rotate all affected credentials without delay. Developers should also audit their code repositories for any unexplained changes, which could indicate further unauthorized access.
To aid in mitigation, Socket and Aikido have published detailed strategies and indicators of compromise on their blogs. These resources provide invaluable guidance for detecting and neutralizing the threats posed by this attack. Additionally, the developers of Tanstack have released a postmortem report, offering insights into the attack's effects on their packages and the steps they are taking to mitigate future vulnerabilities.
What This Means for You
For developers and organizations relying heavily on open-source packages, this attack serves as a critical wake-up call. The potential compromise of widely-used packages could have far-reaching consequences, affecting millions of downloads weekly and potentially disrupting countless applications and services. This incident underscores the importance of implementing stringent security practices, including regular audits, automated security checks, and the use of security-focused tools to monitor dependencies.
What's Still Unclear
Despite the extensive investigation, several questions remain unanswered:
- The exact volume of data exfiltrated by TeamPCP is still unknown.
- There could be additional compromised packages that have yet to be discovered.
- The long-term impact on affected software projects and their users remains uncertain.
These uncertainties highlight the challenges in fully assessing the scope and impact of supply-chain attacks. Ongoing vigilance and continued analysis will be essential to understanding and mitigating the full repercussions of this breach.
A Call to Action for Enhanced Security
This latest attack by TeamPCP is a sobering reminder of the vulnerabilities inherent in our current software supply chains. As the reliance on open-source software continues to grow, so too does the risk of such breaches. Developers and organizations must prioritize security at every stage of the software development lifecycle, from initial coding to package management and deployment.
While this incident exposes significant weaknesses, it also presents an opportunity to strengthen our defenses. By adopting comprehensive security practices and leveraging the collective expertise of the cybersecurity community, we can better protect our digital infrastructure from future attacks.
In the end, the responsibility for securing our software systems rests with all of us—developers, organizations, and users alike. Through collaboration and vigilance, we can build a more resilient and secure digital ecosystem.
Discuss this story
Got a take, a correction, or a follow-up tip? Reply where you read — we read everything.
Found an error? File a correction at /corrections. Substantive corrections are logged publicly.
One short email. The most important Security news, fact-checked, no fluff. Free, unsubscribe anytime.
More from Security

Google’s Legal Battle Against AI-Driven Cybercrime: Examining Outsider Enterprise
Google's lawsuit against Outsider Enterprise exposes differences in victim counts and sheds light on AI's role in cybercrime.

iOS 26.5 Update Addresses Over 50 Security Vulnerabilities—Update Now
Apple's iOS 26.5 fixes over 50 security flaws. Update your iPhone now to stay secure.

Malware Disguised as OpenAI Found on Hugging Face
A fake OpenAI repo on Hugging Face pushed malware disguised as AI tools, targeting Windows users with info-stealing tactics.

Spain Arrests Individual in Massive Government Data Leak, Sparking National Security Concerns
Spanish authorities have arrested an individual responsible for leaking sensitive data of government employees from critical state organizations, including the National Cybersecurity Institute (INCIBE).
The Byte-Pulse Newsroom is the editorial system that produces Byte-Pulse's daily tech news coverage. Each story is cross-referenced across 3+ independent outlets, drafted with AI assistance by the newsroom system (Drafter → Editor → Fact-Checker → Polisher), and reviewed by Serhat Er, Editor-in-Chief, before publication. We disclose AI augmentation openly. Editorial accountability stays with the named editor on every article. Tips: editorial@byte-pulse.net.
Don’t miss these

Divergent Pricing Strategies of Apple and Microsoft Amid Rising Memory Costs
Apple and Microsoft are adjusting their prices in response to rising memory costs, but their strategies differ significantly, impacting consumers.
Tesla Model 3 vs Polestar 2: Choosing Your Next EV Wisely
A balanced breakdown of Tesla Model 3 and Polestar 2. Compare specs, performance, design, and more to find the right EV for you.

Apple's Price Increases: A Closer Look at Strategy and Consumer Impact
Apple's raised prices on Macs and iPads, but iPhones, Apple Watches, and AirPods remain unchanged. What does this mean for consumers?

Microsoft and Apple Price Increases: Navigating Rising Component Costs
Microsoft and Apple have both announced significant price increases, highlighting the pressures of rising component costs in the tech industry.

AI Chatbots Duel for 2026 World Cup Champion Prediction
Can artificial intelligence really predict the beautiful game? We put the leading AI chatbots to the test, feeding them the same prompts for the 2026 World Cup. Here's who came out on top, and how they got there.

Apple's Pricing Strategies: Analyzing the Impact of Rising Costs
Apple's price adjustments reflect a strategic response to rising component costs, while the iPhone's pricing remains unchanged for now.