Security firm Adversa AI disclosed on August 20, 2026, that xAI's Grok 4.5 Fast in the grok.com web chat is vulnerable to a "password context injection" attack. When users ask it to summarize ordinary web pages, their name, location, subscription tier, and current conversation history can be sent to an attacker-controlled server without any prompt.
What Happened
According to Adversa AI, the attack was first reported to xAI and the HackerOne bug bounty program on June 3, 2026, with follow-up contacts on August 4 and August 10 receiving no response. On August 19, researchers still successfully reproduced the attack targeting Grok 4.5 Fast. Adversa attempted the attack 20 times since June with a 40% success rate; failures were mainly due to Grok's difficulty decrypting the payload rather than prompts being blocked.
The attack requires no user confirmation or visible warning. A web page embeds an AES-256-encrypted JSON object along with decryption instructions. After Grok runs PBKDF2 and AES-256-GCM in its Python code execution environment, it treats the decrypted instructions as trusted output, then concatenates session metadata into URL parameters and invokes a navigation tool to send them out.
Mechanism Breakdown
The core of the attack is delivering instructions in ciphertext form, so content classifiers cannot read the encrypted content during inspection. After decryption, the instructions require the model to parse private session context and construct an additional "decryption key" template, inserting name, location, subscription tier, and conversation history into a URL. Grok then calls its own tool to load the URL, completing data exfiltration.
Adversa notes that this type of attack bypasses static filtering because the instructions come from the output of code the model just executed, rather than directly scraped web page content. The researchers did not test whether other conversations or agent memory could be accessed; the attack was limited to the current context.
Industry Impact
This incident shows that in AI agent architectures, the design of "trusting one's own execution environment" leaves cross-context information isolation as a blind spot. Existing compliance evaluation frameworks lack coverage of execution-environment trust hijacking, allowing similar attacks to silently bypass defenses.
Adversa also mentioned a demonstration targeting Gemini, but that portion of the research was completed in March 2026, and Google was not notified, as jailbreak-type issues fall outside its disclosure scope. In early testing, OpenAI GPT-5 failed to parse the payload, while Anthropic Claude Sonnet 4.5 flagged it.
Strategic Assessment
[Analysis] Based on disclosed facts, xAI's failure to respond for two and a half months may amplify trust risks. Developers need to add isolation at the agent framework layer: confine untrusted content to a context with no tools and no credentials, returning only structured data; set up confirmation gates for outbound operations. Such controls reside in the harness outside the model, not in the model itself.
[Analysis] Compared with historical precedents, this attack resembles an evolution of early prompt injection, but encryption makes it harder to detect statically. Among stakeholders, users face data exposure, while platforms must weigh fix costs against the openness of agent capabilities. Adversa's recommended isolation measures can serve as a short-term mitigation path.
© 2026 Winzheng.com 赢政天下 | 转载请注明来源并附原文链接