aport-agent-guardrails
APort Agent Guardrails is a deterministic pre-action authorization tool for AI agents. It runs guardrail checks before tool execution (for supported tools), so that prompt injection cannot bypass policy verification issued by the host. The project is developed by aporthq and provides npm and PyPI packages, supports GitHub repository protection, runtime hooks, and both local/API evaluation modes. It uses the passport and decision formats of the open standard Open Agent Passport (OAP) v1.0, and claims that in live adversarial testing, the success rate of permissive policies is 74.6%, while under restrictive OAP policies it is 0% (879 top-level attempts); cloud API verification p50 is about 53ms. APort reduces the risk of prompt injection and "agent decision errors" by verifying each tool call against the passport and policy restrictions before execution.