feat(action-gate): deterministic Gate/Prove policy firewall & hash-chained ledger for MCP tool execution - #4649
Open
AAH20 wants to merge 3 commits into
Open
feat(action-gate): deterministic Gate/Prove policy firewall & hash-chained ledger for MCP tool execution#4649AAH20 wants to merge 3 commits into
AAH20 wants to merge 3 commits into
Conversation
…ained ledger server
Signed-off-by: aah20 <aah20@users.noreply.github.com>
Signed-off-by: aah20 <aah20@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
action-gate, an MCP security middleware server implementing deterministic Gate/Prove execution boundaries, Simulation Mode, and append-only hash-chained action ledgers.Problem Solved
As autonomous agents and MCP clients gain write and shell execution capabilities, treating raw LLM probability or tool-call intent as authorization introduces severe production outages and compliance blockers.
This server enforces a zero-trust execution boundary:
model_confidence: 0.99) is explicitly rejected as authorization for destructive operations.READ: Logged and allowed.WRITE: Defaults to non-destructive simulation mode unless approved.DESTRUCTIVE/PROVISION/DECOMMISSION: HardDENYwithout a valid HITL prove token.AAG_KILL_SWITCH=1) or file sentinel.Testing & Validation
Production & Commercial Context
Maintained and battle-tested by A2Z SOC for AI Forward Deployed Engineering, ISO 42001, NIST AI RMF, and SOC 2 Type II audit readiness.
For organizations deploying autonomous agent fleets requiring formal Gate/Prove audits or production hardening: