← Back to directory

Check agent-generated SQL before execution. Returns allow|warn|block with rule c...

https://commandguard.grindfree.net/v1/sql

Overview

Check agent-generated SQL before execution. Returns allow|warn|block with rule codes (DROP/TRUNCATE, DELETE/UPDATE without WHERE or tautology, privilege grants, COPY PROGRAM, file/network access, read_only and protected_tables policy). Caller must enforce.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider CommandGuard
Source bazaar
Indexed 2026-11-09 07:57:20

Health

Status healthy
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "dialect": "postgres", "policy": { "read_only": false }, "sql": "DELETE FROM orders" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "decision": "block", "engine": "commandguard-sql-v1", "findings": [ { "category": "data_destruction", "reason": "DELETE without WHERE removes every row", "rule": "DELETE_WITHOUT_WHERE", "severity": "block", "statement": "DELETE FROM orders" } ], "fingerprint": "cg1_example", "risk_score": 85, "rule_pack_version": "commandguard-2026-11.1", "statements_analyzed": 1 }, "type": "json" }