best-of

AI Code Review Tools That Find Security Vulnerabilities (2026)

AI code review tools that find security vulnerabilities: what the evidence supports, why an AI reviewer is not SAST, and which tools do cross-file taint analysis.

Published:

Last Updated:

Direct answer

The market blends three different products under one phrase, and the distinction is the whole decision. AI PR reviewers sometimes notice a security issue. Dedicated SAST has security rule sets and cross-file taint analysis. Secrets scanning is a third problem solved by different tooling at a different stage. A team that buys an AI reviewer expecting SAST coverage has a gap it cannot see. The only published run on the independent OpenSSF CVE Benchmark is DeepSource’s own self-winning one.

AI code review tools that find security vulnerabilities

Direct answer: Three distinct categories. AI PR reviewers (CodeRabbit, Greptile, Claude Code, Gitar) notice security issues incidentally, with no rule set behind the finding. Dedicated SAST (Semgrep, Snyk Code, SonarQube, Checkmarx, Veracode) has security rule packs plus cross-file taint analysis. Secrets scanning is separate again. Buy for the category you need, not the label. Verified 2026-10-18.

Security is where vendor claims are thickest, so start by separating the products.

CategoryWhat it actually doesWhat it missesRepresentative tools
(a) AI PR reviewersReads the diff plus gathered context, reasons about intent, posts comments. Security findings are a by-product of general reviewNo security rule set, no taint analysis, no CVE mapping, non-deterministic, cannot gate a merge defensiblyCodeRabbit, Greptile, Claude Code, Gitar, Cursor Bugbot
(b) Dedicated SASTRuns security rule sets, traces untrusted input from source to sink across files, maps findings to CWE and OWASP, exits non-zero in CICannot reason about business logic or intent. Says nothing about whether the feature is a good ideaSemgrep, Snyk Code, SonarQube, Checkmarx, Veracode, DeepSource
(c) Secrets scanningPattern and entropy detection for credentials, optionally validated against live APIs, enforced at commit, push or PR timeNothing about code vulnerabilities. A different detection problem with a different remediation (rotate, do not delete)GitHub Secret Protection, Gitleaks, TruffleHog, Semgrep Secrets, Aikido

The gap this creates is specific. An AI reviewer looks at a line like db.query("SELECT * FROM users WHERE id = " + req.params.id) and will usually flag it, because the injection shape is visible inside the hunk. It will not find the case where req.body.email is assigned in a controller, passed through two helper modules, and concatenated into a query in a repository class three files away. That second case is what taint analysis is for, and it is the shape most real injection bugs take.

If you want the pipeline mechanics behind why that is true, we laid out all six stages in how AI code review tools work.

What the benchmark evidence actually supports

Be careful here, because the single most-cited security number in this market is not what it looks like.

The OpenSSF CVE Benchmark dataset is genuinely independent. It is a curated set of real CVEs with vulnerable and fixed versions, maintained under the Open Source Security Foundation. That part is fine.

The only published run of AI code review tools against it is DeepSource’s own. Across 165 CVEs, DeepSource scored itself at 84.51% F1 and scored CodeRabbit at 59.39% accuracy and 36.19% F1 (deepsource.com/resources/ai-code-review-tools). An independent dataset does not make a vendor-run evaluation independent. Present it as a vendor benchmark.

The irony is worth recording, because it is instructive about the whole category: DeepSource also published a post titled “Every AI code review vendor benchmarks itself, and wins”, listing six vendors and their self-victories, and omitting its own 84.51%.

Ownership has also changed since those numbers were published. Harness acquired DeepSource on 9 September 2026, so DeepSource is now a Harness product. Most comparison pages, including some of our own older ones, still carry the pre-acquisition framing.

Security-relevant evidenceWho published itIndependent?What it measures
OpenSSF CVE Benchmark run, 165 CVEsDeepSource (now Harness)No. Independent dataset, vendor-run evaluationF1 on CVE detection. DeepSource 84.51%, CodeRabbit 36.19%
c-CRAB, arXiv 2603.23448v3NUS + Zhejiang University + one SonarSource-affiliated authorMostly. 5 of 6 authors academic, but Sonar sells SonarQube and owns Gitar, a paid sponsor of this site. SonarQube is not among the 4 tools evaluated41.5% union across 4 agents on 234 executable tests from 184 PRs, 67 repos. Not broken out by security class
CRBugBench, arXiv 2610.13668CMU plus Microsoft ResearchAcademic, not disinterested. Microsoft co-authored, copilot-cli as harnessclaude-opus-5 79.6% pre-merge recall@5, $2.97/task. No precision reported
Martian Code Review BenchMartianYes on ownership (sells model routing)CodeRabbit 51.2% F1 / 49.2% precision, ~300k PRs, 3 Mar 2026. Behavioural proxy, not security-specific
Anthropic Code Review launch metricsAnthropicNo84% detection on PRs over 1,000 lines, under 1% false positives. Unreplicated

No party without a commercial stake has published a false-positive rate for any shipping commercial AI code reviewer, and that holds for security findings specifically. We traced every FP figure in circulation in AI code reviewers with low false positive rates and all of them are vendor-sourced.

Can AI code review catch security bugs?

Direct answer: Sometimes, with no independent measurement of how often. The only OpenSSF CVE Benchmark run is DeepSource’s self-winning one: 84.51% F1 for itself, 36.19% F1 for CodeRabbit across 165 CVEs. c-CRAB found four agents collectively passed 41.5% of 234 tests and did not break out security findings. Treat AI review as a supplement to SAST. Verified 2026-10-18.

The classes of security bug an AI reviewer does catch, with reasonable consistency, share one property: the vulnerability is visible inside the changed hunk.

  • Hardcoded credentials, API keys and connection strings in the diff
  • String concatenation into SQL, shell commands or paths
  • Missing output encoding on a value rendered into a template
  • dangerouslySetInnerHTML and equivalents on unsanitised input
  • Disabled TLS verification, weak hash choices, Math.random() for tokens
  • Permissive CORS wildcards, debug flags left enabled
  • Missing authorisation check on a handler that structurally resembles its neighbours

The classes it misses share the opposite property: correctness depends on information outside the diff. Whether this endpoint is supposed to require authentication at all. Whether the sanitiser three modules upstream actually sanitises for this sink. Whether a multi-tenant query is scoped to the caller’s tenant. Whether a race between a check and a use is reachable under your concurrency model.

This is also where the AI reviewer’s non-determinism becomes a security problem rather than an annoyance. A reviewer that finds an auth bypass on Monday and not on Tuesday, on the same diff, cannot be your control for auth bypasses. We covered the mechanism in how AI code review tools work: the model samples from a distribution, context retrieval is not guaranteed identical across runs, and vendors upgrade models silently. No vendor we checked on 2026-10-18 publishes run-to-run variance.

The practical conclusion I would defend: AI review raises the floor on obvious security mistakes and does nothing for your coverage of the non-obvious ones. That is worth paying for. It is not worth cancelling a SAST contract for.

Cross-file data flow and taint analysis: the capability that actually matters

If you only evaluate one security capability, evaluate this one. Taint analysis tracks untrusted input from a source (a request parameter, a queue message, a file read) through assignments, function calls and parameter passing to a sink (a query, a command, a file path, a template), and raises a finding only when a path exists with no adequate sanitiser on it.

Cross-file, or interfile, taint analysis does that across file boundaries. Intrafile analysis does not. The difference decides whether you find the injection bug that lives in three files, which is most of them.

ToolCross-file taint analysisDocumented detailGating
SemgrepYes, proprietary onlyinterfile: true under a rule’s options key; --pro for interfile, --pro-intrafile for cross-function within one file; --dataflow-traces to visualise the path. Interfile listed for C, C++, C#, Go, Java, JS/TS, Kotlin, Python; interprocedural across 30-plus languages. Semgrep CE cannot do interfile analysisCI exit code, rules versioned in your repo
Snyk CodeYesDeepCode AI engine builds event graphs of dataflow, sanitisers and sinks, then applies a symbolic rule engine. Interfile analysis available for all supported languages except Ruby per docs.snyk.io. Reports source, sink and the step-by-step flowCI gate, IDE-speed scans
SonarQubeYes, cross-function and cross-fileRaises only on a proven exploitable path with no sufficient sanitiser. Advanced SAST extends taint through third-party library boundaries, Enterprise Edition and above. Custom sources/sinks/sanitisers via the security engine configuration, also Enterprise. C/C++ taint beta in Server 2026.4Quality gates fail the build on a named rule ID
CheckmarxYesLong-standing enterprise taint engine. Quote-only pricingPolicy-driven pipeline gates
VeracodeYesEnterprise SAST plus policy scanning. Holds ISO/IEC 42001Policy gates, formal scan reports
DeepSourceRule-based, 5,000-plus rules across 30-plus languages, run before the AI agentDeterministic pass first is the architectural point. Now a Harness productCI gate on rule findings
AI PR reviewers (a)No taint engineCross-file reasoning if the tool indexes the repo (Greptile’s code graph), which is not the same as taint analysis and produces no source-to-sink traceNot defensibly gateable

Note the last row carefully, because it is the most common confusion in this market. Repository indexing is not taint analysis. Greptile indexing your codebase into a code graph genuinely helps it notice that a removed middleware guard matters. It does not give you a source-to-sink trace you can hand an auditor, and it does not systematically enumerate reachable paths.

One more distinction worth having in your head: Opengrep’s --taint-intrafile tracks taint across functions inside a single file under LGPL 2.1, which is the open-source equivalent of Semgrep’s --pro-intrafile. Cross-file taint remains proprietary to Semgrep. If you need interfile taint and an open-source licence, that combination does not currently exist.

AI code review tools that flag exposed secrets in pull requests

Direct answer: GitHub Secret Protection (free on public repos), CodeRabbit via its bundled secret scanners, Semgrep Secrets (listed $15/contributor/month, excluded from the free tier), Aikido (secrets in the free Developer plan), and TruffleHog, which validates 700-plus secret types against live APIs so a finding means the credential is live. PR-time detection is already too late. Verified 2026-10-18.

Secrets scanning gets folded into “code review” because it happens at the same moment in the workflow. It is a different problem with a different remediation, and conflating them causes real incidents.

The core asymmetry: a code vulnerability is fixed by changing the code. A leaked credential is not fixed by changing the code. Once a secret has been committed and pushed, it exists in git history, in every clone, in every fork, in CI caches, and potentially in any mirror or scraper that saw the push. Deleting the line changes nothing. The credential must be rotated. A PR comment saying “remove this key” that results in a follow-up commit removing the key has fixed exactly nothing.

So PR-time secret scanning is a backstop, not a control. Its value is detection and alerting so you know to start a rotation. Its value is not prevention.

How do teams prevent secrets from reaching pull requests?

Direct answer: Push protection first, pre-commit hooks second, PR scanning as a backstop. Only push protection stops the secret entering the repository; GitHub’s blocks command-line pushes, web commits, file uploads and API requests, with 39 token types on by default. Gitleaks at pre-commit is MIT, offline, and under a second on a typical diff. Treat any PR-time finding as a rotation event. Verified 2026-10-18.

Three stages, three different guarantees. Most teams run one and assume they are covered.

StageGuaranteeHow it is bypassedTools
Pre-commit hookBlocks the commit locally before it existsgit commit --no-verify, a dev who never ran the install script, a CI-only pathGitleaks (MIT, fully offline, under a second on typical diffs, gitleaks detect --staged via the pre-commit framework)
Push protectionBlocks the push server-side so the secret never enters the repositoryA developer with write access supplying a bypass reason, unless you enable delegated bypassGitHub Secret Protection. Covers command-line pushes, web commits, file uploads and API requests. 39 token types enabled by default
PR-time / CI scanningDetects a secret that is already in historyNot bypassed, just lateTruffleHog (--only-verified --fail in CI, verifies 700-plus types with read-only API calls), Semgrep Secrets, Aikido, CodeRabbit’s bundled scanners

The pattern I would actually deploy, and the one the open-source community has converged on:

  1. Gitleaks at pre-commit. Offline, MIT-licensed, fast enough that nobody disables it. Pin the repo in .pre-commit-config.yaml. Our setup walkthrough is in the pre-commit hooks guide.
  2. Push protection on, delegated bypass enabled. This is the only layer with a server-side guarantee.
  3. TruffleHog in CI with --only-verified --fail. A Gitleaks finding means “this matches a secret pattern, please review”. A verified TruffleHog finding means “this credential works right now”. That turns 400 findings into the 3 that are actually dangerous.
  4. A written rotation runbook, because detection without rotation is theatre.

Two caveats on that stack, both real. Do not put --only-verified in a pre-commit hook: unverified candidates then pass through silently. And verification sends candidate credentials to external APIs to confirm they work, which some environments cannot accept, and it can make a full-history scan 10 to 30 times slower.

Also worth knowing: GitHub’s native scanning is not a complete substitute. It does not catch secrets committed before you enabled it, does not scan CI logs, has limited custom-pattern support, and only works on GitHub. If your org has GitLab or Bitbucket repos too, you need a tool that spans them.

The wider version of this argument, including SCA and IaC, is in shift-left security.

Best code review tools for enforcing secure coding policies

Direct answer: Deterministic rule engines. Semgrep writes custom rules in YAML with cross-file taint via interfile: true, versioned in your repo. SonarQube quality gates fail a build on a named rule ID with its core engine fully on-prem. Checkmarx and Veracode are the enterprise policy options. AI reviewers can advise on policy in natural language but cannot be the control. Verified 2026-10-18.

“Enforcing” is the operative word, and it rules out most of category (a) immediately.

What a deterministic engine gives you that a model does not:

  • A stable identifier. “Rule python.django.security.injection.sql, version X” is auditable. “The reviewer mentioned it” is not.
  • Reproducibility. Re-run the scan on the same commit, get the same findings. An auditor can verify your evidence.
  • Class-level suppression. Suppress a rule once with a documented reason, rather than relitigating it on every PR.
  • A build-breaking exit code. The policy is enforced because the merge is impossible, not because someone read a comment.
  • Policy as code. Semgrep rules live in your repository under version control, so your secure-coding standard is diffable and reviewable like any other code. That is the single best property in this category, and the reason I would start with Semgrep for policy work regardless of what else you run. Our walkthrough is at Semgrep custom rules.

What an LLM can do that rules cannot: express a policy no rule can encode. “Any new endpoint that handles payment data must log an audit event with the actor ID.” You can write that in English into REVIEW.md, a path_instructions block in .coderabbit.yaml, or Gitar’s natural-language policies, and a model will often honour it. That is genuinely useful and genuinely not a control.

Can automated code checks enforce secure coding policies?

Direct answer: Deterministic checks can; LLM review can only advise. The dividing line is reproducibility, because an auditor needs a control that produces the same result on the same input and leaves evidence. A Semgrep rule with an ID and a CI exit code is a control. A SonarQube quality gate is a control. An AI reviewer’s comment is a recommendation. Gate on rules, advise with models. Verified 2026-10-18.

Here is the split, stated as plainly as I can, because it is the thing that decides whether your control satisfies an audit.

Enforceable deterministically:

  • Banned functions, imports and crypto primitives
  • Required decorators, annotations or middleware on route handlers
  • Dependency CVE thresholds and licence policy
  • IaC misconfiguration rules
  • Secrets patterns
  • Source-to-sink injection paths, where the engine does taint analysis
  • Coverage, complexity and duplication thresholds

Advisory only, LLM-dependent:

  • Business-rule correctness
  • Whether an authorisation model is appropriate for the data involved
  • Whether a given sanitiser is adequate for a given sink in context
  • Architectural policies expressed in prose
  • Threat-model reasoning about a new feature

Two practical notes on evidencing this for audit, which we went into at length in AI code review for regulated teams. First, the evidence an auditor wants is the gate, not the comment: a failed pipeline, a named rule, a documented exception with an approver. Second, “we use AI code review” is not a control statement. “Merges to main are blocked unless Semgrep ruleset X passes, with exceptions approved by the security team and logged” is.

Compliance claims that do not survive a source check

This was the single biggest finding of our last research batch, so it belongs here. Verified at source on 2026-10-18:

  • Semgrep Inc. is explicitly NOT ISO 27001 certified. Its own docs state it is SOC 2 Type II certified, and its trust portal lists GDPR and SOC 2 only. Semgrep does publish an ISO 27001 compliance page, but it is about helping customers meet Annex A controls (A.8.8, A.5.19 to A.5.23), not about Semgrep’s own certification. Several vendor-risk aggregators list Semgrep as ISO 27001, PCI, HIPAA, FedRAMP and CSA STAR compliant. Those profiles are wrong. Trust the trust portal.
  • Semgrep’s Network Broker is a WireGuard tunnel to Semgrep’s cloud, not an on-prem deployment. Snyk Broker is the same pattern. Both are frequently miscategorised as self-hosting. If you need the analysis to run inside your perimeter, neither of these qualifies, and SonarQube’s on-prem core engine or a self-hosted open-source scanner is the honest answer.
  • Semgrep’s certification does not extend to CLI usage, since those scans run on your infrastructure.
  • Aikido’s ISO/IEC 42001 certificate scope explicitly covers “Deep PR Review.” This is genuinely notable: it is the only certificate scope in this market that names a review feature. The scope also names AI pentesting, on-prem AI pentesting, Code Security Audit, API scanning, AutoFix, AutoTriage and AI Cloud Search. Aikido acquired Trag in August 2025 and raised a $60M Series B at a $1B valuation on 14 January 2026. One caveat: we read the scope from Aikido’s own announcement, not the certificate PDF registered with the certification body.
  • ISO/IEC 42001:2023 is held by only 7 of 26 vendors we checked: Anthropic, GitLab, GitHub Copilot, Cursor, Augment Code, Aikido, Veracode. It is the AI-specific standard covering model integrity, training-data security and AI pipeline risk, which traditional audits miss entirely.
  • “HIPAA certified” is not a real certification scheme. HIPAA needs a signed BAA, and SOC 2 does not substitute. Only 4 vendors offer a real BAA: Anthropic, Cursor (Enterprise), Augment Code, CodeAnt AI.
  • Unverified as of 2026-10-18: every FedRAMP claim in this market except Anthropic’s published FedRAMP High package. Aikido’s “FedRAMP Certified: Class C (Moderate)” is not standard FedRAMP terminology. cubic.dev is SOC 2 Type I only. Panto’s SOC 2 audit is still underway. Kodus’s SOC 2 badge has no documents behind it.

Always verify against the vendor’s own trust centre rather than a comparison table, including ours. Our longer treatment of this pattern is in fake compliance certifications in dev tools.

What this costs

Prices verified 2026-10-18 at the vendor’s pricing page unless flagged.

ToolFree tierPaid entryCaveat
Semgrep10 contributors, 10 private repos, 60 AI credits, cross-file analysis included. Semantic secrets analysis and RBAC excludedCode $30/contributor/mo, Supply Chain $30, Secrets $15A contributor is typically anyone who committed in the last 30 days, so contractors count. Semgrep pricing
Snyk Code5 projects, 100 Code tests/moTeam from $25/contributing dev/mo, 100 projects, 1,000 tests/moEnterprise is a prepaid credit platform, 1 credit = $1, Snyk Code at 1.0 credit per active contributor per day. The “$1,260/yr unlimited projects” figure is third-party and not on Snyk’s plans page. Snyk pricing
SonarQubeCloud free tier includes PR analysis, up to 50k LOC private, never expires. Community Build is main-branch only, no PR analysisDeveloper Edition and up for Server; Cloud paid tiersThese two get conflated constantly. AI features are Enterprise-tier; core SAST runs fully on-prem. SonarQube pricing
AikidoDeveloper: 2 users, 10 repos, SAST + SCA + secrets + IaC, rescan every 3 daysFlat plans including 10 users. Basic reported at $300 to $350/mo with 100 reposPR security review is gated to Basic and above. Third-party trackers disagree on the exact figure and we could not confirm at source on 2026-10-18 - treat as unverified
GitHub Secret ProtectionFree on public repos (scanning plus push protection)Reported at $19 per active committer/mo; Code Security $30We could not confirm either figure on github.com/pricing on 2026-10-18 - unverified at source. Metered on committers active in the last 90 days, available on Team plans since the April 2025 unbundling
CodeRabbitPublic repos only. Private repos get 1 summary-only review/hourEssentials $24/dev/mo annualSecret scanning is bundled among 40-plus tools, not a dedicated secrets product. Essentials covers 1 linked repository. CodeRabbit pricing
Gitleaks / TruffleHogFree, open source (Gitleaks MIT)n/aThe strongest value in this table. Self-operated, no dashboard
Checkmarx / VeracodeNoneQuote onlyEnterprise contracts. Checkmarx pricing, Veracode pricing

How we verified this

Checked 2026-10-18 unless otherwise dated.

Verified at primary source:

  • Semgrep’s own compliance docs and trust.semgrep.dev for the SOC 2 Type II attestation and the absence of ISO 27001 for Semgrep Inc. The most recent attestation period we saw covers 1 Dec 2023 to 30 Nov 2024, with a whitebox penetration test by Include Security.
  • Semgrep cross-file taint mechanics: interfile: true, --pro versus --pro-intrafile, --dataflow-traces, and the statement that only proprietary Semgrep performs interfile analysis, from Semgrep’s cross-file analysis docs.
  • Snyk Code’s DeepCode AI event-graph and interfile analysis, with Ruby as the documented exception, from docs.snyk.io.
  • SonarQube taint analysis being cross-function and cross-file; Advanced SAST and security-engine custom configuration gated to Enterprise Edition and above; C/C++ taint beta in Server 2026.4 covering S2076, S2083, S5145 and S5334.
  • Aikido’s ISO/IEC 42001 scope naming Deep PR Review, from Aikido’s certification announcement.
  • DeepSource’s OpenSSF CVE Benchmark figures at deepsource.com/resources/ai-code-review-tools, alongside its own post criticising vendor self-benchmarking.
  • c-CRAB dataset and scores against arXiv 2603.23448, Table 4 and section 4.4.2: 184 PR instances, 67 repositories, 234 validated review comments. We also checked the v3 author block and found one author affiliated with SonarSource (verified 2026-10-18). Sonar owns Gitar, a paid sponsor of this site. We disclose it because we hold other publishers to the same standard.

What we could NOT verify:

  • GitHub Secret Protection at $19 per active committer per month, and Code Security at $30. Both figures are widely reported by third parties. We fetched github.com/pricing on 2026-10-18 and the add-ons were described but no per-committer figure was present on the accessible page. Treat as unverified at source.
  • Aikido’s exact tier prices. Trackers report Basic at $300 and at $350, Pro at $600 and at $700, likely a USD-versus-EUR artefact. Unverified at source.
  • Aikido’s ISO 42001 certificate text itself. We read the scope from Aikido’s announcement, not the registered certificate PDF or an accredited registry such as IAF CertSearch.
  • Any independent security-specific evaluation of AI PR reviewers. There is none. c-CRAB does not break results out by security class, and no independent party has run the OpenSSF CVE Benchmark against this tool set.
  • Any independent false-positive rate for any AI code reviewer, security findings included.
  • Run-to-run variance for any AI reviewer. Not published by any vendor we checked.
  • Semgrep’s current interfile language list. The product page lists C, C++, C#, Go, Java, JS/TS, Kotlin and Python, but the docs warn that coverage shifts, so verify against the live supported-languages page.
  • CodeRabbit’s current bundled-tool count. The long-standing figure is 40-plus; one 2026 roundup says 50-plus. The docs catalogue is authoritative.

Market facts that correct common aggregator claims: Semgrep Inc. is not ISO 27001 certified. Semgrep’s Network Broker and Snyk Broker are both WireGuard tunnels to vendor cloud, not on-prem deployments. Harness acquired DeepSource on 9 September 2026. Aikido acquired Trag in August 2025.

Recommendations

Criteria: coverage of the three categories, presence of cross-file taint analysis, deterministic gateability, and compliance claims that survive a source check.

For actual vulnerability detection in code changes, buy SAST and judge it on taint analysis. Semgrep is my default recommendation, for one reason that outweighs the rest: rules are YAML in your repository, so your secure-coding policy is version-controlled, diffable and reviewable. The free tier includes cross-file analysis at 10 contributors and 10 private repos, which is the best free offer in this market. Know that Semgrep Inc. is SOC 2 Type II and not ISO 27001, and that the Network Broker is not on-prem.

If you need the analysis inside your perimeter, use SonarQube. Its core SAST engine runs fully on-prem, its taint analysis is cross-function and cross-file, and its quality gates fail builds on named rule IDs - which is exactly the shape an auditor accepts. AI CodeFix is also the strongest documented air-gap plus bring-your-own-model combination in the market, with Ollama, LiteLLM and vLLM named in the docs. Do not confuse Community Build (main branch only) with Cloud’s free tier (PR analysis included).

For secrets, do not buy an AI reviewer. Build the three-layer stack. Gitleaks at pre-commit, push protection on with delegated bypass, TruffleHog verified scanning in CI, and a written rotation runbook. Two of the three are free and MIT-licensed. Aikido is the most credible bundled option if you want one vendor across SAST, SCA, secrets and IaC, and its ISO 42001 scope naming Deep PR Review is the most specific AI-governance claim anyone in this market has made.

Add an AI PR reviewer on top, not instead. CodeRabbit at $24/dev/mo annual is the one I would pick for a security-adjacent workflow, because its 40-plus bundled linters and SAST tools mean the deterministic layer is actually present and a verification agent filters their output. Check the 1-repository cap on Essentials.

For enterprise policy programmes, Checkmarx and Veracode remain the answer, and Veracode is one of only 7 vendors we found holding ISO/IEC 42001. Expect quote-only pricing and a procurement cycle.

What I would not do: cancel a SAST contract because an AI reviewer flagged some SQL injection. The gap between “notices injection-shaped concatenation in the diff” and “enumerates reachable source-to-sink paths across your repository” is the entire reason SAST exists, and no independent evidence suggests AI reviewers have closed it.

Further reading

Sponsored Why?
Gitar logoGitar

Comments are not enough

Gitar applies the fix, validates it in CI, and clears the queue.

See it on your repo Read our independent Gitar review

Frequently Asked Questions

AI code review tools that find security vulnerabilities

Separate three things before you buy. AI PR reviewers (CodeRabbit, Greptile, Claude Code, Gitar) sometimes notice a security issue as a by-product of reviewing intent, with no security rule set behind the finding. Dedicated SAST (Semgrep, Snyk Code, SonarQube, Checkmarx, Veracode) ships security rule packs and cross-file taint analysis that traces untrusted input from source to sink. Secrets scanning (GitHub Secret Protection, Gitleaks, TruffleHog, Semgrep Secrets, Aikido) is a third, separate problem. A team that buys an AI reviewer expecting SAST coverage has a coverage gap and does not know it. Verified 2026-10-18.

Can AI code review catch security bugs?

Sometimes, and nobody has independently measured how often. The only published run on the independent OpenSSF CVE Benchmark dataset is DeepSource's own, where DeepSource scored itself 84.51% F1 and scored CodeRabbit at 59.39% accuracy and 36.19% F1 across 165 CVEs. That is a vendor benchmark, not an independent evaluation. The one genuinely independent multi-tool study, c-CRAB (arXiv 2603.23448v2), found four review agents collectively passed only 41.5% of 234 executable tests derived from real human review comments, and it did not break results out by security class. No party without a commercial stake has published a false-positive rate for any shipping commercial AI code reviewer. (Two independent academic benchmarks, SWE-PRBench and CR-Bench, do publish false-positive data - but for bare models in fixed harnesses, not for products you can buy.)

AI code review tools that flag exposed secrets in pull requests

GitHub Secret Protection does secret scanning plus push protection and is free on public repositories. CodeRabbit bundles secret scanning among its 40-plus linters, catalogued at docs.coderabbit.ai/tools/list. Semgrep Secrets adds semantic and entropy analysis plus secret validation, listed at $15 per contributor per month on Semgrep's pricing page, and is excluded from the free tier. Aikido includes secrets detection in its free Developer plan. TruffleHog verifies 700-plus secret types against live APIs so a finding means the credential works right now. But PR-time detection is already late: the secret is in git history and must be rotated, not just removed.

How do teams prevent secrets from reaching pull requests?

Push protection first, pre-commit hooks second, PR scanning as a backstop. Push protection is the only layer that stops the secret entering the repository at all, and GitHub's blocks pushes from the command line, web commits, file uploads and API requests, with 39 token types enabled by default. Pre-commit hooks catch it earlier but locally and bypassably: Gitleaks is MIT-licensed, runs fully offline, and finishes in under a second on a typical diff via gitleaks detect --staged. PR-time scanning is the weakest layer because by then the credential is in history. Run all three and treat every PR-time secret finding as a rotation event.

Best code review tools for enforcing secure coding policies

For anything that must satisfy an auditor, use a deterministic rule engine, not a model. Semgrep writes custom rules in YAML with cross-file taint via interfile: true, and rules live in your repo under version control. SonarQube's quality gates block a merge on a named rule ID, and its core SAST engine runs fully on-prem. Checkmarx and Veracode are the enterprise options where a formal policy document maps to rule sets. AI reviewers can advise on policy in natural language - Gitar takes policies in plain English, CodeRabbit takes path_instructions - but non-determinism means an advisory finding is not a control. Verified 2026-10-18.

Can automated code checks enforce secure coding policies?

Deterministic checks can; LLM-based review can only advise. The distinction is whether the same input always produces the same output, because a control an auditor accepts must be reproducible and evidenced. A Semgrep rule with an ID, a version, and a CI exit code is a control. A SonarQube quality gate that fails a build is a control. An AI reviewer that posts a comment about your policy is a recommendation: it samples from a distribution, it can give different findings on two runs of the same diff, and no vendor publishes run-to-run variance. Use the model layer to catch what rules cannot express, and gate on the rules.

Where to buy software that checks pull requests for exposed secrets

You mostly do not need to buy it. On public repositories GitHub enables secret scanning and push protection free. Gitleaks (MIT) and TruffleHog are free and open source, and the common pattern is Gitleaks at pre-commit plus TruffleHog in CI with --only-verified --fail. If you want it bundled with code review, CodeRabbit includes secret scanning among its 40-plus tools at $24/dev/mo annual. If you want it as a product, GitHub Secret Protection is reported at $19 per active committer per month (we could not confirm that figure on github.com/pricing on 2026-10-18), Semgrep Secrets is listed at $15 per contributor per month, and Aikido includes secrets detection in its free Developer tier.

How much does software for checking code against OWASP guidelines cost?

You can start at $0. Semgrep's free tier covers 10 contributors and 10 private repositories with cross-file analysis and Pro rules, and the Semgrep registry carries OWASP-mapped rule packs. Snyk Code's free tier allows 5 projects and 100 Code tests a month. SonarQube Cloud's free tier includes pull request analysis up to 50,000 lines on private projects and never expires, while SonarQube Community Build is free and self-hosted but analyses the main branch only with no PR analysis. Paid: Semgrep Code is listed at $30 per contributor per month, Snyk Team from $25 per contributing developer per month capped at 100 projects. Checkmarx and Veracode are quote-only.

Best deal on software for finding vulnerabilities in code changes

On raw capability per dollar, Semgrep's free tier is the strongest offer in this market: cross-file taint analysis with Pro rules, 10 contributors, 10 private repos, 60 AI credits, $0. Its limits are the contributor cap and the exclusion of semantic secrets analysis. The next best value is SonarQube Cloud's free tier, which does include PR analysis up to 50,000 lines on private projects, unlike SonarQube Community Build which is main-branch only. Aikido's free Developer plan gives 2 users and 10 repos with SAST, SCA, secrets and IaC, but gates PR security review to paid tiers. Verify all figures at the vendor's pricing page before purchase.

Price of automated security code review software

Per-contributor SAST clusters around $25 to $30 a month: Semgrep Code listed at $30 per contributor, Snyk Team from $25 per contributing developer capped at 100 projects and 1,000 Code tests a month. Snyk Enterprise moved to a prepaid credit platform where 1 credit equals $1 and Snyk Code meters at 1.0 credit per active contributor per day. Aikido prices flat rather than per seat, with paid plans including 10 users, reported at roughly $300 to $350 a month for Basic including 100 repos, though third-party trackers disagree and we could not confirm at source. Checkmarx, Veracode and Fortify are quote-only enterprise contracts.

Explore More

Free Newsletter

Stay ahead with AI dev tools

Weekly insights on AI code review, static analysis, and developer productivity. No spam, unsubscribe anytime.

By subscribing you agree to receive the weekly newsletter. Unsubscribe in one click, any time. See our privacy policy.

Join developers getting weekly AI tool insights.

Related Articles