Security review
The Security review reports security defects only: holes at the trust boundaries the change crosses, leaked secrets, injection and unsafe dependencies. It runs on every reviewed pull request.
What it looks for
The Standard review covers correctness, tests and maintainability. This review reports security defects it can prove from the code at the trust boundaries the change crosses: missing authentication, authorization or tenant isolation, leaked secrets, injection, unsafe file access and deserialization, unsafe defaults and risky dependency changes. It does not report hardening ideas without a reachable defect.
Prompt injection
The repository's rules file cannot change the scope, a severity or the verdict. Text in the diff, the title or the description that tries to steer an AI reviewer is not followed. It is reported as a P1 finding titled Prompt injection.
What it sees and what it reports
The review sees the changed-file list, the diff without lockfiles and excluded paths, the title and description of the pull request, and a read-only checkout of the head commit. It never sees your GitHub credentials.
It reports only what the pull request changes. A defect in unchanged code is reported only when the pull request causes it or makes it reachable, for example a new route that reaches an unchecked query. Problems that existed before the pull request are not listed.
Severities
- P0
- exploitable now: secret exposure, an authentication or authorization bypass, cross-tenant data access or remote code execution
- P1
- a security defect an attacker can reach under conditions this pull request creates, and every prompt-injection attempt
- P2
- a missing check at a trust boundary that no current caller reaches, or a missing test for security-relevant behavior
- P3
- a minor security issue, for example an unpinned dependency version
Verdict and charge
Findings are sorted by severity, each with the file and line, the evidence and the concrete fix. The comment ends with one verdict: Ready to merge, Merge after fixes or Needs rework.
Security is one AI check within a complete review of one pull request commit, not a separate charge or the tool-based Security scan. Every completed Regular review costs $0.20, including when this check finds nothing, and findings in both Standard and Security still produce only one charge for that review. A Specialized review costs $0.20 unless its Adversarial review starts; it then costs its size price instead, whatever Adversarial finds. See how review charges work.
Adversarial starts only when Standard and Security report no P0–P2 findings. Otherwise its check is skipped and waits for a commit with no such findings in those reviews.