What a human reviewer catches that a scanner misses
Static analysis is fast and cheap but cannot judge intent. Where automated scanning helps, where it cannot, and the serious flaws only a reviewer who understands the system will find.

On this page
Scanners find patterns, reviewers find intent
Automated code scanning is useful, and any serious team should run it. Static analysis catches the known dangerous function, the unsanitised input reaching a query, the hardcoded secret, the outdated dependency with a published vulnerability. It never gets bored, it runs on every commit, and it clears out a large volume of the mechanical mistakes that would otherwise reach production. Starting a security conversation by dismissing scanners is a mistake.
But a scanner reasons about patterns, and a large share of serious security flaws sit in the gaps between what the code does and what the business intended it to do, and that intent is not written anywhere the tool can read. A reviewer who understands the system is looking for a different thing entirely: not code that looks dangerous, but code that is behaving correctly according to its logic and wrongly according to its purpose.
Insecure design and dangerous defaults
Some of the most expensive flaws are not bugs at all, they are decisions. A password reset flow that is convenient and also lets an attacker take over an account. A default configuration that is permissive so the product works out of the box, and stays permissive in production because nobody changed it. A trust relationship between two services that made sense when they were one system and is now a lateral movement path. Each of these is the code working as designed, where the design is the problem.
A scanner has no concept of design. It cannot tell you that a feature is a bad idea, that a default is dangerous in your context, or that two components should not trust each other the way they do. Those judgements require holding the whole system in mind and asking what an adversary would do with it, which is a human activity.
A concrete second example makes the gap clear. Imagine an online form that lets a customer apply a promotional code for a discount. Each request is well formed, the code is valid, and the discount logic is correct in isolation. A reviewer who understands the business asks whether the same code can be applied twice in one order, whether it can be stacked with another, and whether a rapid sequence of requests can race the check that marks it as used.
None of those questions has a dangerous pattern for a scanner to match, because every individual request is legitimate. The flaw lives in the interaction between requests and the business rule they are bending, which is exactly the territory a tool cannot reason about and a person can. The same territory holds more than promo codes:
- Multi step flaws, where each step is safe alone but the sequence enables something none of them intended.
- Trust assumptions that were true in an earlier architecture and silently became false.
- Race conditions in business logic, such as spending the same balance twice before the first transaction settles.
- Data that is technically access controlled but exposed through an export, a log, or an error message.
The two are not rivals
The productive arrangement is not scanner versus human, it is scanner then human. Let automation clear the mechanical layer on every commit, so the injection, the stale dependency, and the leaked secret are caught cheaply and continuously. That frees a reviewer to spend their attention where it is irreplaceable: on authorization, on design, on the logic that only makes sense once you understand what the application is for.
A review that just re runs the scanner and reads its output is not adding the thing that matters. The value a human brings is the model of the system in their head and the adversary's question they keep asking against it. That is why serious secure code review reads the authorization logic, walks the sensitive flows, and interrogates the design, rather than grading the tool's report.
What a secure code review checks, area by area
A secure code review reads the source against a checklist as well as against the reviewer's model of the system. ASD's Information security manual gives that checklist a public baseline in its guidelines for software development. The review starts from the threat model, which the manual expects to support the development life cycle and to reflect the software as built (ISM-1238, ISM-2039).
Each trust boundary in the threat model becomes a question for the code: what checks the identity, what validates the data, and what happens when the check fails. The manual also calls for peer review of every critical and security-related component (ISM-2061), and for testing before the first release, before each later release and periodically after that (ISM-0402).
Findings are resolved in a timely manner and traced to their root cause, so the whole class of flaw is fixed along with the instance reported (ISM-1754, ISM-1909). A useful finding names the area, the place in the code and the class it belongs to.
Area: Authentication and authorisation
- What the reviewer reads for
- Every API that changes data, or returns data not cleared for public release, authenticates and authorises the caller, on internet-facing and internal interfaces alike
- ISM controls
- ISM-1817, ISM-1818, ISM-2013, ISM-2014
Area: Input handling
- What the reviewer reads for
- Input from the internet and from the local network is validated and sanitised, and the rules are documented, implemented in code and tested
- ISM controls
- ISM-1240, ISM-2016, ISM-2057
Area: Secrets
- What the reviewer reads for
- No credentials, keys or secrets in the source, and commit scanning that blocks them from reaching the authoritative repository
- ISM controls
- ISM-2030
Area: Dependencies
- What the reviewer reads for
- Third-party libraries come from trustworthy sources and are pinned to approved versions
- ISM controls
- ISM-2029, ISM-2154
Area: Output and sessions
- What the reviewer reads for
- Web output is encoded, and session cookies set the HttpOnly, Secure and SameSite flags by default
- ISM controls
- ISM-1241, ISM-2063
Area: Logging
- What the reviewer reads for
- Security-relevant usage, errors, crashes and database queries are logged centrally
- ISM controls
- ISM-1911, ISM-1536
Area: Database and uploads
- What the reviewer reads for
- Queries are parameterised, serialised data is validated before it is deserialised, and uploads are restricted by file type and scanned
- ISM controls
- ISM-1276, ISM-2058, ISM-2059
| Area | What the reviewer reads for | ISM controls |
|---|---|---|
| Authentication and authorisation | Every API that changes data, or returns data not cleared for public release, authenticates and authorises the caller, on internet-facing and internal interfaces alike | ISM-1817, ISM-1818, ISM-2013, ISM-2014 |
| Input handling | Input from the internet and from the local network is validated and sanitised, and the rules are documented, implemented in code and tested | ISM-1240, ISM-2016, ISM-2057 |
| Secrets | No credentials, keys or secrets in the source, and commit scanning that blocks them from reaching the authoritative repository | ISM-2030 |
| Dependencies | Third-party libraries come from trustworthy sources and are pinned to approved versions | ISM-2029, ISM-2154 |
| Output and sessions | Web output is encoded, and session cookies set the HttpOnly, Secure and SameSite flags by default | ISM-1241, ISM-2063 |
| Logging | Security-relevant usage, errors, crashes and database queries are logged centrally | ISM-1911, ISM-1536 |
| Database and uploads | Queries are parameterised, serialised data is validated before it is deserialised, and uploads are restricted by file type and scanned | ISM-1276, ISM-2058, ISM-2059 |
What this means for how you buy security
If a security assessment consists entirely of a scanner's output reformatted into a document, you have bought the cheap half and been charged for the whole. The mechanical findings matter and should be there, but the findings that keep a business owner up at night, the ones where a customer can reach another customer's data or a workflow can be bent to give something away, come from someone who understood the system well enough to ask.
The practical test when engaging a reviewer is simple: ask how they will reason about authorization and business logic, and which tools they run. The answer tells you whether you are buying pattern matching or judgement. Both have their place, but only one of them finds the flaw that a tool, by its nature, was never going to see.



