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.

By Byte-Pulse Newsroom·AI-augmented editorial system·May 12, 2026·4 min read
Serhat Er — Founder & Editor-in-ChiefEdited bySerhat Er·Founder & Editor-in-Chief
Updated Sep 30, 2026
Reported fromGolem ↗
TeamPCP's Supply-Chain Attack Compromises 400+ NPM, PyPI Packages for Dev Credentials
Image source: Golem · Used under fair use for news reporting and commentary.

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.

Ad

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.

Sponsored · Affiliate link
Lock down your accounts

Hardware keys and password managers used by security pros.

Shop security gear →
Ad

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.

#security#supply-chain#npm#pypi#malware
Get the 5 tech stories worth your time — 3× a week

One short email. The most important Security news, fact-checked, no fluff. Free, unsubscribe anytime.

More from Security

About the author
AI-augmented editorial system

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.

HardwareAIGamingMobileSecurity
Editorially reviewed on . Spotted an error? Tell us.
From other sections

Don’t miss these

Nothing Ear (3) vs AirPods 4 ANC: The Right Earbuds For Your Ears
📱 Mobile

Nothing Ear (3) vs AirPods 4 ANC: The Right Earbuds For Your Ears

We cut through the hype to compare the rumored Nothing Ear (3) and AirPods 4 ANC, laying out the real trade-offs so you can decide for yourself.

By Serhat Er·1 day ago·10 min
Notion vs Obsidian: Which Knowledge Hub Fits Your Workflow?
💾 Software

Notion vs Obsidian: Which Knowledge Hub Fits Your Workflow?

Deciding between Notion and Obsidian? We break down the core differences in philosophy, data ownership, collaboration, and extensibility to help you choose.

By Serhat Er·Nov 03, 2026·9 min·🔥104
Lenovo Legion Go S vs. ASUS ROG Ally X: Which Next-Gen Handheld Earns a Spot in Your Backpack?
🎮 Gaming

Lenovo Legion Go S vs. ASUS ROG Ally X: Which Next-Gen Handheld Earns a Spot in Your Backpack?

Deciding between the Legion Go S and ROG Ally X? We break down every spec, every design choice, and every trade-off without picking a winner. Your perfect gaming handheld is here.

By Serhat Er·Oct 31, 2026·13 min
Apple M5 Pro vs. Apple M4 Pro: Projecting the Next Generation of Apple Silicon
⚙️ Hardware

Apple M5 Pro vs. Apple M4 Pro: Projecting the Next Generation of Apple Silicon

We project the likely advancements of the unannounced M4 Pro and M5 Pro chips, offering a balanced, speculative look at future performance and efficiency.

By Serhat Er·Oct 25, 2026·11 min
Sennheiser Momentum 4 Wireless vs Bose QuietComfort Ultra: Which Flagship Fits Your Daily Rhythm?
📱 Mobile

Sennheiser Momentum 4 Wireless vs Bose QuietComfort Ultra: Which Flagship Fits Your Daily Rhythm?

We lay out the real trade-offs between Sennheiser's long-distance runner and Bose's silence specialist, so your next premium audio choice is clear.

By Serhat Er·3 days ago·10 min
Steam Deck OLED vs MSI Claw 8 AI+: Which Handheld PC Earns Your Wallet?
🎮 Gaming

Steam Deck OLED vs MSI Claw 8 AI+: Which Handheld PC Earns Your Wallet?

Deciding between Valve's acclaimed handheld and MSI's latest Intel-powered challenger? We break down the specs, performance, and experience to help you choose your ideal portable gaming machine.

By Serhat Er·Oct 27, 2026·12 min
Ad
Cookies & ads

We fund this site through ads (Google AdSense and others) and use analytics to see what works. Both may set cookies. You decide what is OK — your choice is remembered.

Details in our Privacy Policy.