Run this on any file that builds queries. It makes the model trace each input to the query instead of guessing from patterns.
Sources (GitHub star counts checked on 3 Dec 2026):
- OWASP SQL Injection Prevention Cheat Sheet: OWASP Cheat Sheet Series: 34k+ stars on GitHub
The prompt is below. Replace the parts in [square brackets] with your own details.