Skip to content
CyberReviewed

The AI Guardrail Evasion Paper, Explained

CyberReviewed Research Desk ·

Our analysts read Bypassing LLM Guardrails, a 2025 study that tested whether six commercial and open-source AI guardrails can be tricked into letting harmful prompts through to a chatbot. Guardrails are filters that sit in front of an AI model and block messages that try to hijack it, and many companies rely on them to protect AI apps.12

Key Findings

  • Hiding an attack inside emoji, a trick called emoji smuggling, got past every guardrail tested every time, for both kinds of attack.2
  • Simple character tricks slipped disguised prompt injections past Microsoft Azure Prompt Shield 71.98% of the time on average, and past Meta Prompt Guard 70.44% of the time.2
  • Protect AI v2 was the hardest to fool with character tricks, missing 20.26% of disguised prompt injections, down from 77.32% for the older v1.2
  • Word-swap attacks, which reword a prompt so a filter misreads it, worked less often, with the best method averaging 46.27% against prompt injection filters.2
  • Practicing an attack on a free, open-source guardrail made it work better against Azure Prompt Shield for 7 of 8 word-swap methods.2

The paper was written by William Hackett, Lewis Birch, Stefan Trawicki, Neeraj Suri, and Peter Garraghan of Mindgard and Lancaster University. It was published at the First Workshop on LLM Security at ACL 2025, a major natural language processing conference, held in Vienna in August 2025. Mindgard sells AI security testing, and we review it here.235

In the following sections, we explain how the attacks worked, re-chart which guardrails and tricks held up, and cover what the findings mean for companies buying AI security tools.

How the Experiment Worked

The researchers placed each guardrail in front of OpenAI's GPT-4o-mini and tried to get attack prompts past it. They tested two kinds of attack. A prompt injection is text that tries to take over an AI app's instructions, for example hidden in an email or web page the app reads. A jailbreak is a prompt that tries to talk the AI out of its safety rules.2

The six guardrails

The study tested Microsoft Azure Prompt Shield, Protect AI's prompt injection detectors v1 and v2, Meta Prompt Guard, Vijil Prompt Injection, and NVIDIA NeMo Guard Jailbreak Detect. Azure was tested as a closed commercial service, while the other five are open-source models the researchers downloaded and could examine in detail.2

The test prompts

The researchers used 476 known prompt injection prompts from a public dataset and 78 known jailbreak prompts from an open-source collection. Before any disguise, most guardrails caught most of these prompts, though Azure Prompt Shield and Protect AI v1 missed many plain prompt injections.2

How well each guardrail caught undisguised attacks
GuardrailMakerPlain jailbreaks caughtPlain prompt injections caught
Azure Prompt ShieldMicrosoft89.74%58.92%
Protect AI v1Protect AI98.71%38.31%
Protect AI v2Protect AINot tested84.15%
Prompt GuardMeta100%99.85%
Vijil Prompt InjectionVijil100%99.08%
NeMo Guard Jailbreak DetectNVIDIA87.17%Not tested

Source: Hackett et al., Table A.1. Protect AI v2 and NeMo were each tested on one kind of attack only.2

The two kinds of disguise

The researchers then disguised each prompt in two ways. Character tricks change how the text is written without changing what it says, for example hiding it in emoji, writing it upside down, or swapping letters for numbers. The paper tested 12 of these. Word-swap attacks use automated tools to replace or misspell the words a filter pays most attention to. The paper tested 8 of these. A disguise counted as a success when the guardrail labeled the attack as harmless.2

What the Paper Concluded

The authors conclude that character tricks “enable near-complete evasion of some guardrails with minimal effort,” and that the findings “emphasize the need for more robust LLM guardrails.” They also point out the core problem: a guardrail may fail to read a disguised prompt that the AI model behind it understands perfectly well.2

How Often Each Guardrail Was Fooled

We start with how often character tricks got disguised attacks past each guardrail, averaged across the 12 tricks.2

Share of disguised attacks each guardrail missed, character tricks
GuardrailPrompt injections missedJailbreaks missed
Vijil Prompt Injection87.95%91.67%
Protect AI v177.32%51.39%
Azure Prompt Shield71.98%60.15%
Meta Prompt Guard70.44%73.08%
NeMo Guard Jailbreak DetectNot tested72.54%
Protect AI v220.26%Not tested

Source: Hackett et al., Section 5.1.2

Horizontal bar chart of the share of disguised prompt injections each guardrail missed: Vijil 87.95%, Protect AI v1 77.32%, Azure Prompt Shield 71.98%, Meta Prompt Guard 70.44%, and Protect AI v2 20.26%
Average share of disguised prompt injections each guardrail missed, across 12 character tricks.

Source: Hackett et al., Section 5.1.2 Chart: CyberReviewed.

Key Findings

  • Four of the five guardrails tested on prompt injections missed more than 70% of disguised attacks on average.2
  • Meta Prompt Guard and Vijil caught nearly every plain attack, but missed most of the same attacks once disguised.2
  • Protect AI v2 held up best, and was only heavily bypassed by emoji and Unicode tag smuggling.2

Which Disguises Worked Best

Next, we compare the character tricks themselves, averaged across the guardrails.2

Share of attacks that got past guardrails, by character trick
Character trickWhat it doesPrompt injectionsJailbreaks
Emoji smugglingHides the text inside emoji characters100%100%
Unicode tagsHides the text in invisible Unicode tag characters90.15%81.79%
Numbers for lettersSwaps letters for look-alike numbers81.18%94.62%
Right-to-left textUses characters that flip the text direction78.69%99.23%
Upside-down textWrites the text with upside-down letters63.54%100%
Hidden delete charactersInserts invisible delete characters26.82%7.95%

Source: Hackett et al., Section 5.1. The other six tricks averaged between 44% and 76%.2

Grouped column chart of how often six character tricks got past guardrails, from 100% for emoji smuggling to 26.82% and 7.95% for hidden delete characters
Share of disguised prompt injections and jailbreaks that got past the guardrails, by character trick.

Source: Hackett et al., Section 5.1.2 Chart: CyberReviewed.

Key Findings

  • Emoji smuggling worked against every guardrail every time, and upside-down text did the same for jailbreaks.2
  • Five of the six tricks shown got past the guardrails more than three quarters of the time for at least one kind of attack.2
  • The authors link the spread in results to differences in what each guardrail saw during training.2

How Word-Swap Attacks Compared

Word-swap attacks were less reliable than character tricks, but they leave text that still reads normally to a person. The most effective method, TextFooler, averaged 46.27% against prompt injection detection and 48.46% against jailbreak detection. Results varied widely by guardrail: Protect AI v1 missed 95.18% of word-swapped prompt injections, while Meta Prompt Guard missed 2.76%.2

The researchers also tested a shortcut an attacker might use. They worked out which words mattered most to the open-source Protect AI v2 model, then used that ranking to attack Azure Prompt Shield, which gives attackers little feedback. That made the attacks more effective for 7 of the 8 methods on prompt injections and 6 of 8 on jailbreaks, with one method, Bert-Attack, reaching 73.11% on prompt injections.2

How the Vendors Were Told

The researchers reported their findings to each vendor before publishing.2

Disclosure timeline
VendorReportedDisclosure concluded
Microsoft (Azure Prompt Shield)March 4, 2024June 18, 2024
MetaMarch 11, 2025March 13, 2025
NVIDIAMarch 11, 2025April 3, 2025
Protect AIMarch 12, 2025March 31, 2025
VijilMarch 14, 2025March 28, 2025

Source: Hackett et al., Section 9.2

Limits the Authors Note

The authors list these limits:2

  • Only one closed commercial guardrail, Azure Prompt Shield, was tested as a black box, so results may not carry over to every commercial product.
  • The researchers showed that practicing on an open-source model helps attacks on closed ones, but not exactly why.
  • More work is needed on whether a disguised attack still does its harmful job once it reaches the AI model.

The authors published their disguised samples so others can test guardrails against them, and every vendor agreed to the public release of the work.24

What This Means for AI Security Buyers

The paper shows that a guardrail that scores well on plain attacks can still be beaten by cheap, well-known tricks like emoji smuggling. A strong detection rate on a vendor's own test set says little about how a filter holds up against someone actively trying to get past it.2

The authors' point that a guardrail can miss a prompt the AI model still understands also makes the case for treating guardrails as one layer, alongside controls that limit what an AI app or agent is allowed to do once a prompt gets through.2

So if you are buying an AI guardrail or AI security platform, ask the vendor how it handles character smuggling and other disguised prompts, and test it with a public set of evasion samples before you sign.

Sources
  1. CyberReviewed, analysis of “Bypassing LLM Guardrails: An Empirical Analysis of Evasion Attacks against Prompt Injection and Jailbreak Detection Systems,” conducted November 2026
  2. Hackett, Birch, Trawicki, Suri, and Garraghan, Bypassing LLM Guardrails: An Empirical Analysis of Evasion Attacks against Prompt Injection and Jailbreak Detection Systems, arXiv 2504.11168 version 3
  3. ACL Anthology, Proceedings of the First Workshop on LLM Security (LLMSec), Vienna, August 2025, pages 101 to 114
  4. Mindgard, evaded prompt injection and jailbreak samples dataset, Hugging Face
  5. Lancaster University, Peter Garraghan profile
  6. Lancaster University, Neeraj Suri profile
Methodology

Our analysts read the full paper, version 3 on arXiv, which matches the version in the ACL Anthology. Every figure on this page comes from the paper's text, tables, and appendix: Table A.1 for detection of plain attacks, Section 5.1 for character tricks, Section 5.2 for word-swap attacks, Section 5.3 and Table 3 for the transfer tests, and Section 9 for vendor dates. We re-charted values exactly as printed. Plain-language descriptions of each trick follow the paper's Table 1. Four of the five authors are affiliated with Mindgard, a company we review.

Related reviews

All reviews
6.3/10

Mindgard review

Automated red teaming and runtime protection for AI models, agents, and apps, backed by a Lancaster University lab and 150+ disclosed flaws.

Penetration testing
7.1/10

Ultra Security review

Guardrails, access rules, and logs for every AI agent tool call, priced at $1 per 1,000 actions after a free tier.

Identity security
6.0/10

Asymptote Labs review

Open-source telemetry and runtime guardrails for AI coding agents, with a free Beacon tier and a paid platform that blocks risky agent actions.

Cloud security