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 Sabotage Iranian Ships Using Maritime Communications Terminals in Its MySQL Database Hackers Sabotage Iranian Ships Using Maritime Communications Terminals in Its MySQL Database Cyber Security News
Germany Urges Apple, Google to Block Chinese AI App DeepSeek Over Privacy Rules Germany Urges Apple, Google to Block Chinese AI App DeepSeek Over Privacy Rules Cyber Security News
Gemini MCP Tool 0-day Vulnerability Allows Remote Attackers to Execute Arbitrary Code Gemini MCP Tool 0-day Vulnerability Allows Remote Attackers to Execute Arbitrary Code Cyber Security News
Windows 11 Update to Block Untrusted Kernel Drivers Windows 11 Update to Block Untrusted Kernel Drivers Cyber Security News
Critical ScreenConnect Vulnerability Let Attackers Expose Sensitive Configuration Data Critical ScreenConnect Vulnerability Let Attackers Expose Sensitive Configuration Data Cyber Security News
Microsoft Intune MDM and Entra ID Leveraged to Elevate your Trust in Device Identity Microsoft Intune MDM and Entra ID Leveraged to Elevate your Trust in Device Identity Cyber Security News

Categories

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

Recent Posts

  • Critical cPanel Vulnerability Exploited by Hackers
  • TanStack npm Packages Compromised in Major Attack
  • Lyrie.ai Enhances AI Security with New Protocol
  • Hackers Exploit GitHub with Fake AI Repositories
  • Checkmarx Jenkins Plugin Compromised by TeamPCP

Pages

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

Archives

  • 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

  • Critical cPanel Vulnerability Exploited by Hackers
  • TanStack npm Packages Compromised in Major Attack
  • Lyrie.ai Enhances AI Security with New Protocol
  • Hackers Exploit GitHub with Fake AI Repositories
  • Checkmarx Jenkins Plugin Compromised by TeamPCP

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