Back to Feed
Supply ChainOct 28, 2026

Hackers Hijack 42 GitHub Repositories to Plant Malware Traps for Claude, Gemini, and Cursor Users

Hackers compromise 42 GitHub repos to deliver malware via AI coding tools.

Attackers have compromised 42 legitimate GitHub repositories, embedding large malware files disguised as initialization scripts. These malicious files are designed to execute when developers open projects using AI coding assistants like Claude, Gemini, and Cursor, or IDEs like VS Code. The attackers manipulated repository history to mask their activity and used stolen credentials to gain access, aiming to create a self-sustaining ecosystem of stolen access and malicious package releases.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Claude?

Get an email when a new story names Claude, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Attackers used stolen credentials to compromise 42 legitimate GitHub repositories, embedding malware disguised as initialization scripts that execute automatically when developers open projects in AI-assisted IDEs like Claude, Gemini, and Cursor. This is a classic software supply chain attack: developers inherently trust repositories they clone, making malicious code embedded within them especially dangerous. The attackers further obscured their tracks by manipulating repository history, delaying detection. This matters because a single infected repository can silently compromise hundreds or thousands of developer machines, potentially cascading into broader organizational breaches through stolen tokens, secrets, and package publishing credentials.

What helps against this

How we list vendors

Indicators of Compromise

Extracted by AI from the linked source. Not reviewed by an editor. How this works

  • malware — testmetest
  • malware — TrapDoor
  • cve — CVE-2026-41940

Entities

Claude (product)Gemini (product)Cursor (product)VS Code (product)GitHub Actions (product)npm (technology)