vetkit.java.sql-injection.string-building
SQL/JPQL query text is built with string concatenation or String.format (SQL injection).
Last updated:
Suite: Security
java
SQL/JPQL query text is built with string concatenation or String.format (SQL injection).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Use PreparedStatement with ? placeholders or named parameters in JPA.
References
Source: packages/engine/rules/sast/java.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.