A Task Specific Gatekeeper for AI Agent Tools
Adolfo · Team BouncerBuilder
Submitted to AI Incident Response Sprint. Sprint projects are early-stage work by participants, not Apart Research publications.
AI agent evaluations may restrict networks and sandboxes without checking whether each tool action belongs to the task. This creates a gap between what an agent can execute and what it is actually authorized to do. In OpenAI's 2026 ExploitGym incident, agents exploited shared infrastructure, escaped their intended isolation, and reached Hugging Face while production safeguards were not applied to the evaluation. Bouncer adds a control step between the moment an agent generates a tool call and the moment that tool call is actually executed. It binds trusted agents and run context, checks the call against a task-specific allowlist and same-agent history, logs the decision, and executes only allowed calls.
Reviews
Good design, honestly presented. The write-up names its closest prior systems up front and doesn't
pretend the core mechanism is new, which is rarer than it should be. The corpus preparation holds up
under inspection and the test suite is better than most.
The headline number is the problem. The historical replay blocks every action it processes, but only
because that kind of call was never permitted in the first place. A default-deny rule turning away
something absent from its list will always refuse it; the outcome is guaranteed by the configuration
rather than earned by the design. What the large number demonstrates is that the allow-list is
narrow, not that the gatekeeper discriminates well.
The layer that would be interesting, the one watching for abuse of calls that are permitted, is
never reached by the replay at all. It is exercised only on a handful of hand-written scenarios —
though to the project's credit, one
of those scenarios surfaces a real weakness in the rule itself, a false positive against ordinary
honest work when the task clock runs ahead of the real one, and it is recorded in the results table
rather than buried.
Rebuilding the policy so the replayed calls are authorized, leaving behaviour as the only signal,
would turn that result into evidence, and it requires no new data — only a different reconstruction
of the same corpus. Two smaller things: one of the stated contributions is listed as pending in the
project's own planning notes and should either be finished or dropped from the paper, and a test
suite this good is worth wiring to continuous integration so it keeps passing.
Read full reviewShow less
Solid work given the time frame, but I'd appreciate more detailed description of the method and results.
Next time, please remove placeholders from the final report:
- In Code and Data: `Include links if applicable. If your project doesn't involve code (e.g., policy analysis) or if there are
info-hazard considerations, note that here.`
- In reference: `Use a consistent citation format. Include: Author(s), Year, Title, Venue/Publisher, and URL or
DOI where available`
Cite this project
@misc{adolfo2026task,
title = {{A Task Specific Gatekeeper for AI Agent Tools}},
author = {Adolfo},
year = {2026},
month = sep,
note = {Submitted to AI Incident Response Sprint, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/a-task-specific-gatekeeper-for-ai-agent-tools-r4wo}},
url = {https://apartresearch.com/sprints/projects/a-task-specific-gatekeeper-for-ai-agent-tools-r4wo}
}More from AI Incident Response Sprint
- 1st placeView project: Noticing the escapes: Who spots a runaway agent, and how long does it take?
Noticing the escapes: Who spots a runaway agent, and how long does it take?
The Escapees
In 2026, nine incidents became public in which AI agents escaped their environment and did something unauthorized to other parties. We analyzed all of these incidents and how they were noticed initially. None of these …
- 2nd placeView project: Strengthening International AI Incident Discovery
Strengthening International AI Incident Discovery
Team A-O-I
Mandatory AI incident reporting exists to make dangerous events visible to regulators while there is still time to act. We coded the six such regimes in force or set to be enforced soon from primary legal texts and …
- 3rd placeView project: When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
Teachafy
When to Ask is a reinforcement-learning environment that trains AI agents to work out what the user actually means before they use a powerful credential, instead of just carrying out the literal instruction. Agents …