All roadmaps

Developers who build APIs and server-side code

Secure backend development

The vulnerabilities that most often reach production in web backends, in the order you are likely to meet them: injection first, then access control, authentication and the server’s own outbound requests.

0/12 labs solved0%
Start roadmap
  1. 1

    Injection

    Keep user input out of queries, shell commands and file paths.

    0/3
  2. 2

    Access control

    Check who may act on which record, and which fields a request may set.

    0/3
    • Add object-level authorisation

      Any signed-in customer can read any invoice by changing the ID. Enforce ownership without locking out admins.

      Not solved
    • Fix mass assignment in a profile update

      PATCH /me copies the whole request body onto the user. Let users edit their profile without promoting themselves.

      Not solved
    • Review a pull request: orders API

      A PR adds order detail, address change and item removal routes. The list route is scoped to the user — are the new ones?

      Not solved
  3. 3

    Authentication and secrets

    Store passwords properly and issue tokens that cannot be guessed or forged.

    0/3
    • Fix password storage

      Passwords are stored as unsalted MD5. Replace it with a salted, slow key-derivation function and a constant-time check.

      Not solved
    • Fix predictable password-reset tokens

      Reset tokens come from Math.random() and the clock, and stay valid for a week. Make them unguessable and short-lived.

      Not solved
    • Verify JSON Web Tokens correctly

      An API reads claims from a JWT without checking the signature. Verify it properly and pin the algorithm.

      Not solved
  4. 4

    Server-side requests and runtime

    Control what the server fetches and avoid bugs that only show under attack traffic.

    0/3