sqlguardllm is a security component: a way to make check() accept SQL that breaks one of its guarantees is a vulnerability, even if it looks like a parser quirk. The guarantees are listed in the threat model.
Please don't open a public issue, discussion or pull request. Use GitHub's private reporting:
- Go to the Security tab.
- Click Report a vulnerability.
- Include the dialect, the policy, the SQL, what
check()returned and what you expected. A minimal reproduction is ideal.
What happens next:
| When | What |
|---|---|
| ≤ 3 business days | Acknowledgement |
| ≤ 10 business days | Assessment and a fix plan |
| Fix released | A GitHub Security Advisory, a CVE when appropriate, and the case added to the adversarial corpus |
We credit reporters in the advisory unless you prefer to stay anonymous.
- Bypasses of any rule: writes, multiple statements, tables or columns outside the policy, denied functions, row filters, row limit.
- Parser differentials: SQL that sqlglot and the real engine interpret differently in a way that defeats a rule.
- Unsafe binding of context values into row filters.
- Risks listed as out of scope in the threat model (query cost, inference through allowed data, missing database permissions).
- Vulnerabilities in sqlglot itself: report those to sqlglot. If one affects sqlguardllm's guarantees, tell us too.
sqlguardllm is pre-release. From v0.1 on, security fixes go to the latest minor version.