Agent Action Gate

io.github.AAH20由 GitHub 帳號 AAH20 發布v0.2.0更新於 Oct 24, 2026

Gate/Prove: deny unattended destructive agent tools. Instant Audit $499 on a2zsoc.com.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機策略閘門,用來檢查代理與 MCP 工具呼叫,拒絕無人看管的破壞性操作,除非提供人工核准權杖,並記錄每次決策。

可以做什麼
  • 評估擬執行的工具呼叫,回傳拒絕、模擬或允許的決策,未知工具預設拒絕。
  • 對高風險的破壞、開通或下線操作,要求提供證明權杖並明確標記已核准後才允許執行。
  • 寫入類操作預設進入模擬模式,不產生實際副作用。
  • 將決策寫入僅可追加、雜湊鏈式的操作帳本,並可驗證該帳本。
  • 回傳包含帳本編號與回執雜湊的信封,並聲明模型信心絕不等於核准。
  • 可從命令列執行帶 ATT&CK 標籤的範例案例與成本估算。
適用情境
適用於執行可能呼叫破壞性或開通類工具的代理或 MCP 用戶端,並希望在執行前設置檢查點的情境。也適合需要為合規或盡職調查保留閘門決策稽核紀錄的團隊。
執行需求
以本機 Python 程序透過 stdio 執行,需在專案目錄下以模組命令啟動,或使用 Docker 映像。證明權杖透過 AAG_PROVE_TOKEN 環境變數或命令列參數提供。可透過 AAG_KILL_SWITCH 或標記檔案啟用緊急停止。
安裝前請注意
此伺服器本身不執行工具;只有當用戶端確實在呼叫工具前先呼叫閘門時才有效。證明權杖是經環境變數傳遞的共用密鑰,需妥善保護。README 帶有明顯商業推銷,推銷付費稽核與顧問服務,並聲明拒絕無償試用。決策會寫入本機帳本檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Action Gate,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Agent Action Gate

Gate/Prove runtime for agent and MCP tool calls.

Normalize tool intent → deny unknown → never treat model confidence as approval → HITL prove on destructive / provision / decommission → Action Ledger (hash chain).

Extracted from GRC_Claw @grc-claw/agent-policy-firewall. This repo is the sharp foundry slice: one command, no cathedral.

Commercial (how this is sold): $499 Instant Audit and consultation on a2zsoc.com.

Why this exists (revenue + cost)

AI-agent companies do not pay for “another MCP.” They pay to stop unattended destructive tools and to prove Gate/Prove gaps before SOC 2 Type I, PE diligence, or insurance renewal.

Cost driverWhat this gate doesBuyer outcome
Ungated shell.exec / disable-control / decommissionDENY unless HITL prove token + approvedAvoid production blast
Agent “95% sure”never_equate_intent_to_approval: trueIntent ≠ ledger proof
Write tools fire on first thoughtDefault SIMULATE (no side effects)FDE minutes, not incident cost
No audit trailAppend-only Action Ledger with hash chainDiligence packet

Hard rule: never equate agent intent or model score to human approval.

Illustrative cost sketch (not a quote): make bench.

Quick start

bash
make demo
bash
PYTHONPATH=. python3 -m aag demoPYTHONPATH=. python3 -m aag check fixtures/t1059_unattended_shell.jsonPYTHONPATH=. python3 -m aag bench

Unattended high-tier calls DENY even at 0.99 confidence. ALLOW needs AAG_PROVE_TOKEN (or --prove-token) and approved: true.

bash
export AAG_PROVE_TOKEN='replace-me'PYTHONPATH=. python3 -m aag check fixtures/proved_decommission.json --prove-token "$AAG_PROVE_TOKEN"

Kill-switch: AAG_KILL_SWITCH=1 or touch artifacts/KILL.

MCP stdio server

This process never executes tools. Clients call gate_check before they would invoke a destructive tool.

bash
PYTHONPATH=. python3 -m aag serve

Cursor / Claude example (mcpServers):

json
{  "agent-action-gate": {    "command": "python3",    "args": ["-m", "aag", "serve"],    "cwd": "/path/to/agent-action-gate",    "env": { "PYTHONPATH": ".", "AAG_PROVE_TOKEN": "replace-me" }  }}

Docker / registry image:

bash
docker run --rm -i ghcr.io/aah20/agent-action-gate:0.2.0

Official MCP Registry name: io.github.AAH20/agent-action-gate

Envelope

Every decision includes:

  • never_equate_intent_to_approval: true
  • allow_auto_execute (false on unattended high tiers)
  • mode: deny | simulate | allow
  • ledger_id / receipt_hash
  • CTAs: Instant Audit + consultation

Library mapper

Same Gate/Prove policy from Python without the stdio loop:

python
from aag.gate import AgentActionGatefrom aag.mcp import evaluate_mcp_call
gate = AgentActionGate(prove_token="replace-me")evaluate_mcp_call(gate, {"params": {"name": "shell.exec", "arguments": {"note": "no payload"}}})

Fixtures (labeled, not payloads)

FileTechniqueExpected
t1059_unattended_shell.jsonT1059DENY unattended destructive
t1078_read_identity.jsonT1078ALLOW read
t1562_impair_defenses.jsonT1562DENY unattended destructive
write_ticket_simulate.json—SIMULATE write
proved_decommission.jsonT1578ALLOW only with HITL token

Layout

text
aag/  gate.py      HITL + kill-switch + unknown deny  ledger.py    hash-chained JSONL  server.py    MCP stdio (gate_check, ledger_verify)  mcp.py       MCP tools/call mapper (no execution)  cost.py      illustrative avoidance sketch  demo.py      fixture runnerfixtures/      ATT&CK-tagged casesserver.json    MCP Registry metadatatests/         Gate/Prove + MCP contract

Paid evaluation (not free prove)

If you deploy agents or MCP servers and need a Gate/Prove read before SOC 2, PE diligence, or insurance:

→ $499 Instant Audit
→ consultation (sprint / vCISO)

Unpaid take-homes: refuse — run make demo and buy Instant Audit.

License

MIT

來源:README.md,提交 8ff0d35

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分