Find mass assignment
ProprietaryFinds Spring and JAX-RS handler method parameters whose type is a JPA @Entity. The framework populates every property of the object from the request, so a client can set fields the form never exposes, such as a password or a role, and the entity is then persisted (CWE-915). Search only: the fix is a DTO plus a mapping layer.
org. openrewrite. java. security. search. FindMassAssignmentmod run . --recipe= org. openrewrite. java. security. search. FindMassAssignmentInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.