open-source · since 2026-11-12
Safe Text-to-SQL
fedex85
MIT-licensed PostgreSQL NL2SQL application that treats generated SQL as untrusted input, parses it with pglast, enforces table/function/column allowlists, runs under a read-only role with timeout and cost limits, and records an audit trail.
nl2sqlpostgresqlsecurityfastapi
desk notes
Verified 2026-11-12 from repository metadata and README. Public, unarchived, 1 star/0 forks at check time. README reports 102 passing tests and a 43/43 SQL-attack suite; these are author-run results, not an independent audit.