logo

AI coding agents fall for malicious instructions planted in the Downloads folder

ID: 65edbde3-24fb-598f-b904-36a8c9e2da0f

STIX ID: report--65edbde3-24fb-598f-b904-36a8c9e2da0f

Feed Name: Help Net Security

Threat Score
70/100

Date Published: 2026-10-26

Date Updated: 2026-10-26

Author: Sinisa Markovic

...
...

Forever Security reported that attacker-supplied AGENTS.md and CLAUDE.md files placed in the Downloads folder can trick AI coding agents (notably OpenAI Codex and, to a lesser extent, Anthropic Claude Code) into installing malicious npm packages or sending the user's login token to an attacker; researchers observed the malicious npm package “function-color” in an active campaign and recommend avoiding running agents from Downloads, auditing instruction files, keeping sandboxes and approval prompts enabled, and rotating credentials if a planted file is found.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.