Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The skill correctly warns not to place user-provided values into SQL, but then undermines that guidance by providing copyable query templates with inline placeholders such as '<channel_id>', '<user_id>', and 'keyword' embedded in SQL strings. In practice, an agent or operator may substitute untrusted user input directly into these examples, causing SQL injection risk against the local Discord archive and potentially exposing or broadening access to sensitive private message data.
