Defender is an OSS library to detect and neutralize prompt injection in tool outputs; verified 97★ and bundles a ~22MB ONNX model.
Defender — Prompt Injection Guardrails for Agents
Defender is an OSS library to detect and neutralize prompt injection in tool outputs; verified 97★ and bundles a ~22MB ONNX model.
Ready-to-run agent install
This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.
npx -y tokrepo@latest install 21666b2c-58cb-50da-b8ac-5a3b476463b1 --target codexRun after dry-run confirms the install plan.
Discussion
Related Assets
ZenGuard — Runtime Guardrails for AI Agents
A real-time trust layer for agents with prompt-injection/PII/secrets detectors and tiered access; verified 150★, pushed 2026-02-03.
Superagent SDK — Guardrails Against Prompt Injection
Superagent SDK helps protect AI apps: detect prompt injections, redact PII/secrets, scan repos for poisoning, and integrate via TS/Python, CLI, or MCP.
Agent Governance Toolkit — Policy Guardrails for Agents
Microsoft's Agent Governance Toolkit adds policy checks, red-team scans, evidence verification, and runtime guardrails to autonomous agents.
Rampart — Policy Firewall for AI Agents
Guardrails for AI coding agents: a policy firewall for shell/file/network and an MCP proxy that blocks or requires approval for dangerous tool calls.