Read code like a security engineer.
Find the vulnerable lines, explain why they are dangerous, walk through the flow, and fix the cause. Lessons teach the idea; tutorials walk you through real code in TypeScript, Python, PHP, Kotlin and Java.
Your path
Each lesson is practised by one or more challenges.- 01Read
How to read code like a risk auditor
A repeatable method for any endpoint: context, sources, sinks, controls and logic.
- 02Read
Authentication is not authorisation
A valid session proves who is calling. It does not prove the caller may act on this object.
- 03Read
Race conditions and TOCTOU
Two requests that each pass a check alone can break an invariant together.
- 04Read
Validate values, not just types
A value can have the right type and still be wrong for the business.
- 05Read
Injection: data must never become code
Injection happens when untrusted input is interpreted as part of a command.
- 06Read
Storing passwords: why fast hashes fail
A password store must make guessing expensive, and must assume the database will leak one day.
- 07Read
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.
- 08Read
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.
- 09Read
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.
- 10Read
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.
- 11Read
Files, paths and includes
Any value that becomes a file path is a traversal, inclusion or upload risk.
- 12Read
Deserialisation and eval: when data becomes code
Some formats describe how to rebuild objects, and rebuilding an object can run code.
- 13Read
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.
- 14Read
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.
- 15Read
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.
- 16Read
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.
- 17Read
Priority and fixes that stick
A finding only matters once it is fixed, and the fix has to address the cause, not the symptom.
- 18Read
Interview questions, from junior to senior
The questions you will be asked, with model answers that show the method, not just the facts.
By area
- Authorization0/4
- Business logic0/8
- Authentication & cryptography0/7
- Injection & input0/12
- Next.js / React0/5
- Basic checks: sign, zero, empty, null0/5
- Memory and numbers (C, C++, Rust)0/5
Under pressure
A timed drill mixes challenges from every language and gives each one a clock. Use it to practise finding and fixing issues fast.