By scopeblind
Local policy checks and offline receipt verification for Claude Code. Coverage depends on the configured hooks and tools; verification requires the expected signing key.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub scopeblind/scopeblind-gatewayLocal Cedar policy checks and signed decision receipts for Claude Code tool calls routed through the plugin hooks. Includes MCP tools for explicit evaluation and receipt inspection. Requires a running local gate.
Offline verifier for signed receipts, audit bundles, and trust artifacts. Ed25519 + JCS, no accounts, no network calls. Verify what an agent's gate decided without trusting the operator.
Local policy enforcement and signed decision receipts for AI agent tool calls.
Developer page · Quickstart · Agent setup · Policy packs · Sample record · Integrations · Documentation · Contribute
Put the gateway between an MCP client and its tool server, or use its hooks in a coding agent. Review a Cedar policy, enable enforcement, and keep a signed record of the decisions. Local evaluation and verification need no ScopeBlind account and send no decision telemetry.
--enforce when ready to block.A gateway covers calls routed through it. It is not an OS sandbox, and a signed receipt does not establish that an action executed or that no action was omitted. The security policy describes the boundary and reporting process.
A real local run: evaluate two proposed calls, sign the decisions, verify the receipts, then change a signed decision and check it again.


Text walkthrough and reproduction · Captured results
Use Node.js 22 and npm in a new directory. Install the pinned gateway and verifier:
mkdir protect-mcp-demo
cd protect-mcp-demo
npm init -y
npm install --save-exact [email protected] @veritasacta/[email protected]
This example evaluates two proposed calls and signs their decisions. It does not
execute either tool or run git push. Everything after installation is local.
# Create a starter policy and a private signing key.
npx --no-install protect-mcp init --starter
# A normal read is allowed; a force-push to main is denied (exit 2).
npx --no-install protect-mcp evaluate --policy ./protect.cedar --tool Read --input '{"path":"README.md"}'
npx --no-install protect-mcp evaluate --policy ./protect.cedar --tool Bash --input '{"command":"git push --force origin main"}' || test "$?" -eq 2
# Evaluate again at signing time and record both decisions, in order.
npx --no-install protect-mcp sign --cedar builtin:starter --tool Read --input '{"path":"README.md"}' --key ./protect-mcp.key --receipts ./receipts
npx --no-install protect-mcp sign --cedar builtin:starter --tool Bash --input '{"command":"git push --force origin main"}' --key ./protect-mcp.key --receipts ./receipts
# Take only the public key from the key you generated, not from the receipt.
PROTECT_MCP_PUBLIC_KEY=$(node -p 'JSON.parse(require("fs").readFileSync("protect-mcp.key", "utf8")).publicKey')
npx --no-install verify --replay-chain ./receipts/receipts.jsonl --key "$PROTECT_MCP_PUBLIC_KEY" --json
# Change the signed deny to allow. The original receipt log stays intact.
node -e 'const fs=require("fs");const r=JSON.parse(fs.readFileSync("receipts/receipts.jsonl","utf8").trim().split("\n")[1]);r.payload.decision="allow";fs.writeFileSync("tampered.json",JSON.stringify(r))'
npx --no-install verify tampered.json --key "$PROTECT_MCP_PUBLIC_KEY" --json || test "$?" -eq 1
7-day visitors to each marketplace page
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering