Introducing Security in Devin Review

Cognition3 min read

AI has collapsed the time and cost of going from vulnerability to exploit. Attackers now operate with the capabilities of a senior security researcher while AI-generated code is expanding the attack surface faster than any team can manually review.

Defenders have to catch every vulnerability while attackers only need one opening. Code review is the only checkpoint that guarantees every change is inspected before it ships, but today it’s either too slow or too shallow to keep up.

With Devin Review, every pull request gets reviewed with the depth of a security engineer, preventing vulnerabilities from reaching production.

Security review runs inside the code review your engineers already use, meaning no new tools or context switching. Since Devin understands your entire codebase, it catches the auth bypasses and logic flaws that pattern-matching scanners miss. Each finding comes classified by severity, tagged with a CWE ID, and grounded in your actual codebase. Beyond just flagging the issue, Devin also writes the fix and opens it as a merge-ready PR, so it arrives as code ready for an engineer to review instead of a ticket that waits weeks in a queue.

Full Devin Review UI showing vulnerabilities panel, bugs panel, and PR analysis

End-to-end remediation from finding to fix

Detection is only part of the job. Devin handles the research and the fix. Every finding comes with a full explanation that traces the exact path through the code that makes it exploitable, plus a suggested fix ready for an engineer to review and merge. Engineers can go deeper by asking Devin questions like “are there other places in the codebase where this pattern appears?” and it investigates across files and reports back. One click posts the finding to the GitHub PR as an inline comment, so it gets resolved without engineers having to leave review.

Findings that require deep codebase understanding

Most automated tools match code against known vulnerability signatures and evaluate lines in isolation. They catch CVEs in dependencies and obvious injection patterns, but miss the vulnerabilities that only surface when you trace how the application actually works. Devin reads your codebase and reasons across the full repository, understanding your auth model, business logic, and service interactions to catch what pattern-matching misses by design, such as:

  • Broken authorization: a password-change endpoint that looks correct on its own but allows account takeover because a missing token quietly creates a guest session that reaches the handler.
  • Business-logic flaws: a refund that returns more than was paid, or a discount that can be redeemed repeatedly.
  • Chained findings: individually low-severity issues that combine into a critical path.
Security finding detail showing Auth Bypass / CWE-307 classification with explanation, recommendation, and action buttons

No PR left behind

Hiring more reviewers doesn’t close the gap: review capacity grows linearly while code volume doesn’t. With Security in Devin Review, Devin reviews every PR for vulnerabilities automatically, without any manual routing or assignment. Findings that would have accumulated in a backlog or slipped through the cracks get caught and resolved within the same tool engineers already use to write and review code. Security posture scales with the velocity of development.

Get started

Every pull request you open in Devin Review now gets a security review. Try it on your next one: app.devin.ai/review