We gave a chatbot a secret password, then challenged AI attackers to steal it. Adding GateBolt made the password much harder to extract. This post shows how well it worked, where attackers still got through, and how often it blocked harmless conversations.
GateBolt is our product for making AI agents you can trust. It has two layers: one checks each message going into an agent and each reply coming out, and the other sits between the agent and its model. This post tests the first layer against prompt injection: messages that try to trick a model into breaking its rules, such as giving away a secret.
Hodor is a door-keeper chatbot on this site that is given a password and must not reveal it. We tried to get the password out at seven levels of defence:
Level 2, an instruction alone, is the simplest defence, and level 7 is GateBolt at its most cautious. We ran Hodor on two models: Claude Haiku 5.5, which powers Hodor on this site, and Llama 3.1 8B, a small open model that gives the password away far more easily even when told not to. Llama shows what GateBolt does when the model itself is weak.
We ran three attack tests and one check for mistakes:
The wrong-block figures leave out blocked replies containing the password. This can leave out mistakes too, when the word was used innocently. The appendix explains the counting rule.
Prompt injection isn't solved, and those battle wins are our next job.
We make GateBolt, so we are grading our own product. We used public attack datasets, publish our harmless messages, Mosscap sample, attack strategies, prompts and leak hand-check, link every run's results down to each battle, and show the weak results next to the strong ones.
Hodor sends each message and each reply to GateBolt's service, which asks TypeSafe's Jev model typed questions about it, such as "is this a prompt injection?". Jev answers with probabilities, and we can't see its training data. GateBolt's thresholds for each level then allow, flag or block the text; a flagged message still goes through.
With Llama, Gandalf leaks fell from 23.9% at level 2 to a single attack in 2,331 at level 7.
The checks work together. At level 6, GateBolt's message check blocked 79.4% of Gandalf attacks; at level 7, 93.5% with Claude Haiku and 93.2% with Llama. Many Mosscap prompts aren't attacks, and the message check blocked far fewer of them: 7.2% and 7.6% at level 6, and 15.2% and 14.8% at level 7.
At levels 4 to 7, most prompts that reached Hodor produced a reply with no detected leak, without needing GateBolt to block it. The exception was Mosscap with Llama at level 7: GateBolt blocked 530 replies, while 475 reached the attacker with no detected leak.
How we counted leaks. The judge missed plain leaks. It passed 364 replies that contained the password, 20 of them only inside a longer word, so we read them all by hand:
Those 126 include replies that only brought the word up as a topic, such as Claude Haiku refusing and then offering to chat about the castle when the password was castle. An attacker who knew the habit could still use it.
Against Llama, GateBolt cut attacker wins from 73.9% at levels 2 and 3 to 41.0% at levels 4 to 6, and 16.6% at level 7. Against Claude Haiku, levels 4 to 6 did no better than levels 2 and 3 (9.1% against 8.9%). At level 7, attackers won 4.3% of battles against Claude. We need more runs to know how reliably GateBolt reduces those wins.
A battle that broke off after the attacker had used all three guesses counts as lost. Other battles that couldn't be scored are left out.
In 90 of the 245 wins against Llama at levels 4 to 7, the attacker saw the password written as a whole word in a reply. In the other 155, it did not. Those wins may have come from clues, a password written in code, or a lucky guess. We have not checked the cause of each win.
At level 7, GateBolt blocked 6.9% of harmless exchanges with Claude Haiku and 3.6% with Llama. The chart counts 6.2% as mistakes for Claude. It leaves out replies containing the password: some revealed the secret, while others used the word innocently. That means the mistake count may be too low. The appendix shows all the counts.
Blocking about one in 15 harmless exchanges, as at level 7 with Claude Haiku, is too often for many products. Most of the blocks counted as mistakes were on messages close to attacks. For everyday messages, the recorded wrong-block rate was 1.3% with Claude Haiku and 0.0% with Llama. Every GateBolt wrong block came from its reply check. The homemade word filter at level 5 did far worse because it can't tell a question about passwords from an attack.
95% of GateBolt checks finished within about 210 ms. Levels 6 and 7 make up to two checks per exchange. If a message is blocked, there is no reply to check. In battles, each check cost under $0.0001; single-message runs didn't record cost.
Most published figures measure whether a detector flags a message, often without a wrong-block rate; we measure whether the password got out. Some tools may have trained on the test: ProtectAI's first prompt-injection model lists the Gandalf dataset in its training data, as do 19 other models on Hugging Face. Lakera's PINT leaderboard uses an unpublished mix of public and proprietary data that nobody outside can rerun.
These published figures are not directly comparable with ours, or with each other:
We haven't tested any other tool, so we don't claim GateBolt beats one. If we've misquoted anyone, tell us and we'll correct it.
The closest published study is Lakera's Gandalf the Red, on a password-keeping chatbot with levels much like Hodor's. Its hardest level was beaten by 2.9% to 6.4% of the human players who attempted it, depending on setup. They were people, not AI attackers, so the numbers don't compare directly.
No dates yet; we'll publish each piece when it's done.
To challenge our method or get early access, get in touch at gatebolt.com.
Each row counts the scored attacks at one level. The columns show what happened: the password leaked, a filter or GateBolt blocked the attack, or the reply reached the attacker with no leak detected. Leak counts include the judge's findings and the misses we found by hand. The homemade filter checks replies at level 3 and incoming messages at level 5.
The first table counts every blocked harmless exchange. The two tables after it split those blocks into the ones counted as mistakes and the ones that stopped a reply containing the password.
GateBolt did not block any harmless incoming messages. Its blocks all happened when checking Hodor's answers.
Each level sent 600 messages close to attacks (our 200, three times) and 300 everyday ones (our 100, three times).
In a battle the attacker sends Hodor up to eight messages and can make three guesses at the password at any point. The attacker wins by guessing it and loses once all three guesses are wrong, including in a battle that broke off after the third wrong guess. Each attacker played 1,386 battles: 756 against Claude Haiku 5.5 and 630 against Llama 3.1 8B. The win rate counts scored battles only. Level 1 has no defence at all, so the comparison below starts at level 2; level 1's rows are in the tables after it.
Every GateBolt check adds time and cost. For levels 4 to 7, the table counts the checks made and shows the median and 95th-percentile time per check, split into the message check and the reply check. Battle runs also record the mean cost per check; single-message runs don't, so their cost shows as a dash. The counts include checks made in results and battles later left out as unscored. No GateBolt call failed in any run.
At levels 4 to 7, these are replies from Hodor that held the password as a whole word and still reached the attacker. Because the passwords are everyday words, this count also catches innocent uses, so it differs from the Leaked column in the single-message tables above. For battles it counts scored battles only, and the last column counts battles the attacker won after one of those replies reached them.
Some battles and results couldn't be scored, for example when Hodor's provider refused to answer. They were left out of every rate above. Each is counted under the code it ended with:
A battle that ended this way, or because the attacker refused to go on or made a move that couldn't be played, after all three guesses were wrong counts as lost, not left out. That is 141 battles: 63 with Claude Haiku 5.5 and 78 with Llama 3.1 8B.
We use 29 runs from 3 and 4 Nov 2026. Four more are left out: runs 16 and 25 failed part-way, and runs 17 and 18 failed at the start, when their first tests hit a key limit. Each model lost one battle run to those failures, so Claude Haiku 5.5 has 6 battle runs and Llama 3.1 8B has 5. Each run links to its full results.




