Skip to content
testcritic

Dependabot vs CodeQL

Feature checklists rarely decide anything. What decides it is the pricing metric, who has to write the tests, and which limitation you can live with.

Entry price

Free

Free

From $30 per active committer/month (GitHub Code Security)

Free tier

What drives the bill

The metric that actually scales your invoice.

Completely free. Advanced Security features such as code scanning are separately licensed.

Free on public repos. For private repositories GitHub split Advanced Security into two products in April 2025: Code Security at $30 and Secret Protection at $19 per active committer/month, both now available on Team plans as well as Enterprise. CodeQL sits in Code Security. Billing counts active committers, not seats, which can surprise teams with many occasional contributors.

Free tier

Free on all GitHub repositories including private ones.

Free for public repositories on GitHub.

Open source

MIT (queries)

Self-hostable

No-code authoring

Languages

JavaScriptTypeScriptPythonJavaC#GoRubyPHPKotlinSwift
JavaScriptTypeScriptPythonJavaC#GoRubySwiftKotlin

Platforms

WebAPI
WebAPIDesktop

Fits teams

Solo / side projectStartupScale-up / mid-marketEnterprise
StartupScale-up / mid-marketEnterprise

Adoption

Category standard

GitHub (Microsoft) · since 2017

Widely used

GitHub (Microsoft) · since 2019

Strengths

  • Free and requires a single config file to enable.
  • Version-bump pull requests mean remediation is a review, not a task.
  • Grouped updates keep the PR volume manageable.
  • Interprocedural dataflow analysis finds real vulnerabilities that regex- and pattern-based tools cannot see.
  • Free on public repositories, with results in the GitHub security tab.
  • Custom queries let you encode organisation-specific security rules.

Limitations

  • No reachability analysis, so it reports vulnerabilities in code you never call.
  • PR noise is a genuine problem on large dependency trees without grouping configured.
  • GitHub only.
  • Writing custom CodeQL queries is a specialist skill with a steep learning curve.
  • Analysis is slow — minutes to tens of minutes, so it fits nightly better than per-commit.
  • Private-repo licensing through Advanced Security is expensive at scale.

Best for

Every GitHub repository, as the free baseline before considering a paid SCA tool.

GitHub-hosted projects wanting deep static security analysis, free if the repo is public.

All of these integrate with: GitHub Actions, GitHub Advanced Security.

Pricing last reviewed August 2026 and is indicative only — confirm on each vendor’s own page.