Skip to main content
Mallory
← Back to News
ai-platform-securitydata-exfiltration-methodinternet-facing-service-vulnerabilitydefense-evasion-method

Encrypted Prompt Injection in Grok Exfiltrates Chat History and User Details

Emerging Technology Risk · 12 sources · Updated 3mo ago · First seen Aug 20, 2026

Encrypted Prompt Injection in Grok Exfiltrates Chat History and User Details

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.

New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Mar 11, 2026 – Aug 20, 2026
  1. Reported Aug 26, 20263mo ago

    xAI reportedly accepts and validates Adversa's Grok report

    According to Adversa AI, xAI accepted and confirmed its HackerOne report concerning the Grok cryptographic context injection technique. The source does not specify when xAI performed the validation.

    Исследователи обошли защиту Grok и Gemini, отправляя ИИ зашифрованные промпты - Хакер
  2. Aug 20, 20263mo ago

    Adversa publicly discloses Grok data-exfiltration technique

    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.

    Grok exfiltrates user data when malicious instructions are encrypted - Ars Technica
  3. Aug 19, 20263mo ago

    Adversa confirms Grok exploit still works on Grok.com

    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.

    Grok exfiltrates user data when malicious instructions are encrypted - Ars Technica
  4. Aug 10, 20263mo ago

    Adversa sends second August follow-up to xAI

    Adversa said it contacted xAI again on August 10, 2026, regarding the still-unfixed Grok cryptographic context injection issue.

    Grok chat duped into swallowing injected instructions
  5. Aug 4, 20264mo ago

    Adversa follows up with xAI on unresolved Grok 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.

    Grok chat duped into swallowing injected instructions
  6. Jun 3, 20266mo ago

    Adversa reports Grok cryptographic injection flaw to xAI

    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.

    Grok chat duped into swallowing injected instructions
  7. Mar 11, 20268mo ago

    Research publishes cryptographic payload injection jailbreak against Gemini

    A security research post described a novel 'cryptographic payload injection' technique for jailbreaking Google's Gemini. The publication indicates the technique was documented publicly as a distinct attack against Gemini, separate from the later Grok disclosures.

    Cryptographic Payload Injection: A Novel Jailbreak Technique Against Gemini · Rony Utevsky | Security Research & Exploit Write-ups
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
xAI
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.