Researchers at Adversa AI disclosed a prompt-injection method dubbed Cryptographic Context Injection that can reportedly make xAI's Grok web chat agent steal user data while summarizing a malicious webpage. The attack hides instructions inside ciphertext placed on a page alongside decryption steps and key material, allowing Grok's initial safety scanning to miss the payload and later decrypt and execute it inside its code execution environment. In proof-of-concept testing, the decrypted instructions caused Grok to collect data including chat history, prompts, the user's name, coarse location, and subscription tier.
The stolen information was then appended to a URL and sent to an attacker-controlled site, where it could be captured in server logs. Adversa said it reported the issue to xAI in June through HackerOne and followed up again in August, while claiming the flaw remained reproducible on Grok.com as of August 19. The researchers said the same technique also affected Google's Gemini by bypassing some safety filters to produce otherwise blocked content, although Gemini's environment reportedly prevented the same website-based exfiltration path because its Python tooling could not reach external sites.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
5 events from the most recent confirmed update back to the earliest known activity.
On August 20, 2026, reporting described Adversa's proof of concept showing that encrypted instructions on a malicious webpage could cause Grok to decrypt and execute them, then send user data to an attacker-controlled site via URL parameters.
According to Adversa, the cryptographic context injection technique remained reproducible against Grok.com as of August 19, 2026, allowing exfiltration of chat data such as user details and conversation history.
Adversa said it contacted xAI again on August 10, 2026, regarding the still-unfixed Grok cryptographic context injection issue.
Adversa said it made an additional attempt to raise the unresolved Grok issue with xAI on August 4, 2026, after its initial June disclosure.
Adversa said it notified xAI on June 3, 2026, including through HackerOne, about a prompt-injection technique called cryptographic context injection that could make Grok decrypt hidden instructions and exfiltrate user data.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
3 references tracked. Mallory keeps watching after this page renders.
thehackernews.com
Open sourcearstechnica.com
Open sourcetheregister.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.