Learn
How to review code for security, one weakness at a time.
Start here
Getting started with secure code review
People make mistakes when they write programs. A secure code review is reading a program to find the mistakes that could cause harm.
Getting started
What a secure code review is and how to run one.
What a secure code review is, what a diff is, and the other ways software is tested.
Listen to an AI summary of Secure code review
Deciding what to look at first, and why.
Listen to an AI summary of Methodology
The weakness in the first challenge, then how the challenges work, one step at a time.
Listen to an AI summary of Your first challenge
What to look for
What each kind of weakness looks like in a diff.
Who the user is, and what the user may do.
Listen to an AI summary of Authentication and authorisation
Rules the software should enforce, such as who may act, how many times, in what order and with what values.
Listen to an AI summary of Business logic
Input that reaches an interpreter as code, such as a SQL query, a shell command, a template, a page in the browser or a prompt.
Listen to an AI summary of Injection
Secrets, cryptography and TLS.
Listen to an AI summary of Sensitive data
What code records, and what code shows when a failure happens.
Listen to an AI summary of Logging and errors
Files people upload, and file names that come from a request.
Listen to an AI summary of Files and uploads
A redirect, and a request the server makes, to an address the user chose.
Listen to an AI summary of Requests and redirects
Framework settings, debug and error settings, and cookie settings.
Listen to an AI summary of Security misconfiguration
The same origin policy, messages and storage in the browser, and requests another website starts.
Listen to an AI summary of Browser code
Dependencies, and what a change to them brings in.
Listen to an AI summary of Vulnerable components
Buffer overruns, format strings, integer overflows and use after free, in C and C++.
Listen to an AI summary of Memory safety
What to check, in one place.
Listen to an AI summary of Checklist