vetkit.kotlin.sql-injection.string-building
SQL query text is built with a string template or concatenation (SQL injection).
Last updated:
Suite: Security
kotlin
SQL query text is built with a string template or concatenation (SQL injection).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Use bind parameters (? placeholders with PreparedStatement/JdbcTemplate/rawQuery selectionArgs, or the Exposed DSL) instead of interpolating values into SQL text.
References
Source: packages/engine/rules/sast/kotlin.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.