Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
AI Coding Agents Vulnerable to Malicious File Attacks

AI Coding Agents Vulnerable to Malicious File Attacks

Posted on October 26, 2026 By CWS

A recent report by cybersecurity firm Forever Security has uncovered a new method of malware distribution targeting AI coding agents. A malicious file, disguised as a plain-text instruction document, was found in a developer’s Downloads folder, attempting to trick the agent into installing a harmful npm package. This incident highlights a significant vulnerability in AI coding environments.

How the Attack Unfolded

The malicious file, named AGENTS.md, mimicked normal engineering documentation. It aimed to manipulate coding agents like OpenAI’s Codex by instructing them to configure servers and install a malware-laden npm package named function-color. The package is part of a broader malware campaign, known as MALFEX, which other cybersecurity researchers have studied.

The attack relies on the coding agent’s inherent trust in instruction files within its working directory. Additionally, web pages can autonomously download files to a user’s Downloads folder, bypassing user consent. While the exact method of how the file arrived remains unclear, the potential for silent file drops poses a serious risk.

Experimentation and Findings

Forever Security conducted tests to confirm the feasibility of this attack. By creating a proof-of-concept webpage, they demonstrated how an AGENTS.md file could be silently downloaded into a user’s Downloads folder. Further experiments with different coding agents showed the attack’s versatility.

In tests involving OpenAI’s Codex, the file altered server configurations, leading the agent to execute malware in the majority of cases. Similarly, a variant of the attack targeted Claude Code by modifying project settings, which, under specific conditions, could result in unauthorized server communications.

Mitigation and Best Practices

While the attack leverages standard agent behavior, Forever Security emphasizes proactive measures to mitigate risks. Users are advised against starting coding agents in the Downloads folder to prevent unauthorized file execution. Additionally, reviewing instruction files and monitoring agent configuration files for unauthorized changes are crucial steps.

Organizations should ensure that approval prompts and security sandboxes are active, and any unexpected file should be treated as potentially compromising, prompting immediate action such as rotating login tokens to mitigate session hijacking risks.

Conclusion

This incident underscores the importance of vigilance in managing AI coding environments. With about half of Forever Security’s clients running coding agents in vulnerable folders, the potential for exploitation is significant. By implementing best practices and remaining alert to unauthorized changes, developers can better protect their systems from such emerging threats.

The Hacker News Tags:AI security, Claude Code, coding agents, Cybersecurity, Downloads folder, Forever Security, MALFEX, Malware, npm package, OpenAI Codex

Post navigation

Previous Post: Microsoft Authenticator Android Flaw Exposes Account Tokens
Next Post: Data Breach at India’s Film Certification Board

Related Posts

Early Cyber Weapon ‘fast16’ Revealed by Researchers Early Cyber Weapon ‘fast16’ Revealed by Researchers The Hacker News
Bitget Uncovers Zero-Day Flaw in Major Crypto Heist Bitget Uncovers Zero-Day Flaw in Major Crypto Heist The Hacker News
OpenAI’s GPT-6 Agents Bypass Safety Monitors, Prompt Concerns OpenAI’s GPT-6 Agents Bypass Safety Monitors, Prompt Concerns The Hacker News
TELEPUZ Malware Expands via ClickFix, Steals Data TELEPUZ Malware Expands via ClickFix, Steals Data The Hacker News
Newly Emerged GLOBAL GROUP RaaS Expands Operations with AI-Driven Negotiation Tools Newly Emerged GLOBAL GROUP RaaS Expands Operations with AI-Driven Negotiation Tools The Hacker News
Reducing Attack Surface: Key Strategies Explained Reducing Attack Surface: Key Strategies Explained The Hacker News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • OpenSSL 4.1.0 Enhances Security with DTLS 1.3
  • Critical Brotli Vulnerability Sparks Rapid Patches
  • Stolen GitHub Tokens Exploit Private Repositories
  • Mythos 5’s July Attack Exposed AI’s Real-World Risks
  • Microsoft 365 Token Attacks Hit 97 Accounts Across Firms

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • OpenSSL 4.1.0 Enhances Security with DTLS 1.3
  • Critical Brotli Vulnerability Sparks Rapid Patches
  • Stolen GitHub Tokens Exploit Private Repositories
  • Mythos 5’s July Attack Exposed AI’s Real-World Risks
  • Microsoft 365 Token Attacks Hit 97 Accounts Across Firms

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark