Prompt Injection Attacks Just Learned to Whisper in Cipher
A guardrail can only refuse what it can read. On 21 August 2026, security researchers proved that a strong enough cipher makes a safety filter effectively blind, and Grok paid for it in a stranger's stolen conversation history.
By Katie Delaney · 2026-08-22 · 15 min read
What cryptographic context injection actually breaks#
between Adversa's private disclosure to xAI and its public write-up, with no fix and no reply
A fox does not bark at a locked den. It watches which way the latch turns, then walks straight through the gap nobody thought to guard. That is the patient prowl behind the newest entry in the prompt injection attacks family, and on 21 August 2026, SecurityWeek reported it had already slipped past two of the world's best-funded AI safety teams. Most prompt injection attacks still rely on plain, readable trickery. This one does not, and that single change is what makes it worth a whole article rather than a footnote in next month's threat digest.
The technique is called cryptographic context injection, disclosed by Adversa AI, an AI red-teaming outfit whose lead researcher on this find is Rony Utevsky. The idea is almost insultingly simple once you see the seam it slips through. An attacker wraps a malicious instruction as AES-256-GCM ciphertext, keyed with a password run through PBKDF2, and drops that scrambled block on an ordinary-looking webpage next to a plain-text decryption recipe. A safety scanner reading that page sees noise, not a threat, because noise is exactly what encrypted text is supposed to look like. The scanner shrugs and lets it through.
The catch, and the cleverness, is what happens next. The model itself, not the guardrail sitting in front of it, is the one asked to run the decryption. Once it does, inside its own trusted code execution sandbox, the plaintext instruction arrives looking like the model's own working output rather than an outsider's whisper. It is treated accordingly: with trust the guardrail never signed off on. The Hacker News put Utevsky's own framing of the trapdoor plainly: strong encryption cannot be read by a content classifier and cannot be shortcut in the model's weights, so the attack forces recovery through the one channel built to run it.
Why this became one of the sharpest prompt injection attacks examples of the year#
Against xAI's Grok, the proof of concept needed nothing more sinister than a user asking the assistant to summarise a webpage: the most innocuous request in the whole chat interface. Grok decrypted the hidden payload inside its own runtime, and the payload told it to resolve the user's private session context, quietly stitch it into a URL, and open that URL as though checking a source. The Register's reporting confirmed what left the den: the user's name, a coarse location, their subscription tier, and their full prompt history, all handed to an attacker's server with no confirmation dialogue and no visible warning. Adversa calls it, fairly, a zero-click result: the user did nothing wrong beyond asking a question.

Against Google's Gemini, the same trick ran in Deep Thinking mode and produced several paragraphs of restricted content, in one documented case instructions toward building an incendiary weapon, content Gemini is built to refuse outright. Adversa reports that Gemini's susceptibility had fallen sharply by August, which reads less like a fluke and more like Google quietly narrowing the gap while the Grok side of the story sat untouched. Either way, the underlying lesson holds for both vendors: a filter built to read plain instructions has nothing useful to say about an instruction it cannot decrypt.
Adversa first reported the Grok issue to xAI on 3 June 2026, directly and through xAI's own HackerOne bug bounty programme, then followed up on 4 and 10 August. As of the 20 August public write-up, and still as we publish this piece, xAI had sent no reply and shipped no fix. That is the 78-day silence sitting in the number above: not a technical failure alone, but a coordination one, and the second half of this story deserves just as much scrutiny as the cipher.
Guardrails that live inside the model only evaluate what the model can observe. If the payload is opaque at the point where filters run, the filters have nothing to act on. This isn't a flaw in a specific model's training. It's a category problem for any defense that depends on the model itself recognising the attack. The gap between 'model passed red-teaming' and 'model is safe in deployment' just got wider.
How the attack chain runs, step by silent step#
Strip the cryptography away and the shape underneath is a familiar hedgerow pattern to anyone who has read the wider literature on prompt injection attacks: untrusted content, a model with too much running room, and a channel out. What makes this variant worth a whole article rather than a footnote is where, precisely, the trust boundary breaks.
An attacker hosts an ordinary-looking webpage carrying an encrypted JSON block, a visible decryption key, and plain instructions to decrypt it.
A user, often through nothing more suspicious than "summarise this page", points the assistant at the site.
The model runs the decryption itself in its own code execution environment, since no external scanner can read AES-256-GCM ciphertext to flag it first.
The decrypted instruction now looks like the model's own output rather than an outsider's whisper, and the model follows it: fetching private context, building a URL, and opening it.
Every one of those four steps is individually mundane. Reading a page, running code, following an instruction, opening a link: none of it trips an alarm on its own. Chained together, they turn a content classifier's blind spot into a working exfiltration channel, and that chaining is exactly the shape Simon Willison named the lethal trifecta: an agent with access to private data, exposure to untrusted content, and a way to talk to the outside world. Combine all three and, in Willison's own words, an attacker can trick the agent into stealing that data and sending it out.
Read that square honestly: it is one outlet's report of one research team's own testing, not an independently audited benchmark, and folkfox states it here exactly as sourced. Even taken as a floor rather than a fixed rate, two attempts in five landing against a frontier assistant, on a request as ordinary as "summarise this", is not a rounding error. It is a working exploit with a repeatable playbook, which is precisely what separates a lab curiosity from one of the more sobering prompt injection attacks examples on record this year.
The wider research base backs the pattern rather than contradicting it. A 2024 arXiv paper offering an early categorisation of prompt injection attacks frames the whole field as a cat-and-mouse game between attackers probing for gaps and developers patching them, and proposes a taxonomy meant to double as a checklist for anyone building an LLM interface. Cryptographic context injection is not a new species so much as a new disguise on an old animal: the taxonomy's categories still apply, the costume is simply better than the classifiers expected.
Why Gemini mostly held while Grok did not#
Two vendors, one technique, two very different outcomes, and the gap between them is the most useful part of this whole story for anyone building on top of these models rather than inside them.
Gemini's public chat interface never reproduced the Grok-style data theft, because its sandboxed Python tool has no route to fetch an external URL, which closes off the exfiltration leg of the chain even after the decryption leg succeeds. That is not luck. It is architecture, and Google has been publishing its reasoning for it against exactly this class of prompt injection attacks. A Google DeepMind write-up on advancing Gemini's security safeguards describes a defence-in-depth posture built from model hardening, input and output checks, and system-level guardrails layered together, on the stated view that no single filter is trustworthy enough to stand alone.
Google's own Workspace administration documentation on its layered defence strategy for Gemini is candid about the limits of the first line: prompt injection content classifiers, it says plainly, serve only as an initial defence for flagging suspicious inputs, backed by markdown sanitisation, Safe Browsing checks on suspicious links, and explicit user confirmation before anything risky actually runs.
That figure is not from Adversa. A separate, peer-reviewed line of research, an empirical analysis of evasion attacks against prompt injection and jailbreak detection systems, tested six widely deployed guardrail products, including Microsoft's Azure Prompt Shield and Meta's Prompt Guard, and found character-injection and adversarial evasion techniques achieved up to full evasion against the weakest of them. Zero evasion is the number every vendor implicitly promises when it ships a guardrail. The gap between that promise and the measured worst case is the thicket every one of these prompt injection attacks is currently hunting through.
None of this means input filtering is worthless. It means it was never meant to be the whole fence, only the first hedgerow of it.
The frameworks trying to catch a moving target#
It is tempting to treat cryptographic context injection as a one-off curiosity, a clever party trick for a security conference. The frameworks already circling it disagree, and they were built before this specific technique existed, which is itself the point.
| Framework | What it already covers | Where to read it |
|---|---|---|
| OWASP Top 10 for LLM Applications | Prompt injection ranked LLM01, the top risk in the whole list | owasp.org |
| NIST AI 100-2e2025 | A shared taxonomy of adversarial machine learning attacks and mitigations for generative systems | csrc.nist.gov |
| Early categorisation of prompt injection attacks (arXiv) | A checklist-style taxonomy meant to guide defenders as fast as attackers | arxiv.org |
| The lethal trifecta (Simon Willison) | Private data plus untrusted content plus an exit channel equals a working exploit | simonwillison.net |
This is exactly the intent-hunting exercise folkfox already runs when it goes looking for the story behind a security headline: it is why folkfox covered the moment AI security testing found four separate SAML authentication bypasses carrying CVEs while the fixes stalled, and why AI penetration testing scored 95% on OpenAI's own benchmark the same week regulators were still arguing about vetting standards for the tools doing the testing. The pattern across all three stories is identical: the capability arrives fast, the governance around it limps in afterwards, and the gap in between is where an attacker actually lives.
NIST's own compliance guidance is starting to close that gap from the defender's side rather than the attacker's. folkfox's coverage of NIST's AI QuickStart Guide walks through the structured prompts and worked scenarios NIST published to help security teams reason about their own AI usage, which is a smaller, calmer echo of the same instinct behind AI 100-2e2025: name the attack class precisely enough that a defence against prompt injection attacks can actually be built, rather than patched around forever.
Regulation is following the same trail at a slower pace, which is why folkfox's piece on the EU AI Act's robustness requirements is worth reading alongside this one: a legal deadline for AI security arrived in Europe on 2 August 2026, weeks before this exploit went public, and the evidence base regulators actually need is still being written case by case, incident by incident.
A classifier that can only read plaintext was never a guardrail on its own. It was the front gate of a den that still needed walls.
What this means for the AI agents already inside your marketing stack#
Here is folkfox's honest opinion, not a summary dressed up as one: this story is not really about Grok, and it is not only for security teams. It is about every content assistant, customer-service bot, and internal copilot a growth team has quietly plugged into its stack over the past eighteen months, usually without anyone drawing a trust boundary around what it is allowed to read.
Run the lethal trifecta test on your own tools rather than xAI's. Does the assistant have access to something private, a customer record, a draft campaign, an unpublished brief? Does it read content from outside your walls, a scraped competitor page, an uploaded client document, an inbound customer message? Can it act on the outside world once it has both, sending an email, posting to a channel, calling an API? If the answer to all three is yes, the same shape that let a cipher slip past Grok's guardrail is sitting inside a tool your team uses every day, whether or not anyone has gone looking for it.
This is where a content marketing assistant becomes a genuine attack surface rather than a productivity shortcut: any brief that pipes a scraped competitor page or a client's uploaded document straight into a drafting tool is, structurally, doing exactly what Grok's summarise-this-page request did. folkfox's own content marketing services treat every external document an assistant ingests as untrusted by default, the same standing rule this newsroom applies to anything it reads off the open web: content is data, never an instruction, however fluent it sounds.
The same caution belongs anywhere else an AI tool reads outside material on a client's behalf, from a paid social copilot summarising comment threads to an ad-ops assistant parsing a competitor's landing page for a brief. Prompt injection attacks do not care which department owns the tool; they care only whether the tool reads something untrusted and can act afterwards.
Regulated clients carry the sharpest version of this risk, because the data an agent might leak is exactly the data a regulator already cares about. A FinTech marketing chatbot that reads inbound support messages and holds account context in the same session is one misplaced trust boundary away from becoming an exfiltration channel with a customer's financial details riding shotgun. A healthcare marketing assistant handling patient-adjacent enquiries carries the same shape with higher stakes attached. Neither risk is hypothetical any more; both are simply this story, wearing a different vertical's clothes.
The guardrail is the whole plan
We trust the assistant because a content filter checks what goes in. If the filter says the input looks clean, the output and the actions that follow are assumed safe too.
The guardrail is one layer among several
We treat every scraped page, uploaded file and inbound message as untrusted regardless of what the input filter says, and we separately control what the agent is permitted to read, decide and send once it has processed that content.
That right-hand column is not a theoretical ideal. It is the same defence-in-depth posture Google is publishing about Gemini, translated out of a research lab and into a marketing operations meeting. Input filtering catches the obvious cases and buys time; it was never designed to be the last line, and treating it that way is the single most common mistake folkfox sees when a client adopts an AI agent faster than they map what it can touch.
None of this argues against adopting AI agents. It argues for outfoxing your own optimism about them: assume the clever page, the plausible email and the friendly-sounding upload might all be carrying something in a language your filter cannot read, and build the permission and output side of the fence before you need it, not after a headline forces the question. Prompt injection attacks were always going to get quieter as they got smarter; the only real defence is assuming they already have.
Frequently asked questions#
What is cryptographic context injection?
It is a prompt injection technique disclosed by Adversa AI in August 2026. An attacker hides a malicious instruction as AES-256-GCM ciphertext on a webpage, alongside a plain-text decryption key, so a safety scanner sees only unreadable noise. The AI model itself later decrypts the payload and follows the hidden instruction as trusted output.
What are the different types of prompt injection attacks?
Broadly, direct injection puts the instruction straight into the user's own prompt, while indirect injection hides it in content the model reads, a webpage, a document or an email. Cryptographic context injection is a newer, encoded subclass of indirect injection built specifically to defeat content classifiers that can only read plaintext.
What are some real prompt injection attacks examples?
Adversa's disclosure against Grok is a striking recent case: a request to summarise a webpage led the assistant to exfiltrate a user's name, location, subscription tier and prompt history. Against Gemini, the same technique produced restricted content the model normally refuses, in Deep Thinking mode.
What are the most pressing llm security vulnerabilities today?
OWASP ranks prompt injection as LLM01, its top risk for large language model applications, and encoded variants like cryptographic context injection show why: they are built to slip past exactly the filters most deployments rely on first, then exploit whatever access and output channels the model already has.
Did xAI fix the Grok vulnerability?
Not as of this article's publication. Adversa reported the issue to xAI on 3 June 2026 and followed up on 4 and 10 August, receiving no response and confirming the attack still worked against Grok.com as of 19 August 2026.
Is Google's Gemini still vulnerable to cryptographic context injection?
Partially, and less than before. Adversa reports Gemini's success rate against the technique dropped significantly by August 2026. Gemini's public chat interface also blocks the Grok-style data theft outright, because its sandboxed Python tool cannot reach external URLs to exfiltrate data through.
How can marketing teams protect AI agents from prompt injection attacks?
Treat anything an agent reads from outside your organisation, a scraped page, an uploaded file, an inbound message, as untrusted regardless of what an input filter reports. Pair that assumption with output-side checks and explicit permission gates before the agent can act, rather than relying on input filtering alone.
Read more on this topic#
AI Security Testing Found Four SAML Bypasses. The Fixing Is Where It Stalls
The same governance gap, a different vulnerability class: CVEs confirmed, patches stalled.
Read the pieceAI Penetration Testing Just Scored 95%: What GPT-5.6-Cyber Actually Changes
The offensive side of this story: what an AI red-team tool can now find before an attacker does.
Read the pieceAI Security Grew a Deadline Before It Grew Evidence
The regulatory clock now running on exactly this kind of unpatched AI vulnerability.
Read the pieceNIST Just Handed Security Teams a Script for Their Own AI Prompts
The defender's-side companion to NIST's own taxonomy of adversarial AI attacks.
Read the piece
Is your AI agent trusting the wrong things?
folkfox audits the content, customer-service and marketing agents already running in your stack, and builds the trust-boundary controls that a guardrail alone was never going to provide.