Context-Inappropriate Capability
Medium
- Confidence
- 98% confidence
- Finding
- The growth report query interpolates the caller-controlled `days` value directly into a SQL string inside `datetime('now', '-${days} days')`. Even in SQLite, direct string interpolation into SQL can enable SQL injection or query manipulation if an attacker can supply crafted input, and the local-only context does not remove the risk when other agent components may pass untrusted values.
