Intent-Code Divergence
Medium
- Confidence
- 84% confidence
- Finding
- The tool advertises run-sql as read-only, but a simple environment flag disables the read-only guard and permits write/DDL statements. In an agent-skill context, this increases risk because an operator or calling environment may unknowingly enable destructive SQL execution, allowing data modification, privilege changes, or schema changes through a tool expected to be safe for inspection only.
