Goal: Use JSON fields to modify internal model properties that the API should never accept from a client.
Framework auto-binding often turns request bodies straight into server models. Without explicit field filtering, attackers can assign privileged properties through JSON.
{
"username": "api-user",
"role": "user",
"credits": 10,
"debug": false,
"labAccess": false
}