Skip to content
Paid planIntermediate30-45 min (estimate)v1.0.0

Fix a Cross-Tenant Data Leak

Derive authorization scope from the caller's token, enforce it on every read, and stop leaking internal fields and the existence of other tenants' data.

Reading on a phone works. Completing a lab is best on a computer where your coding agent runs.

What the checks cover

  • TI-00Service starts and lists documents for a valid token
  • TI-01Reject missing, malformed, or unknown credentials
  • TI-02List every document in the caller's tenant, in order
  • TI-03Never list another tenant's documents
  • TI-04Read your own tenant's documents with the documented fields
  • TI-05Hide other tenants' documents behind a plain 404
  • TI-06Ignore client-supplied scope
  • TI-07Return 404 for unknown or malformed ids
  • TI-08Return only documented fields