Protocol X
What Protocol X checks, where it runs in Shield, and how its results were measured.
What it is
Protocol X is Mastyf’s own model for AI agent security. It reads what tools send back to your agent, and the calls your agent makes, and decides before anything reaches the agent or your systems. It catches attacks that fixed rules miss: instructions split into harmless-looking pieces, instructions queued for a later tool call, and instructions dressed up as error-recovery steps.
It is part of the paid tier and is never open-sourced.
What it does in Shield
- Tool results: blocks
- A web page, file or message that carries hidden instructions is stopped before your agent reads it, and the agent is never shown the words that were caught.
- Tool calls: flags
- Calls it judges risky are recorded for review, while Mastyf’s fixed rules block the clearly dangerous ones: reading secret files, sending credentials out, downloading and running code.
- Where it runs
- On Mastyf’s servers. Shield sends each check to Protocol X using your Shield licence.
How we measured
- Attacker success: 25% → 0%
- AgentDojo, 249 attacked cases: the share of attacks that got the agent to do what the attacker wanted, with no defense and then with Protocol X.
- 777 new attacks
- Generated by our red team; none of them are in the model’s training data.
- 40 of 40 harmless calls allowed
- Ordinary calls scored in the same check, to make sure it doesn’t block normal work.
- ~1 s per decision
- Median time on a laptop CPU.
The arena on the Protocol X page replays recorded runs of the November 2026 release on our red-team suite (generated 2026-11-07). Nothing on that page calls the model; every verdict, score and time shown is a recording, misses included.
Limits
- It is a model, so it can miss. The arena shows a recorded miss when you reach it.
- On tool calls it flags rather than blocks; the fixed rules and the other paid layers do the blocking.
- Each check takes about a second, so it is used where a second is acceptable.