You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In order to improve IDOR prevention, it would be interesting to be able to add foreign keys that could trigger warnings from the mass assignment rule.
Describe the solution you'd like
One way to solve it would be to introduce a new flag, e.g. --mass-assignment-match customer_id, role_id, card_id
This way, whenever there is params.permit(:customer_id) or params.permit(:role_id) it will also trigger a warning as for account_id.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In order to improve IDOR prevention, it would be interesting to be able to add foreign keys that could trigger warnings from the mass assignment rule.
Describe the solution you'd like
One way to solve it would be to introduce a new flag, e.g.
--mass-assignment-match customer_id, role_id, card_id
This way, whenever there is
params.permit(:customer_id)
orparams.permit(:role_id)
it will also trigger a warning as foraccount_id
.The text was updated successfully, but these errors were encountered: