VOIDWALL
← All posts
Evaluation2026-12-01· 8 min read

Far Fewer False Positives From the Same Prompt-⁠Injection Model

A user writes a question, or pastes a text they are sure is harmless, such as an email, a web page, or a few lines from a document. Nothing in it is an attack. Still, the prompt-injection guard flags it as prompt injection and blocks the message.

False positives like this have many causes. One of them is easy to miss: encoded text. Links carry percent-encoded values such as %20, web pages hold HTML entities such as &, and tokens and file contents travel as base64. The user may not even know it is there.

When the model reads such text as it arrives, as it does in Voidwall 0.6.1, it blocks about one in four benign prompts that hold it. For the user, every such block is a broken feature. For the team that runs the guard, it is a reason to raise the threshold or to turn the guard off, and both choices let real attacks through.

So is the model the problem? Yes. Prompt-injection classifiers handle encoded text poorly, and this is a known pain point of such models. The other open-source guardrails we checked pass the text to the model as it is and leave the problem there. Voidwall 0.10.0 decodes the text first, so the model gets plain text, where it has a much better chance to tell an attack from a benign message.

Why encoded text matters

Encoded text matters for attacks too. Large language models can read some encodings. Wei, Haghtalab and Steinhardt found that large models such as GPT-4 and Claude v1.3 can follow instructions written in base64. An attacker may therefore hide an instruction from a filter, while the LLM behind the filter still understands it.

A prompt-injection classifier is a different kind of model. Wolf Defender Small, the model that ships in the Voidwall image, is a small text classifier, not an LLM. It cannot decode the text it gets, so with encoded text, it has little to judge but how the encoding looks.

On 0.6.1, it flagged 57.3% of benign prompts sent as base64, and 75.1% of attack prompts sent the same way. Such a model can hardly tell the two apart. Percent-encoding and HTML entities were the opposite case. When every character was written as %XX or &#DD;, the model did not react at all, and such an attack passed every time.

The conclusion is simple. The guard must see what the LLM sees.

The same model, a different runtime

Voidwall 0.6.1 gives the guard the request body as it arrives, as other open-source guardrails do. Voidwall 0.10.0 gives the guard a decoded copy of it. The message itself is not changed: Voidwall forwards it as it came, or blocks it.

To measure only this difference, we kept everything else fixed: the model files, the threshold of 0.9 from the model card, the configuration, and the prompts. Only the prompt-injection guard was on, so every block in the results is the model’s finding.

We took 1,238 benign prompts and 486 attack prompts from public datasets, and wrote each of them in nine encoded forms: base64, hex, percent-encoding, and HTML entities, alone or inside a short message, a link, or an HTML snippet. The datasets are described at the end of this post.

Results

False positives

A flag on a benign prompt is a false positive: Voidwall blocks a message that should pass.

Benign rows 0.6.1 → 0.10.0
All encoded forms 25.8% → 3.1%
base64 and hex 51.9% → 3.9%
Percent-encoding and HTML entities 5.0% → 2.5%
Plain prompt, not encoded 1.3% → 1.3%

The share of encoded benign rows that were blocked fell from 25.8% to 3.1%, mostly in base64 and hex. Plain prompts, which hold no encoding, were blocked at the same rate in both releases, as expected.

The drop holds on every dataset:

Dataset Encoded rows 0.6.1 → 0.10.0
deepset 3,591 15.1% → 0.0%
Dolly 4,500 24.2% → 0.1%
NotInject 3,051 40.8% → 11.0%

NotInject holds most of what is still blocked: 337 of the 344 remaining rows. Its prompts are built to hold trigger words such as ignore, so they are hard for any classifier. We take a closer look at them below.

Detection of prompt injection

Fewer false positives are worth little if the guard misses more attacks. It did not.

Attack rows 0.6.1 → 0.10.0
All encoded forms 53.7% → 70.7%
Every character as %XX in a message 0.0% → 71.2%
Every character as &#DD; in a message 0.0% → 71.2%

The share of encoded attacks that were blocked rose from 53.7% to 70.7%. The largest change is in percent-encoding and HTML entities. An attack with every character encoded this way passed every time on 0.6.1. On 0.10.0, it is blocked as often as the same attack in a plain message.

The model does not catch every attack, even in plain form: it flags 355 of the 486 attack prompts as they are, and decoding cannot fix that. What it can do is give the model the same chance on encoded text. Of the attacks caught in plain form, 96.6% are now caught in base64 or hex, up from 65.6%, and 94.1% in percent-encoding or HTML entities, up from 56.1%.

One number may look like a step back: attacks sent as bare base64 went from 75.1% to 72.4%. But the older number came from the model’s reaction to base64 itself, which also blocked 57.3% of benign prompts.

What changed between 0.6.1 and 0.10.0

Voidwall added decoding in two steps:

  • 0.8.0: a base64 or hex run in a request body that decodes to readable text is replaced by that text in the guard’s copy
  • 0.10.0: percent-encoding and HTML entities are decoded too, in request and response bodies

This is new among open-source guardrails. On 14 November 2026, we checked the source code of 17 open-source guardrail projects, including NeMo Guardrails, LLM Guard, LlamaFirewall, and LiteLLM. Only one of them, OpenAI Guardrails, decodes encoded text, and only for its PII check when the operator turns it on. None decodes text before a prompt injection or jailbreak check. Other approaches block a message because it holds encoding at all, or ask an LLM judge to refuse garbled text, and both may block benign messages too.

Wolf’s large drop in false positives came with 0.8.0. The prompt-injection guard reads the decoded copy by default, so an upgrade to 0.10.0 is enough, with no configuration change.

What is still blocked

Decoding does not remove every false positive. These cases remain:

  • Our own carriers. Quoted inside our message, link, and HTML sentences, some NotInject prompts read like an instruction hidden in content. The model flags 7.4% of them with no encoding at all, and decoding cannot remove such flags.
  • Text in other scripts. Voidwall decodes base64 and hex only when the result is mostly Latin text. 84 of the 339 NotInject prompts are in another script, so their base64 and hex forms stay encoded. For these rows, nothing changed: 30.4% were blocked in both releases.
  • Forms not decoded. Binary base64 next to text and ROT13 stayed at 15.5% and 14.3%. In a form-encoded link, the + for a space is not decoded, and blocks fell only from 6.1% to 4.0%.

Further work

We will take a closer look at the gaps above, and at forms this measurement does not cover: nested encodings, base64 and hex in responses and streams, and encoded values in URL paths, query strings, and headers.

Check the numbers yourself

The measurement lives in the Voidwall repository, in crates/voidwall-eval/injection-fp. It runs the published release images, so you only need Docker and Python 3.11 or later. On a 12-CPU Ryzen 5 7600X, it took 29 minutes for 0.6.1 and 6 minutes for 0.10.0.

git clone https://github.com/adaqus/voidwall.git
cd voidwall
IFP_BROWSESAFE=0 docker/ctl injection-fp-eval 0.6.1 0.10.0

The command downloads the datasets, checks each file, runs both releases, and prints the tables. The README next to it holds the full results.

The benign prompts come from deepset/prompt-injections (label 0), NotInject, and 500 prompts drawn from databricks-dolly-15k. The attack prompts come from deepset/prompt-injections (label 1) and Lakera/gandalf_ignore_instructions. Each dataset is pinned to a fixed revision.

These results have limits. The model card lists deepset, NotInject, and the source of Dolly among the training data, so the plain-form numbers are likely better than on unseen text. The encoded forms are built by us: they show how the model reacts to an encoding, not how often real traffic holds one. And only short prompts in request bodies were measured, through the /v1/scan API.

Conclusion

On these prompts, the same model at the same threshold blocked 3.1% of encoded benign prompts instead of 25.8%, and 70.7% of encoded attacks instead of 53.7%. Nothing changed in the model. The change is in what Voidwall gives it to read, and none of the other open-source guardrails we checked decodes text before its prompt-injection check.

Deployed at the HTTP boundary, in front of LLM applications and AI agents, Voidwall decodes the text before its guards judge it. The guard must see what the LLM sees, and 0.10.0 brings it much closer to that.