Journal · AI agent security

You can't prompt your way out of prompt injection.

You cannot fix prompt injection with a prompt. The attack and the defense are written in the same language.

Every week someone posts a new system prompt that supposedly stops prompt injection. It holds up until the next clever input, and then it does not. The reason is simple and it does not go away: you cannot fix prompt injection with a prompt, because the attack and the defense are written in the same language, aimed at the same model, and the model cannot reliably tell them apart.

Why injection keeps winning at the model layer

A language model does not separate instructions from data. Text is text. So when your agent reads a web page, an email, or a document, any instructions hidden in that content can be absorbed as commands. That is indirect injection, and it is the dangerous kind, because it does not come through the user you can see. Input filters catch the blunt attempts. The hidden ones slip past, and there is always another phrasing.

Even a deterministic policy that lives inside the agent's own runtime shares this weakness in part. If the guard runs in the same process as the agent it governs, a compromised runtime, a poisoned dependency, or a harness defect puts the guard in the same failure domain. Determinism inside the loop is better than a prompt. It is still inside the loop.

Stop defending the mind. Wall off the hands.

The way out is to stop trying to win the argument inside the model and instead put a boundary on what the agent can do, outside the agent. Let the model be fooled. The action it then tries to take still has to clear a gate that sits out of band, with its own trust boundary, checking every outbound action against a sealed mandate the agent cannot change.

Signet gates on argument provenance. When an action is driven by untrusted, externally derived input, the gate can block it or hold it for a human, regardless of how convincing the injected instruction was. The agent can be fully hijacked and the unauthorized action still hits a wall it cannot move. This is the same reason the watcher cannot be another model: a probabilistic judge can be talked around, and a boundary cannot.

The honest version

We are not going to tell you injection can be eliminated. It cannot. The attempt will still happen. What changes is the outcome: the instruction may land, and the action it asks for does not execute. We measured this on public attack benchmarks we did not write, with near-zero injected-attack success at about one times overhead. Not a claim. A number you can reproduce.

You cannot prompt your way out of prompt injection. You wall it off, outside the agent, on the action. If your agents read anything they did not write, that is your exposure, and it is closable. We should probably talk.

See it decide on your own agents.

We will walk you through Signet governing a real fleet, and what it takes to deploy inside your stack.