Lessons
Read them in order the first time. Each one names the challenges that practise it.
- 010 challenges
How to read code like a risk auditor
A repeatable method for any endpoint: context, sources, sinks, controls and logic.
- 022 challenges
Authentication is not authorisation
A valid session proves who is calling. It does not prove the caller may act on this object.
- 032 challenges
Race conditions and TOCTOU
Two requests that each pass a check alone can break an invariant together.
- 042 challenges
Validate values, not just types
A value can have the right type and still be wrong for the business.
- 055 challenges
Injection: data must never become code
Injection happens when untrusted input is interpreted as part of a command.
- 061 challenge
Storing passwords: why fast hashes fail
A password store must make guessing expensive, and must assume the database will leak one day.
- 071 challenge
JWT: the signature is the whole point
A JWT payload is readable and editable by anyone. Only the signature, verified by the server, makes it trustworthy.
- 083 challenges
Next.js: the server is the trust boundary
Many things in a Next.js app look like UI but are server endpoints. Treat each one as a public API.
- 094 challenges
XSS and open redirects: when data becomes markup or a destination
Cross-site scripting happens when one party's data is interpreted as HTML or JavaScript by another party's browser.
- 104 challenges
Language traps: what to catch in PHP, Python, Kotlin and TypeScript
Each language has sharp edges. Knowing them turns a skim of the code into a real review.
- 112 challenges
Files, paths and includes
Any value that becomes a file path is a traversal, inclusion or upload risk.
- 122 challenges
Deserialisation and eval: when data becomes code
Some formats describe how to rebuild objects, and rebuilding an object can run code.
- 132 challenges
Errors that hide bugs: swallowed exceptions, shared state and false success
Some of the worst bugs report success. Look for the places where errors disappear and state goes wrong.
- 147 challenges
Basic checks: sign, zero, empty, null, NaN and bounds
The simplest checks are the ones reviewers skip. Each one below has caused a real incident.
- 155 challenges
Memory and numbers: C, C++ and Rust
In C and C++, the programmer owns every byte and every limit. Rust moves many of those checks to the compiler, but not all of them.
- 164 challenges
Go, C# and Python: traps a reviewer must see
Each language hides a few sharp edges in ordinary-looking code. These are the ones that cause incidents.
- 170 challenges
Priority and fixes that stick
A finding only matters once it is fixed, and the fix has to address the cause, not the symptom.
- 180 challenges
Interview questions, from junior to senior
The questions you will be asked, with model answers that show the method, not just the facts.