All rules →
Rules / Ruby
SHIELD-RUBY-010

Mass assignment via permit bang

highRubyCWE-915CVSS 7.5

What it detects

Calling permit! bypasses strong parameter filtering and allows assignment of any attribute.

How to fix

Explicitly permit only the required attributes with permit(:a, :b).

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUBY-010: Mass assignment via permit bang — Zennoxa Shield