Text-to-SQL Security
Load Limit
Overview
Detects SQL statements that are likely to cause significant system load and affect performance.*
User: “I have 4 tables called employees, organizations, campaigns, partners, and a bi table. How can I get the salary for an employee called John combined with the organization name, campaign name, partner name and BI ID?”
LLM Response: “Response restricted due to potential high system load.”
Policy details
This policy prevents SQL commands that could lead to significant system load, such as complex joins or resource-intensive queries.
By blocking these commands, the policy helps maintain optimal system performance and user experience.
Security Standards
- OWASP LLM Top 10 Mapping: LLM04: Model Denial of Service.
- NIST Mapping: Denial of Service.
- MITRE ATLAS Mapping: AML.T0029 - Denial of ML Service.