Cybersecurity news

Jessica Doner

Back to the list

Grok Zero-Click Attack Steals Chat Data Using Encrypted Prompt Injection

Cyber Security News,

A new attack uses encrypted data to trick Grok into stealing user information and chat history during a simple page summarization request.

Encryption and certificatesAI and security

Overview

A newly disclosed attack turns a routine summarize this page request in xAI's Grok web chat into a silent theft of user data. The method, named Cryptographic Context InjectionA protocol flaw where an attacker swaps or mixes state values inside a cryptographic handshake or verification step, hides attacker commands inside AESThe standard symmetric cipher today, with 128, 192 or 256-bit keys-256-GCM ciphertextThe scrambled message after a cipher runs (the plaintext above, shifted 7) so input filters never read them. This technique induces the model to decryptTurn ciphertext back into plaintext with the key and trust those commands as its own code-sandboxAn isolated test environment where a program can run without touching the rest of the computer output, bypassing static guardrailsSafety rules and filters built around an AI model to block harmful, private, or off-limits outputs that only classify text. The payloadThe part of an attack or malware file that carries out the harmful action on the target sits on an ordinary-looking webpage as an encryptedTurn plaintext into ciphertext with a key JSON object, next to key material and a short instruction to decrypt it in the agent's Python runtimeThe environment in which a program executes, or the period of time while the program is actively running. Once the sandbox returns plaintextThe readable message before it is protected, Grok treats that result as internal state rather than untrusted web content, allowing the agent to resolve private sessionAn active logged-in period of communication between a user or device and a server context and fold it into a fake decryption keyThe secret value that locks or opens a message. The proof of concept against Grok 4.5 Fast on grok.com resulted in a zero-click outcome on a live production system with no confirmation dialog or visible warning.

Terms in this story

Cryptographic Context Injection
A protocol flaw where an attacker swaps or mixes state values inside a cryptographic handshake or verification step. Security advisories warn about cryptographic context injection when a library fails to bind a signature or session state to one specific connection, letting an attacker reuse or forge proof.
AES
The standard symmetric cipher today, with 128, 192 or 256-bit keys. From laptop disk encryption and wireless networks to HTTPS traffic, AES is the workhorse cipher that protects everyday data, and even ransomware gangs use it to lock victims' files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
ciphertext
The scrambled message after a cipher runs (the plaintext above, shifted 7). When traffic is properly encrypted, anyone eavesdropping on the wireless network sees only unreadable ciphertext that looks like random noise without the decryption key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
decrypt
Turn ciphertext back into plaintext with the key. Authorized users decrypt protected messages or drives with their secret key, while ransomware victims must either restore from backups or obtain the attacker's key to decrypt their files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
guardrails
Safety rules and filters built around an AI model to block harmful, private, or off-limits outputs. Security stories test whether an AI assistant's guardrails hold up when a user or attacker crafts tricky prompts to ask for malware code or private company records.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
Encrypted
Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
plaintext
The readable message before it is protected. Breach reports note when a company stores passwords or customer records in plaintext, meaning anyone who breaks into the database can read them immediately without a key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
decryption key
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related