Skip to content

Catalog

Labs

5 labs are available today. Each one is a small Python HTTP service, an exact contract, and executable checks. Durations are editorial estimates, not measurements.
Lab 01Free sample

Signed Webhook, No Duplicate Events

Verify signatures on the raw body, reject stale and malformed deliveries, and make sure a retried or concurrent event is processed once.

Difficulty
Intermediate
Estimated time
25-40 min estimate
Language
Python
  • HMAC verification
  • Validation order
  • Replay windows
  • Idempotency
Lab 02Paid plan

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.

Difficulty
Intermediate
Estimated time
30-45 min estimate
Language
Python
  • Authorization scope
  • Multi-tenant data access
  • Response shaping
  • Existence leaks
Lab 03Paid plan

Pagination That Does Not Lose Records

Replace a timestamp cursor that skips tied records with keyset pagination that validates input and stays correct while data changes.

Difficulty
Intermediate
Estimated time
25-40 min estimate
Language
Python
  • Keyset pagination
  • Deterministic ordering
  • Cursor validation
  • Edge cases
Lab 04Paid plan

Stop Credential Stuffing at the Login

Give one error for every failed login, lock an account after repeated failures without locking anyone else, survive a burst of parallel guesses, and issue session tokens nobody can predict.

Difficulty
Intermediate
Estimated time
30-45 min estimate
Language
Python
  • Brute-force protection
  • Account enumeration
  • Race conditions
  • Session tokens
Lab 05Paid plan

Password Reset Done Right

Build reset links an attacker cannot redirect, tokens that work once and expire, the same answer for every email, and a reset that signs out every old session.

Difficulty
Intermediate
Estimated time
35-50 min estimate
Language
Python
  • Account takeover
  • Host header injection
  • Token lifecycle
  • Session revocation