DESIGN & THREAT MODEL
Why I put a proxy between my AI agent and my server
The placement of the enforcement point, three failure modes, and the limits of the protocol boundary.
Project · AI Security
A least-privilege proxy for AI agent tool calls.
AgentGuard sits between an AI agent and an MCP server. It inspects calls before execution and results before they return to the agent, without requiring changes to either endpoint.
Deny rules for file paths and shell commands, plus host allowlists for network access.
Scans tool output for instruction-shaped content and blocks the entire result on a match.
Masks known secret formats before allowed tool output reaches an agent context.
Writes policy decisions to a hash-chained audit log so later edits are detectable.
AgentGuard is a protocol-level control. It does not sandbox the MCP server process, does not claim to catch every prompt-injection phrasing, and makes its threat-model boundaries explicit.
DESIGN & THREAT MODEL
The placement of the enforcement point, three failure modes, and the limits of the protocol boundary.
IMPLEMENTATION & TRADEOFFS
Whole-message blocking, deterministic rules, and a false negative found by the shipped-policy test suite.