supply-chain The Hacker News

TanStack Supply Chain Attack Led to Theft of 170 Private Repositories from CrowdSec

French cybersecurity firm CrowdSec has confirmed that threat actors cloned roughly 170 of its private GitHub repositories following the earlier supply-chain compromise of the popular open-source TanStack npm library. The adversary leveraged an unrevoked personal access token belonging to a departed engineer whose workstation was infected during the TanStack incident, underscoring critical weaknesses in offboarding workflows.

TanStack Supply Chain Attack Led to Theft of 170 Private Repositories from CrowdSec

French cybersecurity developer CrowdSec, recognized globally for its collaborative intrusion detection engine, has formally disclosed that an adversary exfiltrated source code archives encompassing approximately 170 private GitHub repositories. The incident clearly demonstrates how an upstream supply-chain attack can trigger lateral intrusions across corporate borders months after the initial infection.

The intrusion trajectory began in early 2026 when adversaries compromised maintainer accounts for the popular TanStack open-source library hosted on the npm package registry. A CrowdSec developer installed a backdoored iteration of the package on a development workstation, where an embedded infostealer siphoned active session tokens and personal access tokens (PATs) mapped to GitHub.

When the employee subsequently departed CrowdSec, the personal access token was omitted from the enterprise offboarding checklist. Because the cryptographic secret retained active authorization, the adversary queried CrowdSec's private GitHub organization weeks later, executing automated clone procedures across 170 private codebases.

CrowdSec's forensic analysis underscores crucial distinctions regarding the intrusion's operational impact. The threat actor merely executed read-only cloning operations. Comprehensive commit-log verification and cryptographic hash checks confirm that no source code was altered, no backdoor commits were introduced into production releases, and no client telemetry or databases were touched. Nevertheless, the compromise underscores the severe risks posed by persistent, unmonitored machine credentials.

Actionable Guidance for IT and Security Teams

  • Automate Credential Revocation During Offboarding: Ensure Identity Providers (IdP) integrate with GitHub Enterprise to automatically revoke all Personal Access Tokens (PATs), SSH keys, and OAuth grants instantly upon account deactivation.
  • Transition to Short-Lived, Fine-Grained PATs: Enforce organizational policies prohibiting legacy, non-expiring GitHub tokens. Require repository-scoped tokens with strict 7-to-30 day lifespans.
  • Monitor High-Volume Git Clone Telemetry: Establish alerting rules within your SIEM ingestion pipeline tracking anomalous `repo.download` events or bulk clone operations originating from residential or foreign IP addresses.
  • Enforce Phishing-Resistant Hardware MFA: Require FIDO2 WebAuthn hardware keys across all administrative and developer profiles to prevent session-cookie hijacking.

Evidence Status

  • Confirmed: CrowdSec published a comprehensive post-incident analysis confirming that 170 private repositories were cloned via a lingering access token.
  • Reported: The Hacker News and GBHackers verified the multi-stage attack chain and confirmed the link to the historic TanStack compromise.
  • Unconfirmed: The threat actor's geopolitical affiliation and subsequent underground monetization efforts remain under forensic review.

In Brief

  • French security firm CrowdSec confirmed 170 private GitHub repositories were cloned by an adversary.
  • The adversary used a personal token stolen during an earlier npm supply chain attack that was never revoked upon employee departure.
  • CrowdSec confirms no source code was altered and production environments remained uncompromised.

Sources & References

← All News Tools