Files
SQLBot/backend/common/core
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
..
2025-04-23 21:14:42 +08:00
2025-12-24 11:52:14 +08:00
2025-07-27 00:56:07 +08:00
2025-11-17 20:17:15 +08:00
2025-05-07 16:21:17 +08:00
2025-07-07 11:17:22 +08:00