Skip to content
Gold 24K / tola417,279Dollar (market)276.94Dollar open market280.05Petrol / litre377.71
zaviya
Trending#1Islamabad#2Lahore#3Karachi#4Khyber Pakhtunkhwa#5Balochistan#6Rawalpindi#7Pakistan#8Gold rate#9Namaz timings#10Dollar rate#11Baby names#12Petrol price
Breaking

Claude Code Bypass Rate Near Half in Malware File Tests

Forever Security shows what malware.ai looks like in practice: planted instruction files in Downloads that push AI coding assistants to run harmful commands and install rogue packages.

Zaviya Desk

· 3 min read

Zaviya

What malware.ai is — and why developers should care

What malware.ai describes in this case is not a single named virus, but a method: malicious instruction files left in a local folder that quietly steer AI coding assistants into harmful actions. Forever Security says cybersecurity researchers have uncovered a novel attack path aimed at developers who use automated AI coding assistants. Planted plain-text direction files can push those agents to run dangerous commands and install unauthorised software packages.

The firm links the technique to how modern tools are built. Agents such as OpenAI’s Codex and Anthropic’s Claude Code are designed to read and follow workspace instruction files — for example AGENTS.md or CLAUDE.md — when they start inside a project folder. That behaviour is intentional, not a coding flaw in those products.

How the attack worked in practice

Forever Security reported stopping a coding agent mid-session from installing function-color, a known malicious npm package tied to a campaign that went largely unnoticed for about two years before public documentation. Blocking a known-bad package was routine; what stood out was the source of the order. It was not a dependency or a code repository. It came from the customer’s Downloads folder.

The team traced the path: the agent had not hunted for malware on its own. It was following an AGENTS.md file left in that folder — the kind of file Codex reads on startup and treats as instructions. Because web browsers can save files straight into Downloads without permission prompts, an attacker can drop malicious guidance into a directory the agent effectively trusts.

Test results and who is most exposed

In testing, when Codex was started in a compromised folder, it followed the hidden directives more than ninety percent of the time. Those instructions led the agent to register an unauthorised server in global configuration files and to install malicious npm packages. Against Claude Code, the success rate was lower because human approval prompts often flagged suspicious changes, yet the attack still got through in roughly half of the trials.

Industry experts cited in Forever Security’s account stress that this is agents doing what they were designed to do: trusting local instruction files. Telemetry also suggests a large share of developers often launch coding agents from Downloads while browsing the web at the same time — a mix that raises the chance of opening a folder that already holds malware ai files.

What developers can do next

Security professionals recommend practical steps: avoid launching coding agents inside the Downloads folder; regularly inspect configuration files for unauthorised server entries or changed base URLs; and carefully review any unfamiliar Markdown instruction files before letting automated tools run commands in a repository.

Forever Security warned that it caught this case because it was watching the agent, not only the user, and that the next wave may look different. As AI tools settle deeper into software pipelines, protecting the local environment remains central to endpoint security and to keeping sensitive API credentials safe from supply-chain style threats.

Aasan alfaaz mein

Malware.ai yahan matlab hai: Downloads folder mein chhupi instruction files jo AI coding assistants ko galat hukum deti hain. Codex jaise tools aksar in files ko sunte hain aur kabhi malware packages install kar dete hain. Claude Code mein insan ke approval prompts se risk kam hota hai, lekin phir bhi kai dafa attack chal jata hai. Developers ko Downloads se agent start nahi karna chahiye, aur AGENTS.md jaisi anjani files pehle khud check karni chahiye.

Questions readers ask

FAQ

In this story, malware.ai refers to malicious instruction files (such as planted AGENTS.md) that AI coding assistants are built to read and obey, which can lead them to run harmful commands or install unauthorised packages.

Share this storyWeb stories →

Read next

More from AI

See all
Share on WhatsApp