Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW
  • CPE

Snyk: TanStack NPM Attack: Critical Remediation Steps

Snyk
06/24/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


and your first instinct is to go revoke your github token, that will wipe your entire home directory. Not kidding, it's not hypothetical. The malware installed a background service that pulls github every 60 seconds using your stolen token, and the moment it gets a 400 error back, it returns rmrf on your root directory. Your code, your ssh keys, your project history, gone. This attack is not just a bad package got published story, it is one of the most technically sophisticated npm supply chain attacks documented. And the remediation order matters in a way that almost no one is talking about.

TL;DR

  • The TanStack npm attack installed malware that monitors GitHub API responses every 60 seconds using stolen tokens
  • Revoking your GitHub token before removing the malware triggers a destructive wipe of your entire home directory
  • This represents one of the most technically sophisticated npm supply chain attacks with remediation order being critical

Summary

This security alert details a sophisticated supply chain attack targeting the TanStack npm package on May 11th. The malware installs a persistent background service that monitors GitHub API responses using stolen tokens. If a compromised token is revoked—triggering a 400 error—the malware immediately executes a destructive command that wipes the entire home directory, including source code, SSH keys, and project history. The attack represents an advanced threat that requires careful, sequenced remediation rather than immediate token revocation. Security teams must understand the malware's behavior patterns and follow specific removal procedures before taking standard incident response actions like credential rotation.

Chapters

0:00 - Attack Discovery Warning
0:11 - Malware Behavior Explained
0:26 - Attack Sophistication Assessment

Key Quotes

0:07 "... that will wipe your entire home directory. Not kidding, it's not hypothetical."
0:16 "... the moment it gets a 400 error back, it returns rmrf on your root directory."
0:26 "This attack is not just a bad package got published story, it is one of the most technically sophisticated npm supply chain attacks documented."

FAQ

What should I do first if I was affected by the TanStack npm attack?

Do not immediately revoke your GitHub token. First, identify and remove the background service installed by the malware. Only after confirming the malware is completely removed should you proceed with token revocation and other standard incident response procedures.


Categories:
  • » Cybersecurity » Application Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Application Security
  • Threat Intelligence
  • DevSecOps
  • Technical Deep Dive
  • npm supply chain attack
  • TanStack compromise
  • malware remediation
  • GitHub token security
  • destructive payload
  • incident response procedures
  • software supply chain security
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Snyk: TanStack NPM Attack: Critical Remediation Steps

              View CPE Certificates

              Upcoming 360 View Events

              • Nov
                19

                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection

                11/19/202601:00 PM ET
                More events

                XStreaminars (watch here)

                • Nov
                  10

                  Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service

                  11/10/202601:00 PM ET
                  • Nov
                    12

                    Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision

                    11/12/202601:00 PM ET
                    More events

                    Industry Events (Sponsor Hosted)

                    • Nov
                      10

                      Agentic Shopping Trends: Insights for the 2026 Holiday Season

                      11/10/202601:00 PM ET
                      • Nov
                        12

                        Hands-On Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (Americas)

                        11/12/202601:00 PM ET
                        • Nov
                          18

                          Practical Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (International)

                          11/18/202608:00 AM ET
                          • Nov
                            19

                            Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents

                            11/19/202601:00 PM ET
                            • Nov
                              19

                              A Deep Dive into Muse, Dots, and Duet's Impact on Your Website

                              11/19/202601:00 PM ET
                              More events

                              Upcoming Webinar Calendar

                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service
                                https://www.truthinit.com/index.php/channel/2191/zendesk-from-ai-readiness-to-results-a-framework-for-transforming-it-service/
                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Agentic Shopping Trends: Insights for the 2026 Holiday Season
                                https://www.truthinit.com/index.php/channel/2219/agentic-shopping-trends-insights-for-the-2026-holiday-season/
                              • 11/12/2026
                                01:00 PM
                                11/12/2026
                                Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision
                                https://www.truthinit.com/index.php/channel/2192/leaving-vmware-means-leaving-vsan-your-vmware-exit-is-really-a-storage-decision/
                              • 11/12/2026
                                01:00 PM
                                11/12/2026
                                Hands-On Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (Americas)
                                https://www.truthinit.com/index.php/channel/2202/hands-on-workshop-connecting-on-prem-data-to-databricks-via-minio-aistor-americas/
                              • 11/18/2026
                                08:00 AM
                                11/18/2026
                                Practical Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (International)
                                https://www.truthinit.com/index.php/channel/2194/practical-workshop-connecting-on-prem-data-to-databricks-via-minio-aistor-international/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection
                                https://www.truthinit.com/index.php/channel/2076/securing-the-microsoft-enterprise-strengthening-configuration-management-identity-security-and-data-protection/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents
                                https://www.truthinit.com/index.php/channel/2181/zendesk-deep-dive-get-the-work-done-faster-with-employee-service-ai-agents/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                A Deep Dive into Muse, Dots, and Duet's Impact on Your Website
                                https://www.truthinit.com/index.php/channel/2228/a-deep-dive-into-muse-dots-and-duets-impact-on-your-website/
                              • 12/03/2026
                                01:00 PM
                                12/03/2026
                                CISO Insights: Steering Cybersecurity Strategies in an AI-Driven Era
                                https://www.truthinit.com/index.php/channel/2231/ciso-insights-steering-cybersecurity-strategies-in-an-ai-driven-era/
                              • 01/19/2027
                                02:00 PM
                                01/19/2027
                                HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.
                                https://www.truthinit.com/index.php/channel/2160/human-dialogue-embracing-the-rise-of-the-empowered-ai-consumer/
                              Truth in IT
                              • Sponsor
                              • About Us
                              • Terms of Service
                              • Privacy Policy
                              • Contact Us
                              • Preference Management
                              Desktop version
                              Standard version