All rules →
Rules / Ruby
SHIELD-RUBY-011

Mass assignment via update with raw params

highRubyCWE-915CVSS 7.5

What it detects

Passing unfiltered params directly to update or update_attributes allows mass assignment.

How to fix

Filter params through strong parameters before passing them to update.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUBY-011: Mass assignment via update with raw params — Zennoxa Shield