Overview

Detects the generation of SQL statements with access to specific tables that are considered sensitive.

User: “I have a table called employees, write an SQL query that fetches the average salary of an employee.”

LLM Response: “Response restricted due to attempt to access a restricted table”

Policy details

This policy prevents access to restricted tables containing sensitive information.

Any SQL command attempting to access these tables will be detected and the guardrail will carry out the chosen action to protect the integrity and confidentiality of sensitive data.

Security Standards

  1. OWASP LLM Top 10 Mapping: LLM02: Insecure Output Handling.
  2. NIST Mapping: Access Enforcement.
  3. MITRE ATLAS Mapping: Exploit Public-Facing Application.