All rules →
Rules / Ruby
SHIELD-RUBY-003

SQL injection via execute interpolation

criticalRubyCWE-89CVSS 9.8

What it detects

Interpolating input into connection.execute allows arbitrary SQL execution.

How to fix

Use exec_query with bind parameters or sanitize input before executing raw SQL.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUBY-003: SQL injection via execute interpolation — Zennoxa Shield