Skip to content
Chaos Lab

Challenge 20 · starter · Multi-tenant API

Broken access control

Companies keep invoices in one shared database; users read them with GET /invoices/{id}, and every request is authenticated. At 10 seconds a real, signed-in user from Globex starts requesting invoice ids in order, 150 a second. Every id they name belongs to Acme.

From 10 to 60 seconds, refuse every request for another company's invoice, and keep answering Acme's own users.

ready00:00 / 01:00Success · 10 s–p99 · 10 s–Exposed0 invoices

Goal · measured 00:10–01:00

0 changes · par 1
  • Other companies' invoices refused ≥ 100.0%not measured yet
  • Real users' requests answered ≥ 99.0%not measured yet

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.