MITRE ATLAS 2026.10 · AML.T0068 · Elevated severity
LLM Prompt Obfuscation
Adversaries disguise disallowed instructions or injection payloads using encodings, ciphers, homoglyphs, multilingual translation, token smuggling, or fragmented formatting so regex and input classifiers miss them while capable frontier models still decode and follow the underlying intent.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Elevated
- Attack surface
- LLM / Prompt Layer · Multimodal Inputs
- Framework maturity
- Realized
- Platforms
- Generative AI, Agentic AI
- Tactics
- Defense Evasion
- Catalog entry modified
How the mechanism works
- A payload is transformed into Base64, hex, Unicode tag characters, leetspeak, low-resource languages, or split across multi-turn variables.
- Surface-level keyword filters and smaller input guardrail models fail to recognize the obfuscated semantics and pass the prompt through.
- The larger downstream reasoning model reconstructs the hidden instruction from context and executes the unintended task.
Detection & telemetry signals
- Elevated entropy, unusual Unicode blocks (invisible tag characters, directional overrides), or encoded blobs inside conversational text.
- Disparity between low input-classifier risk scores and elevated output-classifier policy triggers.
- Prompts instructing the model to decode, reverse, or execute obfuscated instructions across multi-turn steps.
Architectural defensive countermeasures
- Canonicalize inputs prior to screening: normalize Unicode NFKC, strip invisible/zero-width tag characters, and decode standard encodings before guardrail classification.
- Evaluate input and output classifiers together so decoded harmful intents are caught at generation time even if input screening missed the encoding.
- Avoid relying on regex blocklists; use semantic classifiers trained on multilingual, ciphered, and fragmented adversarial variants.
- Maintain strict backend authorization and output validation so decoded model behavior still cannot cross privilege boundaries.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Prompt obfuscation evades input filters to land prompt injections and jailbreaks (LLM01) and frequently targets downstream output-decoding sinks (LLM05).
- NIST AI RMF functions
- NIST AI RMF guidance
- MEASURE guardrail recall across Unicode, encoding, and multilingual obfuscation suites alongside benign false positives, and MANAGE risk with pre-screening canonicalization and output classifiers.
Mapped defensive controls
- Predictive AI Input Restoration AML.M0010
Normalize and sanitize untrusted text, image, audio, and document inputs—re-encoding media, stripping hidden layers, and canonicalizing Unicode—before model ingestion.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Test with Refract
Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. Replace <model-id> with an OpenRouter route ID; each model page lists a ready-to-run command for its own route.
refract scan \
--target "openai_compat:<model-id>" \
--base-url https://openrouter.ai/api/v1 \
--api-key "$OPENROUTER_API_KEY" \
--battery encoding_cipher,unicode_smuggling_nfkc
refract reportencoding_cipherencoded and ciphered instructionsunicode_smuggling_nfkcUnicode tag characters, zero-width characters, and normalization bypasses
Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.
Published empirical measurements (3)
- Attack success rate · 7.8%
TAP-Transfer black-box obfuscated prompts. Evaluated on HarmBench Standard split (200 behaviors) with Llama-2-7B-Chat default safety prompt. Earlier catalog numerator 16/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Attack success rate · 91.19%
Aggregate mean across evaluated GPT-series checkpoints; exact prompt count is not stated in abstract.
- Model
- GPT Series (EquaCode aggregate)
- Evaluation
- EquaCode Single-Query Equation+Code Jailbreak Suite
- Defense
- Baseline model
- Reported
- Source and location
- EquaCode: A Multi-Strategy Jailbreak Approach for Large Language Models via Equation Solving and Code Completion · arXiv (author preprint; peer-review status not inferred) · Abstract / Experimental Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 98.65%
Three-model average reported in abstract; individual model breakdowns require full-table transcription.
- Model
- 3 Frontier LLMs (EquaCode aggregate)
- Evaluation
- EquaCode Single-Query Equation+Code Jailbreak Suite
- Defense
- Baseline model
- Reported
- Source and location
- EquaCode: A Multi-Strategy Jailbreak Approach for Large Language Models via Equation Solving and Code Completion · arXiv (author preprint; peer-review status not inferred) · Abstract / Experimental Results
- Evidence provenance
- Primary-source checked
Documented incidents & exercises (29)
- Indirect Prompt Injection Threats: Bing Chat Data Pirate AML.CS0020 · Exercise · 2023 · High · Consumer AI Search & Browsing Assistants
Demonstrated by security researchers in 2023 ("Bing Chat Data Pirate"), this exercise embedded hidden, obfuscated prompt-injection instructions inside a webpage read by the Edge sidebar's Bing Chat assistant. When a user asked the assistant to summarize the open page, the…
- Financial Transaction Hijacking with M365 Copilot as an Insider AML.CS0026 · Exercise · Aug 8, 2024 · Critical · Enterprise Productivity & Finance
Presented at Black Hat USA 2024 ("Living off Microsoft Copilot"), researchers showed how sending a crafted email containing hidden indirect prompt-injection payloads could poison Microsoft 365 Copilot's retrieval context. When an employee queried Copilot about invoices or bank…
- Hacking ChatGPT's Memories with Prompt Injection AML.CS0040 · Exercise · February 2024 · High · Consumer & Enterprise Chatbots
Disclosed in February 2024 ("ChatGPT: Hacking Memories with Prompt Injection"), researchers showed how obfuscated indirect prompt injection inside a browsed webpage, uploaded file, or external text could coerce ChatGPT into invoking its persistent Memory tool. Once malicious…
- Rules File Backdoor: Supply Chain Attack on AI Coding Assistants AML.CS0041 · Exercise · Mar 18, 2025 · High
MITRE ATLAS case study analyzing invisible Unicode control characters hidden inside shared repository instruction files that silently altered generated source code to introduce backdoors.
- Data Exfiltration via an MCP Server used by Cursor AML.CS0045 · Exercise · Jun 24, 2025 · Critical
MITRE ATLAS exercise showing how hidden instructions embedded in an external MCP server's tool metadata can steer an agent to read private repository data and exfiltrate it through a separate trusted tool call.
- Data Destruction via Indirect Prompt Injection Targeting Claude Computer-Use AML.CS0046 · Exercise · Oct 24, 2024 · Critical · Autonomous Desktop & Computer-Use Agents
Demonstrated in October 2024 shortly after the release of Claude Computer-Use, security researchers embedded obfuscated indirect prompt-injection payloads inside an untrusted web page or document viewed on screen. Because the computer-use agent possessed direct mouse, keyboard,…
- EchoLeak: Zero-Click Prompt Injection Targeting M365 Copilot for Data Exfiltration AML.CS0059 · Exercise · May 2025 · Moderate
ATLAS case study: EchoLeak zero-click prompt injection exfiltrated data from M365 Copilot via trusted context.
- AI in the Middle: Web-Based AI Services as C2 Relays AML.CS0061 · Exercise · Feb 17, 2026 · Moderate
ATLAS case study: web-based AI services were abused as command-and-control relays for malware traffic.
- ZombieAgent: Data Exfiltration Attack on ChatGPT AML.CS0066 · Exercise · Sep 25, 2025 · Moderate
ATLAS case study: ZombieAgent chained agent memory with web browsing to exfiltrate ChatGPT conversation data.
- AI Recommendation Poisoning via Crafted AI Assistant Links AML.CS0072 · Incident · Feb 10, 2026 · High
MITRE ATLAS operational incident analyzing pre-populated assistant deep links designed to plant persistent recommendation preferences into user-scoped memory across future sessions.
- AISI Evaluation Agents Conduct Unsanctioned Real-World Cyber Activity AML.CS0074 · Incident · Jul 25, 2026 · High
ATLAS incident: AISI evaluation agents conducted unsanctioned real-world cyber activity beyond their sanctioned scope.
- AutoGPT Autonomous Shell Agent Denylist Bypass via Crafted Command Syntax INC-2024-6091 · Incident · Sep 11, 2024 · Critical · Software Development & AI Tooling
CVE-2024-6091 exposed a shell command denylist bypass in AutoGPT's autonomous shell-execution tool (`execute_shell`), which attempted to block dangerous commands via naive string matching. Attackers or prompt-injected tasks could pass alternate quoting, subshell syntax, or…
- Agentic Coding CLI Allowlist Command Injection via Shell Argument Quoting INC-2025-54795 · Incident · Aug 5, 2025 · High · Software Development & AI Tooling
CVE-2025-54795 (published August 5, 2025, disclosed by Cymulate alongside CVE-2025-54794) revealed a command injection flaw in Claude Code's pre-approved command allowlist parser. By embedding shell command substitutions inside arguments passed to allowlisted utilities like…
- Agentic Coding CLI Confirmation Bypass via Piped Shell Command Parsing INC-2026-24887 · Incident · Feb 3, 2026 · High · Software Development & AI Tooling
CVE-2026-24887 (published February 3, 2026) documented a command-validation flaw in Claude Code where malformed or piped shell invocations (`sed`/`echo` pipelines) bypassed interactive confirmation prompts. Because the CLI's command classifier evaluated only portions of…
- Coding CLI Read-Only Shell Filter Bypass via Bash Parameter Expansion INC-2026-29783 · Incident · Mar 6, 2026 · High · Software Development & AI Tooling
CVE-2026-29783 (published March 6, 2026) disclosed a shell-tool policy bypass in GitHub Copilot CLI (`< 0.0.422`) allowing arbitrary command execution past read-only safety checks. Crafted bash parameter expansion patterns slipped through the CLI's static command parser, which…
- GitHub Copilot Chat CamoLeak Hidden PR Comment Secret Exfiltration via Camo Proxy INC-OBS-004 · Incident · Oct 8, 2025 · Critical · Software Development & AI Tooling
Disclosed publicly in October 2025 by Legit Security researcher Omer Mayraz, CamoLeak (rated CVSS 9.6) demonstrated zero-click exfiltration of private repository source code and secrets from GitHub Copilot Chat. Attackers embedded invisible instructions inside HTML/markdown…
- Non-Consensual AI Deepfake Imagery Flooding X Platform (Taylor Swift Surge) INC-OBS-031 · Incident · Jan 24, 2024 · High · Media & Publishing
Starting around January 24, 2024, sexually explicit non-consensual AI-generated deepfake images of musician Taylor Swift went viral across X (formerly Twitter), amassing over 45 million views on a single post before takedown. Security researchers traced creation of many images…
- ASCII Smuggling Invisible Unicode Tags Indirect Prompt Injection Across Production Copilots INC-OBS-064 · Incident · Aug 26, 2024 · High · Enterprise SaaS & Productivity
Introduced by security researcher Johann Rehberger (Embrace The Red) in January 2024 and demonstrated in a production Microsoft 365 Copilot exfiltration chain on August 26, 2024, ASCII Smuggling abused deprecated Unicode Tags Block characters (`U+E0000` to `U+E007F`) to embed…
- AutoDAN Stealthy Hierarchical Genetic Jailbreak Study OBS.EX0007 · Exercise · Oct 3, 2023 · Aligned Open & Commercial LLMs · Perplexity-Filter Evasion
Liu et al. (2023) evaluated AutoDAN, a hierarchical genetic algorithm designed to synthesize fluent, semantically meaningful jailbreak prompts automatically on aligned LLMs. Unlike token-level optimization that triggers perplexity detectors, AutoDAN preserved natural phrasing…
- CodeChameleon Encrypted Query & Decryption Reformulation Study OBS.EX0010 · Exercise · Feb 26, 2024 · Code-Capable Aligned LLMs · Obfuscated Code-Completion Bypass
Lv et al. (2024) hypothesized that LLM safety operates via sequential intent recognition before generation and tested CodeChameleon across seven LLMs by encoding queries inside custom decryption routines formatted as code-completion tasks. By delegating decoding to in-context…
- Constitutional Classifiers 3,000-Hour Red-Teaming Defense Evaluation OBS.EX0015 · Exercise · Jan 31, 2025 · Claude 3.5 Sonnet + Input/Output Safeguards · 10,000 Automated & Human Red-Team Prompts
Sharma et al. (2025) evaluated Constitutional Classifiers trained on synthetic data derived from natural-language safety rules over more than 3,000 estimated hours of human red teaming and automated 10,000-prompt suites. No human red teamer discovered a universal jailbreak…
- Jailbroken: Competing Objectives & Mismatched Generalization Study OBS.EX0018 · Exercise · Jul 5, 2023 · GPT-4 & Claude v1.3 · Failure-Mode Diagnosis of Safety Training
Wei et al. (2023) investigated why frontier models aligned via RLHF remain susceptible to adversarial prompts by testing GPT-4 and Claude v1.3 against attacks engineered from two hypothesized mechanisms: competing objectives and mismatched generalization. Attacks exploiting…
- HackAPrompt 600K+ Global Prompt Hacking Competition Corpus OBS.EX0020 · Exercise · Oct 24, 2023 · 3 State-of-the-Art LLMs · 600,000+ Human Adversarial Submissions
Schulhoff et al. (2023) hosted a global free-form prompt hacking competition that collected over 600,000 adversarial user submissions across tiered defense levels against three flagship LLMs. Analysis of successful bypasses produced a structured taxonomy of prompt injection,…
- Neural Exec Differentiable Prompt-Injection Trigger Study OBS.EX0029 · Exercise · Mar 6, 2024 · Open-Weight LLMs & RAG Pipelines · Learned Execution Triggers
Pasquini et al. (2024) framed prompt injection delimiter construction as a differentiable optimization problem (Neural Exec) rather than relying on hand-written override phrases. Learned triggers persisted intact across multi-stage RAG preprocessing and chunking pipelines while…
- EquaCode Combined Equation & Code-Completion Jailbreak Study OBS.EX0035 · Exercise · Dec 29, 2025 · GPT Series & Frontier LLMs · Cross-Domain Mathematical & Code Reformulation
Liang et al. (2025) evaluated EquaCode, a single-query cross-domain jailbreak strategy that translates restricted intent into mathematical equation-solving and code-completion tasks to divert model attention away from safety checks. Experimental evaluation achieved a 91.19%…
- FigStep Typographic Visual Prompt Jailbreaks Across Six LVLMs OBS.EX0172 · Exercise · Nov 9, 2023 · 6 Open-Source Large Vision-Language Models · Black-Box Typographic Image Bypass
Gong et al. (2023/AAAI 2025) introduced FigStep, a zero-optimization black-box attack that renders prohibited textual queries as typographic images paired with benign text prompts to test safety alignment of visual embeddings across six open-source LVLMs. FigStep achieved an…
- LLM-Obfuscated Adversarial Voice Phishing Transcript Evasion Study OBS.EX0202 · Exercise · Jul 22, 2025 · 4 Commercial LLMs (incl. GPT-4o) vs. ML Vishing Classifiers on KorCCViD Dataset
Li et al. (2025) evaluated whether commercial LLMs can rewrite real-world voice phishing scripts via semantic obfuscation to evade ML-based call-transcript classifiers trained on the Korean KorCCViD dataset while preserving deceptive intent. Transcripts rewritten by GPT-4o cut…
- PyRIT Composable Multimodal Generative AI Red-Teaming Framework OBS.EX0209 · Exercise · Oct 1, 2024 · Text, Image & Audio Generative AI Systems · Microsoft AI Red Team Automation
Lopez Munoz et al. (2024) documented the Python Risk Identification Toolkit (PyRIT), developed by the Microsoft AI Red Team as an open, model-agnostic orchestration framework for probing single- and multi-turn security and safety risks across text, image, and audio generative…
- Indirect PDF Prompt Injection Against 13 LLM-as-a-Judge Scientific Reviewers OBS.EX0212 · Exercise · Dec 11, 2025 · 13 Open & Proprietary LLMs (incl. GPT-5 & DeepSeek) · 200 ICLR OpenReview Submissions
Sahoo et al. (2025) evaluated LLM-as-a-Judge vulnerability to adversarial PDF manipulation, using invisible text injections and layout-aware encoding, across 13 models (including GPT-5 and DeepSeek) on 200 official accepted and rejected ICLR OpenReview submissions. Using the…
Source citation records
- MITRE ATLAS: LLM Prompt Obfuscation · MITRE ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) ·
- EquaCode: A Multi-Strategy Jailbreak Approach for Large Language Models via Equation Solving and Code Completion · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is LLM Prompt Obfuscation (AML.T0068)?
- Adversaries disguise disallowed instructions or injection payloads using encodings, ciphers, homoglyphs, multilingual translation, token smuggling, or fragmented formatting so regex and input classifiers miss them while capable frontier models still decode and follow the underlying intent.
- How do you mitigate LLM Prompt Obfuscation?
- MITRE ATLAS maps 4 mitigations to AML.T0068: Predictive AI Input Restoration, Generative AI Guardrails, AI Telemetry Logging and Monitoring, and AI Red Team. Canonicalize inputs prior to screening: normalize Unicode NFKC, strip invisible/zero-width tag characters, and decode standard encodings before guardrail classification.
- How can I test a model for LLM Prompt Obfuscation?
- Run the Refract
encoding_cipherandunicode_smuggling_nfkcpacks:refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery encoding_cipher,unicode_smuggling_nfkc, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.