Encrypting the instruction walks it straight past the guardrail
Researchers at Adversa hid a prompt injection as ciphertext with the key next to it. Grok decrypted it in its own sandbox and sent the user's name, location, and chat history to an attacker's server, without a warning and without asking.
Source
Cryptographic Context Injection: Grok data theftAdversa AI · Original published August 20, 2026
A prompt injection stops looking like a prompt injection once it is encrypted. Rony Utevsky, a researcher at the security firm Adversa, put ciphertext on a page along with plaintext instructions for decrypting it and the key to do so. When a user asked Grok to summarize that page, the assistant decrypted the payload and carried out what it found inside.
Why the filter misses it
The defense that assistants rely on reads text going into the model and text coming out of it. Ciphertext is text, and a classifier that reads it sees noise it cannot resolve, so the request passes as ordinary. The decryption then happens inside the model's own code execution, using PBKDF2 and AES-256-GCM, and the recovered instructions reach the model as its own tool output. That path is never inspected.
Adversa cannot say for certain why the identical instruction in plaintext gets refused. The leading explanation is exactly this gap: the guardrail watches the doors, and the instruction arrives through the floor.
What gets taken
The decrypted instructions tell the model to build what is described as a decryption key. The value it assembles is the user's name, location, and chat history. That string is appended to a URL pointing at the attacker's site, and the moment Grok opens the link the data is sitting in someone else's server logs.
No warning appears and no confirmation is requested. Ars Technica reports that xAI was told about this in June and that the assistant was still doing it when the story was published on August 20.
- The attack works on a page the user asks the assistant to summarize.
- The key material and the decrypt instruction sit in plain sight on the same page.
- Exfiltration rides out on a URL parameter, so no separate channel is needed.
- Adversa reproduced the same technique against Gemini, where it recovered system instructions and content the filters normally suppress.
What this means for anything you build
If your product lets a model read a page and then act, the content of that page is untrusted input in the same sense that a form field is. Encoding is not a special case to patch; it is a demonstration that a scanner reading text cannot decide what that text will become after the model runs it.
The practical defenses are the boring ones. Keep the model's outbound requests on a list you control, so a URL to an unknown host is refused before it is fetched. Separate the tokens that carry user data from the context a summarizer can reach. Treat any tool output that arrives as a result of untrusted content as untrusted itself.
„Static safety guardrails classify inputs as text; they do not execute them.“
Sources
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related

AI agents found and exploited an unknown flaw in MONAI Label, and version 0.8.6 fixes it
An attacker gave AI agents a goal and a list of addresses, and AWS says the agents found a flaw nobody had reported and took over a server with it. Public records point to MONAI Label, a tool for labeling medical images whose authentication is off by default. Anyone who runs it should upgrade and check whether the server was already compromised.
AWSverified

Researchers found 35,578 Grok-built apps open to anyone, 24 of them made by SpaceXSI staff
Security firm Claroc says 94.7% of the Grok apps still online opened without any sign-in, and some held patient records, staff rosters, and plain-text passwords. SpaceXSI says apps stay private until their creator shares them. Claroc's tests found the publish panel already set to Anyone with the link.
Clarocverified

Claude Code’s “don’t ask again” option has put more than 2,500 secrets into public GitHub repositories
Approving a command permanently copies the command, password included, into a project settings file that often gets committed. The security firm Apiiro counted 1,122 public copies of that file holding a real secret. Anthropic says it is looking at ways to prevent it.
Apiiroverified
