Files
SQLBot/backend
ulleo 5b94406c3a fix: Fix SQL injection / LLM Prompt Injection vulnerability causing unauthorized queries
Security hardening:
- Add SQLBOT_ALLOW_METADATA_QUERIES config option, disable SHOW/DESCRIBE/EXPLAIN by default
- Add table whitelist check, use sqlglot to parse actual SQL table names and compare with authorized table list
- Add dangerous function check, block LOAD_FILE, INTO OUTFILE, EXEC etc. by database type
- Improve check_sql_read to return specific error reasons for better debugging
2026-06-11 17:29:38 +08:00
..
2026-04-20 13:29:17 +08:00
2026-06-04 11:40:58 +08:00
2025-04-21 17:51:16 +08:00
2025-06-25 16:02:14 +08:00
2026-06-04 18:22:30 +08:00
2025-04-21 17:51:16 +08:00