vetkit.ruby.mass-assignment.permit-all
Strong-parameter filtering is disabled (permit! / permit_all_parameters). Every attribute in the request, such as admin or role, becomes mass-assignable.
Last updated:
Suite: Security
ruby
Strong-parameter filtering is disabled (permit! / permit_all_parameters). Every attribute in the request, such as admin or role, becomes mass-assignable.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
List the allowed attributes explicitly with params.require(:model).permit(:a, :b).
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.