AgentFence

•
1
•

Provides a local security layer for AI coding agents by detecting and blocking risky actions before execution.

AgentFence serves as a crucial local security gate for AI coding agents, offering a lightweight, dependency-free layer to prevent secret leaks, destructive commands, unsafe Git operations, and network egress. It evaluates proposed actions against defined policies and built-in safety signals, providing clear ALLOW, REVIEW, or BLOCK decisions without ever executing the action itself. This tool is ideal for developers and security teams building agentic workflows who need a deliberate pause and review process for potentially risky AI agent actions.

Características Principales

01Detects and blocks secret leaks (API keys, GitHub tokens, AWS keys).
02MCP-compatible integration for structured ALLOW/REVIEW/BLOCK decisions.
03Prevents destructive commands (`rm -rf`) and unsafe Git operations (`git push --force`).
04Policy-as-code evaluation with plain JSON rules.
05Identifies and flags risky network actions (e.g., piping downloads to shell).
060 GitHub stars

Casos de Uso

01Adding a security layer for AI coding agent workflows.
02Implementing policy-as-code for agentic development teams.
03Providing reviewable action receipts for open-source maintainers.