← Back to directory

Check SQL written by an LLM / text-to-SQL agent before it touches your database....

https://agents.204-168-199-108.sslip.io/v1/security/sql-guard

Overview

Check SQL written by an LLM / text-to-SQL agent before it touches your database. Splits statements (respecting quotes, comments, dollar-quoting), classifies each (read / write / DDL / admin), lists the tables touched, and flags: writes in read-only mode, DELETE/UPDATE without WHERE, DROP/TRUNCATE, privilege changes, stacked statements, always-true filters (OR 1=1), comment-after-quote, UNION exfiltration, time-delay probes, file/OS access (xp_cmdshell, INTO OUTFILE, COPY PROG

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider SQL guard for AI agents
Source bazaar
Indexed 2026-12-01 21:26:57

Health

Status healthy
Latency (p50) 503ms
Uptime (30d) 100.0%
Reliability Score 87/100
Last Checked 2026-12-05 01:34:28
Last Healthy 2026-12-05 01:34:28
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "max_rows": "100", "mode": "read_only", "sql_b64": "U0VMRUNUIGlkLCBlbWFpbCBGUk9NIGN1c3RvbWVycyBXSEVSRSBwbGFuID0gJ3Bybyc7IERFTEVURSBGUk9NIHNlc3Npb25z" }, "type": "http" }

Output Schema

{ "example": { "comments_found": 0, "issues": [ { "code": "multiple_statements", "message": "2 statements in one string — stacked queries are a classic injection vector", "severity": "high" }, { "code": "no_limit", "message": "No LIMIT — add LIMIT 100", "severity": "low", "statement": 1 }, { "code": "no_where", "message": "DELETE without WHERE changes every row", "severity": "critical", "statement": 2 }, { "code": "write_in_read_only", "message": "DELETE is a write; mode is read_only", "severity": "critical", "statement": 2 } ], "mode": "read_only", "note": "Static analysis of the SQL text (any dialect: Postgres, MySQL, SQLite, SQL Server, Snowflake). Run agent SQL with a read-only database role too; this is a second line of defence, not a replacement for parameterised queries.", "read_only": false, "statement_count": 2, "statements": [ { "index": 1, "kind": "read", "verb": "SELECT" }, { "index": 2, "kind": "write", "verb": "DELETE" } ], "summary": "Do not run: no_where, write_in_read_only.", "tables": [ "customers", "sessions" ], "verdict": "block" }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 01:34:28 healthy 402 2617ms
2026-12-05 00:58:04 healthy 402 115ms
2026-12-04 17:58:56 healthy 402 503ms