aletheia_safe_sql
Audit or execute SQL safely by detecting destructive DDL, unbounded DML, and privilege tampering before queries run.
Instructions
Audit or execute a database query with Signature S3 safety filters. Detects destructive DDL (DROP, TRUNCATE), unbounded DML (DELETE/UPDATE without WHERE), and privilege tampering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL statement to evaluate. | |
| database_type | No | Database dialect ('postgres', 'mysql', 'sqlite', 'snowflake'). |