Back to blog

Series · Part 1 / 3

How accurate are AI guardrails? One scored anywhere from 41 to 99

By Keith Goatley

AI security tools are sold on accuracy numbers. Three 2026 studies show why that number, on its own, tells a buyer very little.

Key points

  • In an EMNLP 2026 study of 53 models, Llama Guard 3 scored anywhere from 41.3 to 99.0 out of 100, depending on which of 11 test datasets it was measured on.
  • In a second 2026 study, Llama Guard 3 scored 97.9% accuracy on plain prompts but caught only 59.7% of harmful prompts disguised with jailbreak techniques.
  • A guardrail’s score describes the test as much as the tool. The only number that matters is how it performs on your traffic.

AI security tools are often sold on a single number: 95% accurate, 99% detection. If you’re a CISO choosing what sits between your company’s AI application and the public, those numbers are often the first thing you see and the hardest thing to check.

Three studies published in 2026 suggest you should treat any single accuracy figure with suspicion. Not because vendors are lying, but because the same tool can score very differently depending on how it’s tested.

Does the test change the score?

Dramatically. Two researchers at Oracle AI published a benchmark of 53 models, from dedicated content moderation models to general-purpose LLMs, at EMNLP 2026, one of the main conferences in the field. They tested every model on the same 11 public datasets of prompts.

Take Llama Guard 3, Meta’s open safety model. Classifying prompts, it scored 99.0 on one dataset and 41.3 on another. The score is macro-F1, a measure out of 100 that combines how many harmful prompts a model catches with how few harmless ones it wrongly flags.

Animated chart. Llama Guard 3 (8B) macro-F1 score by test dataset, prompt classification, out of 100. simplesafety 99.0, xstest 89.7, oai 85.8, wildguard 82.2, harmaug 80.2, aegis 75.5, toxicchat 73.3, xrtest 68.3, beavertails 63.2, harmbench 54.5, bingo 41.3. Source: Orojlooyjadid and Patel (Oracle AI), No One Model Catches Every Harm, EMNLP 2026, Table 14.

Same model. Same evaluation. A spread of nearly 58 points. The paper’s title makes the point for them: no one model catches every harm.

Test datasets differ in what they contain: how blatant the harmful requests are, how many harmless ones are mixed in, what kinds of harm they cover. A vendor that quotes one number is telling you how its tool did on one set of questions. Whether those questions look anything like your users’ is a different matter.

What happens when someone tries to get past it?

The score drops again. A Findings of EMNLP 2026 paper from researchers at DATUMO tested guardrails on 1,213 plain prompts, then on 3,965 harmful prompts rewritten with six jailbreak techniques.

Animated chart. Accuracy of three AI guardrails on plain prompts vs disguised prompts. Llama Guard 3 (8B): 97.9% plain, 59.7% disguised. WildGuard (7B): 98.9% plain, 76.7% disguised. ShieldGemma (9B): 62.2% plain, 21.6% disguised. Plain: 1,213 prompts (713 harmful, 500 harmless). Disguised: 3,965 harmful prompts rewritten with six jailbreak methods. Source: Hong, Jung and Kim (DATUMO), Findings of EMNLP 2026, Table 1.

Llama Guard 3 went from 97.9% to 59.7%. WildGuard went from 98.9% to 76.7%. Every disguised prompt in that set was harmful, so the second number is simply the share each tool caught.

That’s the gap that matters most to a security team. Your real users can include people actively rewording their requests to get through. A score earned on plain prompts says little about how a tool holds up against them.

Can a high score hide what a tool misses?

Yes, and a third study shows how. Researchers at Domyn benchmarked 14 open-source guard models in a paper for an ICLR 2026 workshop, reporting recall: the share of harmful prompts each one actually flagged.

Animated chart. Share of harmful prompts Llama Guard 4 (12B) correctly flagged, by test dataset. StrongREJECT 92.9%, HarmBench 92.2%, BeaverTails 63.1%, RealToxicityPrompts 22.0%. Source: Raj, Sarmah and Pasquali (Domyn), arXiv 2605.28830, Table 15. RealToxicityPrompts labels come from a toxicity threshold of 0.5.

Its successor, Llama Guard 4, caught 92.9% of harmful prompts on StrongREJECT and 22.0% on RealToxicityPrompts, a dataset whose harmful examples are labelled by a toxicity score rather than written as harmful requests. Quote the first number and the tool looks excellent. Quote the second and it looks like it’s barely working. Both are accurate, and neither tells you how it would do on your traffic.

To be fair to benchmarks, they’re not useless. They’re how researchers compare tools on equal terms, and the papers above are careful and transparent. The problem is what happens when a single result leaves the paper and becomes a line on a product page, stripped of the dataset, the conditions and everything it didn’t measure.

What should a buyer ask instead?

Not “how accurate is it?” but “accurate on what?” Ask which dataset produced the number, what share of harmless requests the tool wrongly blocks, how it performs on disguised prompts, and whether you can test it on your own traffic before you sign.

That’s how we’d want to be judged too. Here’s how a Hyperfence answers each of those questions.

Accurate on what? On the topics you define, not a generic benchmark. You decide what your AI must never handle, so you test it on the things that matter to your business.

What about disguised prompts? It scores what a message is about rather than how it’s worded, and recognises topics across languages. Unlike a guard LLM, it can’t be argued into compliance. Don’t take our word for it: try to disguise a prompt and get it past the live demo.

How often does it block something harmless? Each Hyperfence has three sensitivity settings, so you choose how cautious it is, and every block shows in the dashboard for review. We’ve written up how we measure ours, including how often it fires on unrelated traffic, always on examples it was never trained on.

Can you trust a test result? The same input produces the same score every time, so a test you run today gives the same answer tomorrow. Every decision is auditable.

Can you test it on your own traffic? Yes. It takes one base URL change, and the docs show you how. Run your own prompts through it before you commit to anything.

Part 2 of this series looks at the other side of the trade-off: what it costs when a guardrail blocks the wrong thing.

Start Securing. Free plan. No credit card required.


Keith Goatley is Growth Marketing Manager at Hyperfence.

Sources

Get new posts as they're published: subscribe by RSS.