Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
TanStack npm Packages Compromised in Major Attack

TanStack npm Packages Compromised in Major Attack

Posted on May 12, 2026 By CWS

A recent security incident has compromised 84 npm packages associated with the TanStack namespace, posing a significant risk to continuous integration (CI) credentials. The attack, which occurred on the npm registry, involves the injection of malicious code targeting systems such as GitHub Actions.

Details of the Compromise

The malicious packages were uploaded to the npm registry at approximately 19:20 and 19:26 UTC. These compromised versions introduce a credential-stealing payload, specifically aimed at CI environments. Notably, 42 packages were affected, including the popular @tanstack/react-router, which boasts over 12 million weekly downloads.

This widespread usage amplifies the potential impact across the JavaScript ecosystem. The attack’s severity is categorized as HIGH due to its ability to extract sensitive information such as AWS, GCP, Kubernetes, and HashiCorp Vault credentials, as well as GitHub tokens and SSH keys.

Technical Analysis of the Payload

Each compromised package includes a new router_init.js file, approximately 2.3 MB in size, employing aggressive obfuscation techniques. These methods include hex-encoded identifier lookups, control-flow flattening, and dead-code injection, differing notably from standard minification practices.

The payload is designed to operate persistently by utilizing spawn-based daemonization and accessing critical environment variables. It can stage files in temporary directories, facilitating the exfiltration of harvested secrets through remote operations.

Response and Mitigation Strategies

Upon detection, TanStack has deprecated all 84 affected package versions, issuing a SECURITY warning. Collaboration with npm security has led to the removal of the malicious tarballs from the registry. Additionally, GitHub Actions cache entries have been cleared, and workflow security has been enhanced with new safeguards.

Developers who installed any @tanstack/* package during the specified times should consider their systems compromised. Essential actions include rotating all cloud and GitHub credentials, auditing logs for unusual activities, and reinstalling packages from clean lockfiles.

Furthermore, any package version containing “@tanstack/setup”: “github:tanstack/router#79ac49ee…” in its optionalDependencies field should be deemed malicious and addressed promptly.

Stay informed with the latest updates by following us on Google News, LinkedIn, and X.

Cyber Security News Tags:CI credentials, code injection, credential theft, developer security, GitHub actions, JavaScript, Malware, NPM, package compromise, Security, Software Security, supply chain attack, TanStack

Post navigation

Previous Post: Lyrie.ai Enhances AI Security with New Protocol
Next Post: Critical cPanel Vulnerability Exploited by Hackers

Related Posts

Hackers Abusing Legitimate Cloud and CDN Platforms to Host Phishing Kits Hackers Abusing Legitimate Cloud and CDN Platforms to Host Phishing Kits Cyber Security News
ASUS Armoury Crate Vulnerability Let Attackers Escalate to System User on Windows Machine ASUS Armoury Crate Vulnerability Let Attackers Escalate to System User on Windows Machine Cyber Security News
GlassWorm Campaign Expands via Malicious VSX Extensions GlassWorm Campaign Expands via Malicious VSX Extensions Cyber Security News
China-Nexus Hackers Actively Exploiting React2Shell Vulnerability in The Wild China-Nexus Hackers Actively Exploiting React2Shell Vulnerability in The Wild Cyber Security News
One Identity Upgrades Identity Manager for Stronger Security One Identity Upgrades Identity Manager for Stronger Security Cyber Security News
AI Security Frameworks – Ensuring Trust in Machine Learning AI Security Frameworks – Ensuring Trust in Machine Learning Cyber Security News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • Amazon Q Extension Flaw Risks Developer Cloud Credentials
  • CISA Identifies Critical RCE Vulnerability in PTC Software
  • GIFTEDCROOK Malware Exploits WinRAR to Steal Data
  • AI and Cybersecurity Updates: Major Breaches and Layoffs
  • Amazon Q Developer Flaw Exposes Cloud Credentials

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • Amazon Q Extension Flaw Risks Developer Cloud Credentials
  • CISA Identifies Critical RCE Vulnerability in PTC Software
  • GIFTEDCROOK Malware Exploits WinRAR to Steal Data
  • AI and Cybersecurity Updates: Major Breaches and Layoffs
  • Amazon Q Developer Flaw Exposes Cloud Credentials

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark