What we know
Confirmed by several sources
- A malicious AGENTS.md file in a customer’s Downloads folder attempted to direct an AI coding agent to install a rogue or known-malicious npm package. — The Hacker News, BleepingComputer
Reported by one source
- Forever Security said it stopped the agent before any code ran. — The Hacker News
- The file could also seek to expose a user’s login token when opened in the Downloads folder. — Help Net Security
- Forever Security could not determine how the file reached the folder. — The Hacker News
Open questions
- How the malicious file got into the customer’s Downloads folder. — The Hacker News
Coverage 3 publishers
BleepingComputerFirst report
AI coding agents hijacked using AGENTS.md file in Downloads folder
Researchers found a malicious AGENTS markdown instruction file in a customer's Downloads folder that tricked an AI coding agent into installing a rogue npm package.
-
Malicious File in Downloads Folder Tries to Trick AI Coding Agent Into Installing Malware
A malicious instruction file sitting in a developer's Downloads folder tried to make their AI coding agent install a known-malicious npm package, security firm Forever Security said in a report published last week. The company caught the…
-
AI coding agents fall for malicious instructions planted in the Downloads folder
A file that a website saves to the Downloads folder without approval can trick AI coding agents into installing a malicious npm package or handing over the user’s login token when they’re opened in that folder, Forever Security has found.…
Earliest report first. Articles stay on their publishers’ sites; each link opens the original.
