Skip to the stories
Tuesday, 27 October 2026
Saved

Next edition

10:28

Headlines

Threat Intelligence

Malicious Downloads folder files trick AI agents into running malware

Security firm Forever Security discovered that instruction files placed in local Downloads folders can trick AI coding agents into running malicious code and exposing login tokens.

FTMQ Security, written by our newsroom0 views

Share

Plain text files stored in a user's Downloads folder can trick artificial intelligence coding agents into altering settings, installing malware, or exposing login tokens, CyberSecurityNews and The Hacker News reported. Security firm Forever Security discovered the vulnerability after stopping an AI coding agent on a customer's system from installing a malicious package named function-color. The Hacker News and FTMQ Security reported earlier that researchers traced the unauthorized command to a malicious AGENTS.md file stored in the user's local Downloads folder. [1][3][11]

Forever Security conducted controlled tests to reproduce the vulnerability across multiple systems, CyberSecurityNews reported. The Hacker News reported that a malicious AGENTS.md file led OpenAI Codex to execute npm malware in over 90 percent of tests. The Hacker News and FTMQ Security noted that a separate attack path targeting Anthropic Claude Code successfully exposed user login tokens. [1][3][11]

Claude Code is a terminal coding agent created by Anthropic, an American software firm that released the Claude language model series in March 2023. As FTMQ Security reported earlier, AGENTS.md files contain machine-readable instructions that AI tools automatically parse and execute, creating an indirect prompt injection vector when untrusted files enter local storage directories. [9][11]

Share

In short

  • Forever Security stopped an AI agent from installing a malicious npm package named function-color on a customer system.
  • A malicious AGENTS.md file in the Downloads folder tricked OpenAI Codex into running npm malware in over 90 percent of tests.
  • Tests against Anthropic Claude Code demonstrated that malicious instruction files can expose user login tokens.

Sources

Every paragraph above points to the numbered items it rests on. Read the originals here.

  1. [1]Hackers Can Hijack OpenAI Codex and Claude Code Using Malicious Files in Downloads FolderCyberSecurityNews, 8h ago (the report this story comes from)
  2. [2]Hackers Can Hijack AI Agents Just by Planting Malicious Files in the Downloads FolderGBHackers News, 16h ago
  3. [3]Malicious File in Downloads Folder Tries to Trick AI Coding Agent Into Installing MalwareThe Hacker News, 19h ago
  4. [4]Malicious File in Downloads Folder Tries to Trick AI Coding Agent Into Installing MalwareThe Hacker News, 19h ago
  5. [5]Hackers Can Use DarkCore RAT to Hijack Gmail and WhatsApp Sessions Without PasswordsGBHackers News, 15h ago
  6. [6]Hackers Launch Mass Scanning Campaigns Using Public PHP2Shell Exploit ScriptsGBHackers News, 19h ago
  7. [7]Hackers Launch Mass Scanning Campaigns Using Public PHP2Shell Exploit ScriptsGBHackers News, 19h ago
  8. [8]Claude Code and Codex obey a file any website can drop in your DownloadsMartin Cid Magazine, 17h ago

Background

  1. [9]Claude (AI) on Wikipedia
  2. [10]Symbolic link on Wikipedia
  3. [11]Malicious AGENTS md files trick AI coding tools into executing rogue commands FTMQ Security, 1d ago
  4. [12]Attackers hijack three country code domains to obtain unauthorized Google certificates FTMQ Security, 16d ago

Our newsroom writes these reports with the help of software, from the 12 sources listed and nothing else, and checks them against those sources. Facts can still be wrong or move on; the originals are the record. Spotted a mistake? Write to daniel@monsterkong.com.

Earlier reports of ours on the same people and subjects.

More in Threat Intelligence

Get the day in one email

Reports like this one, the top news of the last 24 hours, every morning. Free, one email a day; readers can comment under every report.

By signing up you agree to our terms and privacy policy. Unsubscribe any time.

Comments

Loading

Join the conversation

Comments are open to readers of our daily email: the top news of the last 24 hours, every morning, free. Sign up and the comment box opens.

Already on the list? Enter the same address and we will send a sign-in link.

By signing up you agree to our terms and privacy policy. Unsubscribe any time.