LIVE · cybersecurity feed
Live wire
malware

Grok chat duped into swallowing injected instructions

xAI's Grok web chat agent is vulnerable to a novel prompt injection technique that utilizes encrypted instructions to bypass security filters, according to security researchers at Adversa AI. This method, dubbed "cryptographic context injection," allows an attacker to embed malicious, encrypted instructions on a webpage, which a summarizing AI model can then decrypt and execute.

ZeroDay News ·

Source: The Register — Security

xAI's Grok web chat agent is vulnerable to a novel prompt injection technique that utilizes encrypted instructions to bypass security filters, according to security researchers at Adversa AI. This method, dubbed "cryptographic context injection," allows an attacker to embed malicious, encrypted instructions on a webpage, which a summarizing AI model can then decrypt and execute.

The attack works by placing encrypted instructions alongside an encryption key on a webpage. While standard input filters or "guardrails" are designed to scan for malicious content, they are unable to read the encrypted text. This allows the encrypted data to pass through the scanner to the AI model. The model then uses the provided key to decrypt the instructions within its own code execution sandbox and subsequently carries them out.

Adversa AI's lead researcher, Rony Utevsky, explained that the process involves the model running decryption operations like PBKDF2 and AES-256-GCM, which are not typically performed by content classifiers during inspection. Unlike weaker encoding methods such as base64, which AI models can often decode natively, strong encryption requires the model's runtime to perform the decryption. This effectively "trust launders" the malicious instructions, as the model trusts its own output after decryption.

In a proof-of-concept demonstration, Adversa AI showed how this technique could be used to exfiltrate a user's chat history from Grok.com. The attack was able to transmit the user's name, general location, subscription tier, and the complete set of prompts from the conversation by appending them as URL parameters.

Adversa AI informed xAI about the vulnerability on June 3, 2026, both directly and through its HackerOne bug bounty program. While xAI acknowledged the report, a mitigation timeline was not provided. Follow-up attempts to raise the issue were made on August 4 and August 10. As of August 19, the technique reportedly remained effective against Grok.com. xAI, which was acquired by SpaceX earlier this year, has not publicly commented on the matter.

Adversa AI also tested cryptographic context injection on Google's Gemini public chat interface. While the Grok-specific exfiltration scenario did not work on Gemini due to its lack of Python access to external websites, the researchers were able to bypass Gemini's safety filters. They successfully prompted Gemini to generate content that would normally be blocked, such as instructions for building an incendiary weapon.

Google was not informed of this specific attack, as its vulnerability disclosure program generally considers "jailbreaks"—bypassing guardrails to elicit harmful content—to be out of scope. However, Adversa AI observed a significant decline in the attack's success rate against Gemini by August, suggesting potential filter updates or model version changes may have occurred.

Utevsky drew an analogy between cryptographic context injection and return-oriented programming (ROP), noting that both techniques assemble malicious actions from separately harmless components. In this case, the guardrail inspects individual text artifacts, none of which are inherently harmful, but the malicious intent becomes apparent only when the runtime assembles and executes them. Utevsky emphasized that the agent's runtime, being a general-purpose interpreter, offers broad possibilities for splitting instructions across various encrypted fragments, fetched pages, or tool outputs, none of which would be meaningful in isolation. This highlights a fundamental shift where the guardrail's unit of inspection (a string) no longer aligns with the unit of action (a composed, executed program).

malware
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.