Home / Security tooling

llm-agent-control-plane

Deterministic policy enforcement for LLM agents.

Python · Apache-2.0 · no release yet

What it is

Policy enforcement for LLM agents: a reference monitor that decides every tool call with provenance and approval rules, no model on the decision path. Prompt injection defence evaluated on AgentDojo, with an 80-event AI security incident dataset.

An LLM agent reads its user's request, its tools' results and whatever untrusted content it fetches as one stream of text, so whoever controls that content can direct the authority the agent holds. This repository releases a policy enforcement point (PEP) that sits between the agent and its tools and decides every tool call with two deterministic rules, with no model on the decision path; the scripts, summaries and decision logs behind its evaluation on AgentDojo with five models and a model-free replay of all 949 reference trajectories; and a dataset of 80 publicly documented AI-security events coded under a written codebook. It is the artifact of the paper Provenance-Checked Tool Calls: A Model-Free Reference Monitor for LLM Agents (M. B. Ali, N. Ali, M. A. Iqbal and M. S. Saleem), accepted at ARCAI 2026 (Springer proceedings). It is for researchers and engineers who want a prompt injection defence for tool-using agents that can be unit-tested and replayed, and for anyone who needs a coded dataset of AI security incidents with a codebook.

The PEP is a drop-in replacement for AgentDojo's tool executor. Both rules in one sentence each:

Install

uv venv && uv pip install -r requirements.txt     # or: make venv
make test       # offline unit tests for the released matcher (tests/test_matcher.py)
make lint       # ruff
make replay     # one suite replayed through the PEP, checked against results/replay/preflight_v22.json (seconds)
make replay-full  # all four suites, both attacks, four policy variants (about 13 minutes; output identical to the released file)

From the README; see the full README for every option.

More in Security tooling

All tools

Topics: agent-security, agentdojo, ai-safety, ai-security, llm-agents, llm-security, policy-enforcement, prompt-injection, reference-monitor, research-artifact