Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- The script exposes a raw `--sql` argument and passes it directly to `cursor.execute(...)` without validating that it is read-only. Although the comments and help text imply SELECT-only behavior, an operator or downstream agent can submit `DELETE`, `UPDATE`, `DROP`, `ATTACH`, or other SQLite statements that modify or exfiltrate sensitive financial data from the user’s local databases. In a personal-finance skill handling bank and card records, this mismatch is especially dangerous because it expands a read-only assistant into a database write/destruction surface.
