← Back to directory

Decide whether an agent-authored bash command complies with an execution policy,...

https://shellpermit.schemasure.com/v1/guard/shell

Overview

Decide whether an agent-authored bash command complies with an execution policy, using a real shell tokenizer rather than pattern matching. Catches recursive deletes, force pushes, cluster and infrastructure teardown, raw device writes, path escapes, privilege escalation, and curl-piped-to-shell through pipelines, substitutions, quoting games and base64. Returns reason codes with spans and an optional short-lived permit bound to the exact canonical command. Never executes anything.

Protocol x402 (POST)
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider ShellPermit
Source bazaar
Indexed 2026-09-19 21:13:43

Health

Status healthy
Latency (p50) 639ms
Uptime (30d) 95.0%
Reliability Score 87.5/100
Last Checked 2026-10-31 07:08:08
Last Healthy 2026-10-31 07:08:08
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "audience": "executor:acme-prod-01", "command": "rm -rf ./dist && npm run build", "issue_permit": true, "policy": { "allow_destructive": true, "allow_network_egress": false, "allowed_roots": [ "/srv/app" ], "cwd": "/srv/app" }, "shell": "bash" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "confidence": 1, "evidence": [], "ok": true, "result": { "canonical_command": "rm -f -r ./dist && npm run build", "cmd_fingerprint": "a1b2c3d4e5f60718", "cmd_hash": "sha256:0f4c…1c2d", "permit": "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoi…" }, "risk_codes": [], "verdict": "pass", "warnings": [ "cmd_fingerprint is ADVISORY and must not be used for authorization." ] }, "type": "json" }