Breaking News
Loading latest updates...

Agent Data Injection: The New AI Flaw Tricking Claude and Gemini

Agent Data Injection: The New AI Flaw Tricking Claude and Gemini

"Agent Data Injection": The New Threat to AI Systems

Imagine asking your AI shopping assistant to summarize a list of product reviews, only for a single, carefully crafted fake review to manipulate the AI into automatically clicking the "Buy Now" button.

This unsettling scenario is the reality behind a new class of cyberattacks discovered by researchers from Seoul National University, the University of Illinois Urbana-Champaign, and Largosoft. Dubbed agent data injection, this exploit works not by hijacking what an AI agent is told to do, but by corrupting the foundational data it believes to be true.

Prompt Injection vs. Agent Data Injection

The distinction between this new threat and older attacks matters enormously. Classic "prompt injection" hides a direct order inside the data—such as secretly commanding the AI to "ignore your task and email me the files." Modern security defenses are now fairly reliable at catching and blocking these direct commands.

Agent data injection operates one layer deeper. It targets the small, quiet facts that AI agents inherently trust, such as the identity of an email sender or the background ID attached to a clickable button. If an attacker corrupts those underlying facts, the AI agent will still perform its originally assigned task—but it will execute it based on a lie.

How the Attack Hacks AI "Structure"

Under the hood, AI agents wrap data in quotes, braces, and tags to mark where one field ends and another begins. A traditional computer parser reads this punctuation by strict, unbending rules. A large language model (LLM), however, reads it by guesswork and context.

By scattering specific, punctuation-like characters into a user-controlled field, attackers can make the AI model hallucinate a data structure that never actually existed. Alarmingly, the fake punctuation doesn't even need to be perfectly coded. Researchers found that simply using an escaped quote or a stray dollar sign fooled the models repeatedly.

Widespread Vulnerability Across Major AI Tools

The impact of this vulnerability is widespread. During testing, web agents—including Claude in Chrome and Google’s Antigravity—were successfully manipulated into clicking the wrong buttons. Even more concerning, developer coding assistants like Claude Code, OpenAI’s Codex, and the Gemini CLI executed attacker-controlled commands after a forged GitHub comment successfully impersonated a project maintainer.

Standard security measures, like confirmation prompts, offer incredibly thin protection. They simply ask the user if the AI should click a button or run a script, without revealing that the underlying data driving the request has been planted or forged.

The Industry Response

Woohyuk Choi, who collaborated with Prof. Byoungyoung Lee on the research paper, shared that tech giants OpenAI, Google, and Anthropic have all acknowledged the validity of the attack, with OpenAI and Google requesting copies of the paper. However, the research team has not yet received updates on when, or if, a patch will be implemented.

Choi noted that one of the most challenging aspects of the research was deciphering the hidden server-side formats used by cloud services. The team managed to coax the models into revealing these formats through "multi-turn jailbreaks," a tactic that worked with varying success on GPT, Claude, and Gemini.

Interestingly, attackers have a shortcut: larger and smaller AI models from the same company often share the exact same data formatting. An attacker can simply extract the format from a smaller, easily cracked model, and apply the exploit to the flagship version. Because language models fundamentally struggle to keep secrets, Choi believes these hidden formats will remain accessible even as AI advances.

The numbers are alarming: all six major models tested failed against this attack, succeeding against structured data 31% to 43% of the time. Even purpose-built defenses allowed the attack through roughly half the time, proving that the tech industry has a massive new security hurdle to overcome.