Build database queries with parameter binding or an ORM, never by concatenating user input into SQL/NoSQL strings.
Why This Matters
String-built queries enable SQL/NoSQL injection — full data exfiltration, tampering, or destruction (OWASP A03).
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.