# An agent layer that predicts, before the agent acts, which prompt injections can't land: 0/1,174 on AgentDojo

> Source: <https://discuss.huggingface.co/t/an-agent-layer-that-predicts-before-the-agent-acts-which-prompt-injections-cant-land-0-1-174-on-agentdojo/193184#post_1>
> Published: 2026-12-05 13:00:46+00:00

**Recommendation:** Gate write-tool identifier arguments at the tool-call boundary so they are admitted only if they originate in the user request or a plan-named read; the source reports 0 of 1,174 AgentDojo injections landing.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

Predicted before the run, confirmed by each field’s own benchmark, six fields, one structure. This post is the first field in depth.

We built a deterministic layer at an LLM agent’s tool-call boundary. A write’s identifier arguments (recipient, IBAN, URL, object id) are admitted only if they come from the user’s request, or from a read that the request-time plan names. The rule depends only on the request and the plan, so it predicts per cell, before the agent acts, which attacks can’t land.

Replicate in one command, no model, no key: `git clone https://github.com/r-a-elu-architecture/rsos-one-seed && cd rsos-one-seed && bash reproduce_a1.sh`

The same procedure on five other fields (time series, code, quantum estimation, law discovery, multi-step model errors), each with its judge and what did not hold: [RSOS One Seed v2: predicted before the run, six fields, one structure](https://r-a-elu-architecture.github.io/rsos-one-seed/)

Paper [Deciding Before the Agent Acts: A Request-Bound Tool-Call Layer, a Per-Cell Reachability Prediction, and an Exact Model-Free Bound on AgentDojo | Zenodo](https://doi.org/10.5281/zenodo.24861070) · records [SRC-X.5: launch records](https://r-a-elu-architecture.github.io/srcx5/launch.html) · site [RSOS One Seed v2: predicted before the run, six fields, one structure](https://r-a-elu-architecture.github.io/rsos-one-seed/). We’d most like to hear from anyone who runs it on their own agent or tries to break it.
