Tenant-Scoped Authorization
Medium About 25 min Katabench Pro
Close a cross-tenant authorization hole that ownership and role checks alone cannot see.
The full brief is part of Katabench Pro
Pro opens this kata's brief, its starter code and its grader. To see how the track works first, try Block Private Hosts (SSRF), which is free.
How it is graded
Functional tests and adversarial payloads both have to pass before the solution is accepted.
What it practices
- Authorization
- Scope access by tenant, subject, purpose and delegated capability, not ownership alone.
Related katas
- Password Reset Token Scope Medium Pro Bind a verified reset token to its subject, purpose, validity window, and one-time state.
- Validate an Attenuated Delegation Chain Hard Pro Validate every grant ancestor so a delegated capability cannot regain permissions, extend expiry, or switch resources.
- Stop the Bots Medium Pro Bots behind 40,000 addresses hold 30% of the stadium and never trip the IP limiter. Make the printed four-ticket limit real.
- Block Private Hosts (SSRF) Medium Free Reject internal hosts so a user-supplied URL cannot make the server call itself or its neighbors.