vetkit.ruby.sql-injection.arel-sql
Request input is wrapped in Arel.sql / SqlLiteral, which marks it as trusted raw SQL (SQL injection).
Last updated:
Suite: Security
ruby
Request input is wrapped in Arel.sql / SqlLiteral, which marks it as trusted raw SQL (SQL injection).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Only pass constant SQL fragments to Arel.sql; choose them from an allow-list keyed by the request value.
References
Source: packages/engine/rules/sast/ruby.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.