Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The router shows tenant-scoped API usage, but the controller examples for `show`, `update`, and `delete` call `Accounts.get_user!(id)` without applying `tenant_id` filtering. In a multi-tenant Phoenix app, this can teach generated code to authorize access based only on a guessed or enumerated ID, enabling cross-tenant read or modification of records.
