
mvikmanners/aw1-circuit-breaker
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Deterministic sub-0.2ms AST security circuit breaker for autonomous AI agents, tool dispatch pipelines, and MCP servers.
概要
Read the independent source-level teardown: What aw1-breaker 2.0.0 checks before a tool call. aw1-breaker is a zero-dependency Python security circuit breaker that intercepts autonomous AI agent tool calls in sub-millisecond execution loops using Abstract Syntax Tree (AST) decompilation, per-actor rolling velocity monitors, and cryptographically signed HMAC execution tokens. Deterministic sub-0.2ms AST security circuit breaker for autonomous AI agents, tool dispatch pipelines, and MCP servers. Test the circuit breaker live in your terminal right now without installing anything: Deterministic AST deconstruction and runtime circuit breaker preventing rogue shell escapes, dynamic eval(), and covert lateral socket egress in autonomous LLM tool calls. AW-1 operates deterministically at the Abstract Syntax Tree (AST) level before code reaches Python's runtime execution frame.
README
以下は原文 README の抜粋です。原文を見る。
Install with HOL Guard, which checks the HOL listing and asks before each runtime:
hol-guard plugin install mvikmanners/aw1-circuit-breaker --apply
Get HOL Guard with pipx install hol-guard or uv tool install hol-guard.
AW-1 Circuit Breaker
Deterministic sub-0.2ms AST security circuit breaker for autonomous AI agents, tool dispatch pipelines, and MCP servers.
⚡ 10-Second Test Drive (Zero-Install)
Test the circuit breaker live in your terminal right now without installing anything:
uvx aw1-circuit-breaker --demo
Or verify an arbitrary snippet:
uvx aw1-circuit-breaker verify "subprocess.run(['rm', '-rf', '/'])"
AW-1 Circuit Breaker
Deterministic AST deconstruction and runtime circuit breaker preventing rogue shell escapes, dynamic eval(), and covert lateral socket egress in autonomous LLM tool calls.
Installation
pip install -r requirements.txt
Running the Server
Run directly with Python:
python mcp_server.py
Or via uvx:
uvx mcp_server.py
MCP Client Configuration
{
"mcpServers": {
"aw1-circuit-breaker": {
"command": "python",
"args": ["mcp_server.py"]
}
}
}
Exploit Interception in Action
インストール
uvx aw1-circuit-breaker --demo設定
{
"mcpServers": {
"aw1-circuit-breaker": {
"command": "python",
"args": ["mcp_server.py"]
}
}
}