vetkit.js.sql-injection.string-building
SQL query built with string concatenation or template interpolation. Untrusted values in the query text lead to SQL injection.
Last updated:
Suite: Security
javascript, typescript
SQL query built with string concatenation or template interpolation. Untrusted values in the query text lead to SQL injection.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Use parameterised queries / placeholders ($1, ?) or the query builder's binding API instead of building SQL strings.
References
Source: packages/engine/rules/sast/javascript.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.