You must have access to the pull request and its CodeRabbit Security review coverage. Advanced and Enterprise include this coverage; active legacy Security trials and add-ons remain supported for compatibility.
When the review appears
CodeRabbit generates the assessment only when the review has CodeRabbit Security coverage and contains enough security-relevant architecture evidence for a useful design-level analysis. Relevant evidence can include changes to trust or identity boundaries, security controls, sensitive data flows, infrastructure, tool authority, or downstream dependencies. When generated, the assessment appears in the CodeRabbit walkthrough comment and in Overview in CodeRabbit Explain. Pull requests without a material architecture signal continue through the standard review path and do not show an empty Security Architecture Review section.How it works
Security Architecture Review evaluates the reviewed diff using the codebase context available to CodeRabbit. It focuses on design-level security implications that can span files, components, and trust boundaries.1
Map the change
Identifies changed components, trust boundaries, security controls, sensitive operations, and affected dependencies.
2
Trace security impact
Follows how data, identity, privileges, and authority move through the changed design, including potential blast radius and containment.
3
Ground conclusions in evidence
Connects the risk assessment and retained concerns to supporting CodeRabbit Explain layers and identifies gaps where evidence is incomplete.
Interpret the assessment
The assessment starts with an overall risk label and an explanation of why that label applies. The labels are ordered from Minimal to Critical:
To keep pull requests above a security architecture risk level for human approval, set a security risk limit for Automatic Approvals. Pull requests without a Security Architecture Review have no assessment, so the limit withholds CodeRabbit’s approval on them.
The assessment can also include:
- Review scope — Why the pull request required an architecture-level security review.
- Retained concerns — The most important concerns, each with a severity and supporting evidence when available.
- Findings and attack paths — Potential paths from an entry point or untrusted input to a security-sensitive operation.
- Trust boundaries and controls — Boundaries crossed by the change and the controls expected to protect them.
- Security Blast Radius — Systems, services, assets, users, or environments that could be affected.
- Hardening proposals — Suggested defense-in-depth improvements. These are proposals, not observed vulnerabilities.
- Resilience and maintainability implications — Reliability or ownership concerns included only when they affect security guarantees, containment, or recovery.

Security Architecture Review in CodeRabbit Explain Overview, expanded to show evidence-grounded details
Guide the risk rating
Usesecurity_risk_instructions to give CodeRabbit facts about your system that affect security risk, such as which services are internet-facing, where tenant isolation is enforced, or which controls protect a path. CodeRabbit reads it when it rates security architecture risk, the rating a security risk limit checks. That rating comes only from a Security Architecture Review, so your instructions take effect only on pull requests that get this review. The review needs CodeRabbit Security review coverage, which Advanced and Enterprise include.
- Configuration file
- Web interface
.coderabbit.yaml
- CodeRabbit checks each fact against the code before relying on it.
- A statement that a kind of change is risky applies only where the pull request makes that change. The assessment then includes a concern for that change and quotes your statement.
- A verified fact that reduces exposure lowers the rating only for the risk it describes. A preference alone, such as “admin changes are low risk”, never lowers it.
- Your instructions never make the rating Minimal while retained concerns remain.
- They affect only this rating, not Security findings in reviews and scans.
Follow the evidence
Evidence links in the assessment connect a concern or claim to the relevant file and layer in CodeRabbit Explain. Select an evidence link to open that layer and inspect the cited range in the reviewed diff. When more than two references support a claim, select +N more to see the additional evidence. Use Security Blast Radius to explore the same concerns across affected components. The Security control shows the number and highest severity of architecture findings. Expand Security findings to read each finding, then select a highlighted component to inspect its evidence and relationships.Limitations
- The result covers only the files, context, and commit available to the review. It is not a repository-wide security audit.
- No Security Architecture Review section, or no retained concerns, does not prove that a pull request is secure.
- Missing or partial evidence can limit the analysis. CodeRabbit reports supported conclusions and does not treat unavailable evidence as proof of safety.
- Hardening proposals describe possible improvements and should not be interpreted as confirmed vulnerabilities without supporting evidence.
- The assessment does not replace threat modeling, security testing, required approvals, or provider merge protections.
What’s next
Security Blast Radius
Map the assessment’s findings onto affected components and evidence-backed relationships in CodeRabbit Explain.
CodeRabbit Explain
Review the pull request by architectural layer and follow evidence back to the exact changed ranges.
CodeRabbit Security
Explore Deep Scan findings and repository-level security analysis outside the current pull request.