Malicious AGENTS.md file steers AI coding agent toward rogue npm package

First reported by BleepingComputer at · Updated · 4 sources

Researchers traced an attempted malware installation on a customer's machine to an instruction file in the Downloads folder. According to The Hacker News, Forever Security stopped the agent before any code ran, identified the targeted npm package as known malware and could not establish how the file arrived.

  • RuntimeWire reports that Gal Weizman and Omer Samet tested attacks against Codex and Claude Code.

Covered by 4 publishers within 25 hours of the first report.

Reporting4

BleepingComputer AI coding agents hijacked using AGENTS.md file in Downloads folder · Bill Toulas
The Hacker News Malicious File in Downloads Folder Tries to Trick AI Coding Agent Into Installing Malware · info@thehackernews.com (The Hacker News)

Related

Topics Anthropic