Overly permissive request parameters detected.

Description

Being overly permissive with request parameters can allow an attacker to update arbitrary model attributes.

Remediations

❌ Avoid blanket permitting of parameters:

params.permit!

✅ Only permit parameters the user should be able to update:

params.permit(:name, :email)

Associated CWE

OWASP Top 10

Ready to take the next step? Join the Bearer Cloud waitlist.