Secure code review checklist for pull requests
12 steps · about 4 h 10 min · Intermediate
- How to Do Secure Code Review (When You're Not a Security Expert) (guide, DevSec Station, 15 min)
It starts with the idea that secure review means checking controls and trust boundaries, so you don't need to be an expert.
- What to look for in a code review (guide, Google Engineering Practices, 15 min)
It gives you the general review baseline of design, correctness and tests, which security checks then sit on top of.
- Secure Code Review - OWASP Cheat Sheet Series (reference, OWASP, 20 min)
This is the authoritative method for diff-based reviews, including preparation, tracing data flow and triaging tool findings.
- Secure code review: a practical guide with real examples (article, cubic, 20 min)
It walks through reviewing a pull request in eight steps and uses real auth-bypass bugs, so the method feels concrete.
- OWASP Top 10:2025 (reference, OWASP, 30 min)
The ten risk categories give your checklist its structure and a shared vocabulary for review comments.
- Authorization Cheat Sheet (reference, OWASP Cheat Sheet Series, 20 min)
Broken access control is the top risk, so learn what a correct server-side check looks like before you review one.
- Secrets Management Cheat Sheet (reference, OWASP Cheat Sheet Series, 20 min)
It covers the most common easy catch in a diff: credentials in code, config, CI files and images.
- How to Conduct a Security Review of a Pull Request — A Developer Checklist (article, DEV Community (Vulert), 15 min)
It adds dependency and lockfile review, which is easy to skip when you only read the application code.
- Secure Code Review - OWASP DevSecOps Guideline (guide, OWASP DevSecOps Guideline, 15 min)
It shows how much review depth different changes need, including CI and infrastructure changes.
- Secure code review checklist: 90+ checks for every pull request, mapped to OWASP (article, Endor Labs, 30 min)
A full checklist to borrow from, with each check tied to OWASP or CWE references. Pick the items that match what your PR touches.
- Secure Code Review Checklist (repo, ggeorgeazevedo (GitHub), 40 min)
Its vulnerable-versus-fixed snippets let you practise spotting the problems, and it includes a reviewer guide and a PR template.
- Creating a pull request template for your repository (doc, GitHub Docs, 10 min)
The last step is putting your short checklist into a PR template so every pull request gets the same checks.