TanStack Supply Chain Attack Impacts CrowdSec Codebase
Score: 6/10

TanStack Supply Chain Attack Impacts CrowdSec Codebase

The TeamPCP threat group utilized backdoored TanStack npm packages to harvest credentials from a former CrowdSec employee, leading to the theft of 170 private GitHub repositories.

Executive Summary

In May 2026, the security firm CrowdSec suffered a source code leak involving approximately 170 private GitHub repositories. The incident was traced back to a supply chain compromise of the widely used TanStack npm package repository (CVE-2026-45321). The threat actor, identified as TeamPCP (also tracked as UNC6780), utilized a malicious version of these packages to deploy the 'Shai Hulud' malware, which specialized in credential and token harvesting.

The technical analysis indicates that a former CrowdSec employee’s personal laptop was infected by a backdoored TanStack package, allowing the attacker to obtain a GitHub OAuth token. This token was used on May 22, 2026, to clone the organization's private codebase. Although CrowdSec's core infrastructure and databases remained secure, the leak included sensitive internal components such as data science models, the proprietary Consensus Algorithm for IP blocklisting, and PII of 83 users and 51 historical investors.

This event underscores the critical risks posed by supply chain dependencies in the JavaScript ecosystem. While the functional impact on CrowdSec's network security operations was limited due to scoped tokens and legacy code rotation, the exposure of internal algorithmic thresholds could facilitate future evasion attempts against their IP reputation systems.

Key Details

Threat Name

TanStack Supply Chain Attack

Affects

Salt, Mitel, Apache Software Foundation, TanStack npm packages

Adversary

TeamPCP

Malware/Tools

Shai Hulud, TanStack

Report Score

6out of 10
Quality Score
Fair
IOC Quality4
TTP Details6
Detection Guidance5
Enterprise Relevance8
Clarity & Structure9
Technical Depth6

Sources