open-source · since 2026-10-02
text2sql Safety Gate
zhaosibo-1
MIT-licensed Chinese natural-language-to-SQL reference that routes generated SQL through a table, column and function allow-list, enforces row limits, and executes against a read-only SQLite sandbox with an authorizer and timeout.
text-to-sqlsecuritysqlitechineseguardrails
desk notes
Verified Oct. 2, 2026. README documents 113 unit tests, 66 end-to-end checks and 54 browser-render checks. Core guard/sandbox code is standard-library-only; optional generation uses an OpenAI-compatible endpoint. New repository with 0 stars at verification, so adoption is unproven.