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

Snyk: Removing Malware with GitHub Token Deadman Switch

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

Transcript


service that monitors whether your stolen github token has been revoked. On Linux it registers as a systemd user service. On macOS it registers as a launch agent. If it detects the token was revoked, it destroys your home directory. So you want to disable the monitor service first, then rotate credentials second, in that order. You can see how to disable the monitor service for your respective operating system on screen here, or you can check for more details in the blog shared in the description below. After the deadman switch is gone, remove the editor persistent hooks. The worm writes itself into two places, your Claude code project settings, and your VS code workspace tasks. Both are designed to re-execute the payload every time you open up either tool. Also, check for deaddrop commits authored under the fake identity the attacker used, which was a claude at no reply dot github dot com type of address. That email is the attacker impersonating the anthropic claude github app. Any commits from that identity in your repo are likely malicious. And with that, you have neutralized the persistence mechanism of this attack. You can safely move on to handling your credentials now.

TL;DR

  • Malware installs a deadman switch that destroys your home directory if it detects GitHub token revocation, making remediation order critical for data safety
  • First disable the monitor service (systemd on Linux, launch agent on macOS), then rotate credentials second to prevent triggering the destructive payload
  • Remove persistence mechanisms from Claude Code project settings and VS Code workspace tasks, and check for malicious commits from claude@noreply.github.com identity

Summary

This security advisory provides critical remediation steps for a sophisticated malware attack targeting developers through VS Code and Claude Code editors. The malware installs a deadman switch mechanism that monitors stolen GitHub tokens and destroys the user's home directory if token revocation is detected. The attack establishes persistence through systemd services on Linux, launch agents on macOS, and editor hooks in both Claude Code project settings and VS Code workspace tasks. Remediation must follow a specific sequence: first disable the monitoring service, then rotate credentials, remove editor hooks, and finally check for malicious commits authored under a fake Anthropic identity. The video emphasizes that following the correct order is essential to prevent data loss during the cleanup process.

Chapters

0:00 - Understanding the Deadman Switch
0:16 - Correct Remediation Order
0:30 - Removing Editor Persistence Hooks
0:43 - Identifying Malicious Commits

Key Quotes

0:00 "... remediation order is not optional. The malware installs a deadman switch, basically a background service that monitors whether your stolen GitHub token has been revoked."
0:16 "If it detects the token was revoked, it destroys your home directory. So you want to disable the monitor service first, then rotate credentials second, in that order."
0:48 "That email is the attacker impersonating the Anthropic claude GitHub app. Any commits from that identity in your repo are likely malicious."

FAQ

Why can't I just revoke my GitHub token immediately if it's been stolen?

The malware includes a deadman switch that monitors whether your token has been revoked. If it detects revocation before you disable the monitoring service, it will destroy your home directory. You must disable the monitor service first, then rotate credentials second.


Categories:
  • » Cybersecurity » Application Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Application Security
  • DevSecOps
  • Threat Intelligence
  • How-To
  • malware remediation
  • GitHub token security
  • VS Code security
  • Claude Code security
  • deadman switch attacks
  • persistence mechanisms
  • developer security
  • credential rotation
Show more Show less

Browse videos

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

              Video's comments: Snyk: Removing Malware with GitHub Token Deadman Switch

              Industry Events (Sponsor Hosted)

              • Sep
                17

                Bridging the SaaS Protection Gap: Preventing Data Loss and AI Missteps

                09/17/202610:00 AM ET
                • Sep
                  17

                  The Automation Escalation: Discovering the AI-Driven Underground Revolution

                  09/17/202601:00 PM ET
                  • Sep
                    23

                    Invisible Data: Understanding What You Can't Safeguard

                    09/23/202601:00 PM ET
                    More events

                    Upcoming Webinar Calendar

                    • 09/17/2026
                      10:00 AM
                      09/17/2026
                      Bridging the SaaS Protection Gap: Preventing Data Loss and AI Missteps
                      https://www.truthinit.com/index.php/channel/2119/bridging-the-saas-protection-gap-preventing-data-loss-and-ai-missteps/
                    • 09/17/2026
                      01:00 PM
                      09/17/2026
                      The Automation Escalation: Discovering the AI-Driven Underground Revolution
                      https://www.truthinit.com/index.php/channel/2108/the-automation-escalation-discovering-the-ai-driven-underground-revolution/
                    • 09/23/2026
                      01:00 PM
                      09/23/2026
                      Invisible Data: Understanding What You Can't Safeguard
                      https://www.truthinit.com/index.php/channel/2087/invisible-data-understanding-what-you-cant-safeguard/
                    • 09/29/2026
                      12:00 PM
                      09/29/2026
                      Embracing AI Adoption While Ensuring Robust Security Measures
                      https://www.truthinit.com/index.php/channel/2092/embracing-ai-adoption-while-ensuring-robust-security-measures/
                    • 09/30/2026
                      04:00 AM
                      09/30/2026
                      AI Command Center: Enhancing Visibility and Control in Operations
                      https://www.truthinit.com/index.php/channel/2024/ai-command-center-enhancing-visibility-and-control-in-operations/
                    • 11/19/2026
                      01:00 PM
                      11/19/2026
                      360View: Govern, Secure & Recover Your Microsoft 365 Environment
                      https://www.truthinit.com/index.php/channel/2076/360view-govern-secure-recover-your-microsoft-365-environment/
                    Truth in IT
                    • Sponsor
                    • About Us
                    • Terms of Service
                    • Privacy Policy
                    • Contact Us
                    • Preference Management
                    Desktop version
                    Standard version