LIVE · cybersecurity feed
Live wire
ai

Encrypted Prompts Bypass AI Safety Guardrails in Grok and Gemini

A new technique, dubbed ‘Cryptographic Context Injection,’ has reportedly demonstrated the ability to bypass AI safety guardrails in models such as Grok and Gemini. This method involves concealing malicious instructions within encrypted prompts, which are then decrypted only within a trusted execution environment, effectively circumventing the AI’s pre-processing safety mechanisms.

ZeroDay News ·

Source: SecurityWeek

A new technique, dubbed ‘Cryptographic Context Injection,’ has reportedly demonstrated the ability to bypass AI safety guardrails in models such as Grok and Gemini. This method involves concealing malicious instructions within encrypted prompts, which are then decrypted only within a trusted execution environment, effectively circumventing the AI’s pre-processing safety mechanisms.

The core mechanism of Cryptographic Context Injection relies on the principle of late decryption. Instead of the AI model directly receiving and processing a plaintext prompt, it receives an encrypted payload. This payload contains the malicious instructions, but they remain unreadable and therefore undetectable by the AI’s initial safety filters and content moderation systems. The critical step occurs when this encrypted prompt is passed to a trusted execution environment (TEE), a secure area within a computer system.

Within the TEE, the encrypted prompt is decrypted. This decryption process reveals the hidden malicious instructions, which are then presented to the AI model as if they were part of a legitimate, unflagged input. Because the decryption happens within a secure, isolated environment, the AI’s external safety guardrails, designed to detect and block harmful content at the input stage, are bypassed entirely. The AI model then processes these newly revealed instructions without the benefit of its intended protective measures.

This class of attack highlights a significant challenge in securing advanced AI systems. Many AI safety guardrails operate by analyzing incoming prompts for keywords, patterns, or semantic indicators of harmful content. By encrypting the prompt, attackers can render these surface-level analyses ineffective. Products in the large language model (LLM) category, particularly those with sophisticated content filtering, could be vulnerable if they do not adequately account for scenarios where input processing is decoupled from initial safety checks.

The reported bypass affects Grok and Gemini, indicating that advanced AI models from different developers may share common architectural vulnerabilities or design patterns that this technique exploits. While specific details on the implementation of the trusted execution environment or the encryption scheme were not provided, the general concept suggests that any system relying on pre-processing safety filters could be susceptible if it can be induced to decrypt and execute instructions from an untrusted, encrypted source within a privileged context.

Mitigation for this type of vulnerability typically involves a multi-layered approach. Enhancing the security of trusted execution environments to prevent them from decrypting and passing potentially malicious content to the AI is crucial. Furthermore, AI safety mechanisms might need to evolve to incorporate post-decryption analysis within the TEE, or to verify the integrity and origin of decrypted prompts before allowing them to influence the AI’s behavior. Input validation and sanitization, even after decryption, remain critical.

This development underscores the ongoing arms race between AI developers and those seeking to exploit these powerful systems. As AI models become more integrated into critical applications, the methods for ensuring their safe and ethical operation must constantly adapt to novel attack vectors that circumvent traditional security paradigms. The focus shifts from merely filtering visible inputs to securing the entire processing pipeline, especially when sensitive operations like decryption occur.

ai
ShareXLinkedInWhatsAppFacebook

More News

view all →
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.

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

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,…

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.

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.