Now, defenders are embracing the prompt injection, too

Ars Technica News

Summary

Tracebit introduces 'context bombing,' a technique that uses prompt injections as defensive decoys to halt AI hacking agents, reducing admin compromise from 57% to 5% across tests with leading LLMs.

<p>Prompt injections, the malicious commands attackers embed into content to entice large language models to follow them, have been attackers’ go-to tool for turning AI platforms against their users. A well-phrased command sneaked into an email or calendar invitation is often all it takes to cause the LLM to exfiltrate sensitive data or follow other harmful actions.</p> <p>Now, defenders are embracing the prompt injection, too.</p> <h2>A strong, sharp effect</h2> <p>Researchers from <a href="https://tracebit.com">Tracebit</a> on Monday <a href="https://agentic.tracebit.com/context-bombs/">said</a> they found that placing prompt injections alongside passwords, cryptographic keys, and other secrets stored on Amazon Web Services was often all that was needed to shut down attacks from AI hacking agents. The prompts direct the attacking LLM to perform an action forbidden by its guardrails, the safety barriers AI developers erect to prevent it from taking harmful actions. The LLM responds by shutting down.</p><p><a href="https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/">Read full article</a></p> <p><a href="https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/#comments">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 07/13/26, 07:54 PM

# Now, defenders are embracing the prompt injection, too Source: [https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/](https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/) Prompt injections, the malicious commands attackers embed into content to entice large language models to follow them, have been attackers’ go\-to tool for turning AI platforms against their users\. A well\-phrased command sneaked into an email or calendar invitation is often all it takes to cause the LLM to exfiltrate sensitive data or follow other harmful actions\. Now, defenders are embracing the prompt injection, too\. ## A strong, sharp effect Researchers from[Tracebit](https://tracebit.com/)on Monday[said](https://agentic.tracebit.com/context-bombs/)they found that placing prompt injections alongside passwords, cryptographic keys, and other secrets stored on Amazon Web Services was often all that was needed to shut down attacks from AI hacking agents\. The prompts direct the attacking LLM to perform an action forbidden by its guardrails, the safety barriers AI developers erect to prevent it from taking harmful actions\. The LLM responds by shutting down\. Examples are a prompt that orders the LLM to provide steps for developing inhalable Anthrax spores, or, in the case of LLMs from Chinese developers, make references to the iconic Tank Man from the 1989 Tiananmen Square massacre\. Once the LLM encounters these forbidden commands, it no longer follows its existing commands\. The researchers have named the technique context bombing\. “Ultimately we’re triggering a refusal mechanism in the context,” Andy Smith, co\-founder and CEO of Tracebit, said when explaining the name choice\. “What we’re trying to capture is the fact that this does have a strong, sharp effect and one that can be difficult for the agents to come back from\. Once they get that into their context they are going to keep refusing\.” Tracebit says initial testing suggests context bombing has great potential\. They tested Opus 4\.8, Gemini 3\.1 Pro, GLM 5\.2, DeepSeek 4 Pro, and Kimi 2\.6 by giving them instructions to perform routine developer tasks that led the models to enumerate resources and stumble onto the planted strings\. They ran the models inside a simulated AWS environment\. “Across five leading models and 152 attack runs, planting one of these strings in a decoy secret cut the rate at which agents seized full account admin from 57% to 5%, and complete compromise \(where they also left themselves a persistent foothold\) from 36% to 1%,” Monday’s post reported\. “The most capable agent in our tests, Opus 4\.8, went from achieving admin access in 93% of runs to failing every single time when confronted with a context bomb\.”

Similar Articles

Understanding prompt injections: a frontier security challenge

OpenAI Blog

OpenAI publishes guidance on prompt injection attacks, a social engineering vulnerability where malicious instructions hidden in web content or documents can trick AI models into unintended actions. The company outlines its multi-layered defense strategy including instruction hierarchy research, automated red-teaming, and AI-powered monitoring systems.

Designing AI agents to resist prompt injection

OpenAI Blog

OpenAI publishes guidance on designing AI agents resistant to prompt injection attacks, arguing that modern attacks increasingly use social engineering tactics rather than simple string injections, and advocating for system-level defenses that constrain impact rather than relying solely on input filtering.