aiqbench analysis
Coding agents that read project instruction files can be steered by planted text, so a Markdown file in a download folder can cause real actions like changing settings, installing a malicious package, or exposing tokens. The attack needs several conditions to line up, including the victim running the agent in that folder and the agent having file, command, and network access. Developers using Codex, Claude Code, or similar tools should treat agent instruction files from untrusted sources as executable input and restrict agent permissions accordingly.
Hackers Can Hijack OpenAI Codex and Claude Code Using Malicious Files in Downloads Folder

A plain text file placed in the Downloads folder can trick AI coding agents into changing their settings, installing malware, or exposing login tokens. Forever Security discovered the risk after stopping an agent on a real customer’s computer from installing a known malicious npm package. The company later reproduced separate attack paths against OpenAI Codex […] The post Hackers Can Hijack OpenAI Codex and Claude Code Using Malicious Files in Downloads Folder appeared first on Cyber Security News.
A plain text file placed in the Downloads folder can trick AI coding agents into changing their settings, installing malware, or exposing login tokens. Forever Security discovered the risk after stopping an agent on a real customer’s computer from installing a known malicious npm package. The company later reproduced separate attack paths against OpenAI Codex and Anthropic Claude Code in controlled tests. The incident began when Forever Security blocked an AI coding agent from installing a package named function-color.…
Excerpt shown under the publisher's RSS terms · 79 words · full text and figures are on the publisher's site
Related coverage

MALFEX npm Malware Hides Executables in PNG Files to Infect Windows Developers
Cybersecurity News · Oct 8, 2026

14 Fake macOS Installers Linked to DPRK Campaign Deliver Credential-Stealing RAT
Cybersecurity News · Sep 4, 2026

Malicious npm Packages Deploy Cross-Platform RAT Targeting Alibaba Developers
Cybersecurity News · Jul 29, 2026

GoldenEyeDog Hackers Group Behind DigiCert Breach that Hijacks Code-Signing Certificates
Cybersecurity News · Jul 20, 2026