Close Menu

    Subscribe to Updates

    Get the latest Tech news from SynapseFlow

    What's Hot

    Apple’s rumored camera AirPods could bring cool AI features and a whole bunch of privacy concerns

    August 22, 2026

    The VRAM question finally has a real answer — and it’s not what GPU marketing suggests

    August 22, 2026

    The best Google Pixel 11 Pro Fold cases — high-quality covers to protect your new foldable handset

    August 22, 2026
    Facebook X (Twitter) Instagram
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    Facebook X (Twitter) Instagram YouTube
    synapseflow.co.uksynapseflow.co.uk
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    synapseflow.co.uksynapseflow.co.uk
    Home»Cybersecurity»Encrypted Prompts Bypass AI Safety Guardrails in Grok and Gemini
    Encrypted Prompts Bypass AI Safety Guardrails in Grok and Gemini
    Cybersecurity

    Encrypted Prompts Bypass AI Safety Guardrails in Grok and Gemini

    The Tech GuyBy The Tech GuyAugust 22, 2026No Comments4 Mins Read0 Views
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Advertisement


    Researchers at Adversa AI discovered a new attack technique and named it Cryptographic Context Injection. They reported their findings to xAI on June 3, 2026, and attempted to coordinate disclosure on August 4 and August 10. At the time of writing, they had received no response.

    Advertisement

    They could not disclose to Google since jailbreaks are out of scope for its vulnerability disclosure program. Nevertheless, the success rate for the attack against Gemini had fallen by August.

    The potential success of this attack by bad actors should be treated seriously. Adversa’s report includes prevention advice for defenders.

    Cryptographic context injection

    Safety guardrails classify prompt text without executing it. They cannot parse ciphertext into anything harmful and consequently allow its progress. The ciphertext, including an instruction and means for decryption, are run inside the model’s code execution sandbox. The result is the plaintext prompt is recovered inside the trusted execution context and not flagged by the guardrails as harmful.

    “The attacker payload inherits a credibility that the same text would never get if pasted directly into the prompt,” warn the researchers.

    The encrypted attack can be delivered directly to the Chat or indirectly as a watering hole attack. In the latter case, an encrypted JSON object and decryption could be included in a web page. An agent subsequently instructed to act on this page (perhaps to summarize the content or extract specific data) will ingest the ciphertext and kick off the attack.

    Advertisement. Scroll to continue reading.

    The decrypted prompt could instruct the model, “to reach out to external servers, leaking the user’s data through request parameters, or produce some other undesired output and re-encrypt it to smuggle it past output guardrails.” In an agentic scenario the instructions could instigate misuse of any tool available to the model.

    Grok indirect cryptographic context injection example

    This example targets the xAI Grok web chat, agentic browsing framework. It is a zero click data exfiltration attack that could be instigated through social engineering. The target is persuaded to examine or analyze a weaponized web page. The page contains an encrypted JSON object and an instruction to decrypt it using the agent’s Python runtime. The resulting plaintext prompt instructs the agent to resolve its private session context and embed the data into an URL. The attacker’s URL will be autonomously loaded and the user data transmitted to it.

    “The framework built by xAI lets instructions and data parsed from an untrusted external page drive the invocation of a privileged, internet-connected tool,” write the researchers. This allows private session metadata and conversation history to be resolved into the inputs of that outbound tool – the laundered, attacker-controlled instructions reach a privileged egress action unimpeded with no user confirmation or visible warning.

    Gemini safety bypass via direct injection example

    This example targets the Gemini public chat interface in Deep Thinking mode. A single prompt instructs Gemini to run a Python script that decrypts supplied ciphertext. Through a series of tricks described by the researchers, the decrypted prompt can instruct the model to produce restricted content “framed as something it will encrypt ‘for safety’”.

    The prohibited data is gathered, encrypted ‘for safety’, and returned to the user. “The technique produced a multi-paragraph example of restricted content that Gemini’s safety filters normally suppress” (such as instructions for building an incendiary weapon), comment the researchers.

    Both the malicious prompt and the dangerous output defeat the input and output safety guardrails through encryption.

    Summary

    The researchers disclosed their findings to xAI but have received no response. At the time of writing the report, the attack was still successful. Although they were unable to disclose their findings to Google, they note that the attack is increasingly less successful against Gemini (although still potentially possible). They are unsure of the reason, suggesting it may be filter updates, model version changes, or both.

    Nevertheless, the continuing potential danger from cryptographic context injection has persuaded them to now go public with their findings and potential defensive solutions.

    Related: Critical Vulnerability Exposes GitHub Agentic Workflows to Prompt Injection

    Related: Prompt Injection Attacks Trick AI Agents Into Making Crypto Payments

    Related: Malicious AI Prompt Injection Attacks Increasing, but Sophistication Still Low: Google

    Related: Claude Code, Gemini CLI, GitHub Copilot Agents Vulnerable to Prompt Injection via Comments

    Advertisement
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    The Tech Guy
    • Website

    Related Posts

    New Phishing Toolkit Uses Passkeys to Maintain Access After Password Resets

    August 22, 2026

    Banking Trojans Manic, Grandoreiro, ToxicPanda 2.0 in the Spotlight

    August 22, 2026

    In Other News: Zombie Card Attack, T-Mobile Cut Cable to Stop Hackers, GitHub Denies AI Caused Bug

    August 22, 2026

    Former NSA Director Paul Nakasone Launches National Security Advisory Firm

    August 21, 2026

    Critical Isolated-vm Vulnerability Leads to RCE on Host

    August 21, 2026

    Threat Actor Hacks 14,000 IP Cameras in Ukraine and Russia

    August 21, 2026
    Leave A Reply Cancel Reply

    Advertisement
    Top Posts

    You don’t need a NAS to self-host — I proved it with hardware from my closet

    June 7, 2026391 Views

    Spotify is giving one of its best playlists a big visual upgrade to give subscribers ‘a closer connection’ to its New Music Friday curators — and I think it could be the update it’s always needed

    June 12, 2026210 Views

    The iPad Air brand makes no sense – it needs a rethink

    October 12, 202516 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Advertisement
    About Us
    About Us

    SynapseFlow brings you the latest updates in Technology, AI, and Gadgets from innovations and reviews to future trends. Stay smart, stay updated with the tech world every day!

    Our Picks

    Apple’s rumored camera AirPods could bring cool AI features and a whole bunch of privacy concerns

    August 22, 2026

    The VRAM question finally has a real answer — and it’s not what GPU marketing suggests

    August 22, 2026

    The best Google Pixel 11 Pro Fold cases — high-quality covers to protect your new foldable handset

    August 22, 2026
    categories
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    Facebook X (Twitter) Instagram Pinterest YouTube Dribbble
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    © 2026 SynapseFlow All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.