NL2SQL ยท SAFETY CHECK

SQL Read-Only Guard

Inspect a query before it reaches a database. This rule-based demo never connects to or executes SQL.

What the guard checks

Rejects mutation keywords and multi-statement input; it is a simple demonstration of an allowlist decision.

Invented SQL examples for education. This is not a complete SQL parser, database security product, or guarantee against obfuscated attacks. Use parameterized queries and server-side permissions in real systems.