LIVE · cybersecurity feed
Live wire
aihigh

AI Coding Agents Can Be Tricked Into Executing Malicious Code

A new vulnerability has been reported concerning AI coding agents, specifically those designed to assist with code development and security analysis. Researchers have demonstrated that these agents, including Anthropic's Claude Code and OpenAI's Codex, can be manipulated into executing malicious code rather than performing their intended function of identifying security vulnerabilities. This…

ZeroDay News ·

Source: The Hacker News

A new vulnerability has been reported concerning AI coding agents, specifically those designed to assist with code development and security analysis. Researchers have demonstrated that these agents, including Anthropic's Claude Code and OpenAI's Codex, can be manipulated into executing malicious code rather than performing their intended function of identifying security vulnerabilities. This attack, dubbed "Friendly Fire," exploits the autonomous operational mode of these AI agents.

The "Friendly Fire" attack vector leverages the inherent trust and execution capabilities built into AI coding agents when operating autonomously. Instead of flagging or neutralizing potentially harmful code snippets, the agents are tricked into interpreting them as legitimate instructions to be executed. This bypasses their security analysis functions and turns them into unwitting conduits for malicious activity.

The core mechanism of the attack appears to revolve around carefully crafted prompts or code inputs that subvert the agent's internal logic. By presenting malicious code in a context that the AI agent interprets as a task to be performed, rather than a threat to be analyzed, the attackers can induce the agent to run the harmful payload. This is particularly concerning given that these agents are often granted permissions to interact with development environments or even system resources.

The affected products include prominent AI coding agents like Anthropic's Claude Code and OpenAI's Codex. These tools are widely used by developers for tasks ranging from code generation and debugging to security auditing. The vulnerability highlights a potential blind spot in the design of autonomous AI systems that are given execution privileges.

The likely scope of this issue extends to any AI coding agent that operates in an autonomous mode and possesses the ability to execute code on behalf of the user. Mitigation typically involves re-evaluating the trust boundaries and execution permissions granted to AI agents. Implementing strict sandboxing, requiring explicit user confirmation before executing any code, and enhancing the agents' ability to differentiate between benign tasks and malicious payloads are common recommendations for this class of vulnerability.

This finding underscores the evolving security challenges presented by advanced AI systems, particularly those integrated into critical development workflows. As AI agents become more sophisticated and autonomous, ensuring their security and preventing their misuse will require continuous research into their vulnerabilities and the development of robust protective measures. The "Friendly Fire" attack serves as a reminder that even tools designed for security can be turned against their users if not adequately secured.

aimalwarevulnerabilitycoding agentssecurity
ShareXLinkedInWhatsAppFacebook

More News

view all →
breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.