PerlCritic policy that attempts to detect the most common sources of SQL injection in manually crafted SQL statements, by detecting the use of variables inside interpolated strings that look like SQL statements.
SQL injection risk at line NN column NN. Variables in interpolated SQL string are susceptible to SQL injection: $input. (Severity: 5, ValuesAndExpressions::PreventSQLInjection)
This example:
Fails with: