At a glance
- Controls
- CWE-602 · A04:2021 Insecure Design
What it is
The interface hides a button or shows an upgrade prompt when a limit is reached. The API behind it accepts the request anyway. The limit exists only as a display rule.
An attacker reads the browser traffic and replays the request directly, or edits a plan flag in the client. AI-assisted tools read front-end code and API specs quickly, so hidden endpoints and flags are easy to find.
Where it hides
What a reviewer can look for in the code and in the behaviour, before anyone proves it.
- Invite-member and add-seat endpoints
- Create-project or create-workspace endpoints
- Export and bulk download features
- Feature flags read from the client or a token claim the client can change
How MATT tests it
The proof runs against the deployed product, on every release, whoever wrote the code.
- 01Sign in with a test account on the lowest plan and reach a limit in the interface.
- 02Send the same request straight to the API with the test account's session.
- 03Confirm whether the server creates the extra seat, project or export.
Plan limits must be enforced on the server.
Executable checkas test user on a plan with 3 seats and 3 used: POST /v1/members expect: 402 or 403 expect: member count stays at 3 as test user on a plan without export: GET /v1/exports/full expect: 402 or 403
Every rule MATT holds →What the fix looks like
- 01
Check plan entitlements in the server handler for every limited action.
- 02
Read the plan from the server's own records on each request.
- 03
Keep limit checks in one shared service so new endpoints inherit them.
- 04
Count usage atomically so parallel requests cannot pass the limit together.
A check that was never written is found by proving the deployed behaviour, fixed with the engineer who shipped it, and kept fixed by running the control on every change. What is ExploitOps? →