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
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
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"
}