Skip to content
Malware Installation via AI Coding Assistants Exploited

Malware Installation via AI Coding Assistants Exploited

First seen 24 Oct 2026, 16:14 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •October 24, 2026 at 17:14 UTC
  • •Hackers are using AI coding assistants to install malware via malicious text files.
  • •Files can be dropped into Downloads folders without user consent, allowing exploitation.
  • •The attack can lead to persistent malware installation across projects on affected systems.

Security firm Forever reported that hackers are exploiting AI coding assistants by using malicious instructions hidden in text files located in users' Downloads folders. These files can instruct the assistants to install malware, specifically linked to the MALFEX campaign. The attack method involves dropping files into the Downloads folder without user consent, allowing the AI to execute harmful commands. Forever demonstrated that when the AI assistant, such as OpenAI's Codex, processes these files, it can inadvertently install malware and alter system settings to maintain persistent access. The researchers noted that this method could compromise any project on the affected machine. While the exact method of file delivery remains unclear, the incident highlights the risks of AI assistants operating with extensive permissions. Forever's findings follow similar research demonstrating the potential for AI tools to be manipulated for malicious purposes.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-10-22
Malware installation method reported
Forever disclosed an incident where an AI coding assistant followed malicious instructions from a file in the Downloads folder.
Mashable

More articles in this cluster (4)

Following this threat?

Track Checkmarx in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

How do I know if I'm affected?
Check your Downloads folder for unfamiliar AGENTS.md or CLAUDE.md files and review their contents.
What should I do to protect my system?
Keep coding assistants out of your Downloads folder and enable sandboxing features to limit their access.
Is this attack widespread?
While specific incidents have been reported, the full scope of exploitation is still being assessed.