The Attack surface map shows verification coverage and drift. Use Agent Findings or PR Findings to investigate and manage individual security findings.
What the map contains
CodeRabbit identifies security-relevant points in the repository and groups them into subsystems. Each point belongs to one of five lanes:
The map also records relationships between points. Select a tile to open a focused flow showing the selected point, its recorded connections, code location, verification state, and nearby security context.
How the map is created
The source of the map determines what its coverage percentage means.How continuous posture management works
After CodeRabbit creates a map, it keeps the posture aligned with changes to the repository’s default branch:- When a merged pull request changes a mapped area, CodeRabbit treats the affected verification as stale until it has current evidence for the landed code.
- If a CodeRabbit-reviewed pull request provides matching security evidence for the exact merged change, CodeRabbit can refresh the affected points and add newly discovered security-relevant points.
- Changes without sufficient matching review evidence can reduce verified coverage, but they do not create proof that the changed code is safe.
- A later complete AI Deep Scan inventories the current repository, verifies the mapped surface at the scan commit, discovers additional points, and establishes a fresh repository-wide baseline.
Read verification coverage
The summary at the top of the map reports:- Verified — the percentage and count of mapped points with current verification evidence. For a pull-request-derived map, the label is Verified in known surface.
- Stale — the percentage of mapped points whose earlier verification no longer matches the current code.
- Mapped points — the size of the currently known security-relevant surface.
Hover over a tile to see its symbol, file and line, lane, subsystem, verification state, and finding severity. Select the tile to explore its recorded relationships. The focused relationship view prioritizes nearby relevant points and indicates when additional connected points are not shown.
Improve or refresh coverage
Run an AI Deep Scan when you need to:- establish repository-wide coverage for a map built only from reviewed pull requests;
- investigate incomplete or stale mapped areas;
- discover security-relevant points that have not appeared in reviewed changes; or
- refresh the verified baseline after substantial repository changes.
What’s next
CodeRabbit Security
Learn how AI Deep Scan, Agent Findings, PR Findings, and repository security settings work together.
Security Architecture Review
Assess architecture-level security implications introduced by a pull request.
Security Blast Radius
Explore how pull request changes connect to downstream components and security-relevant paths.