Skip to content

HardenKit vs GitHub Advanced Security: what each one checks, and which to use

GitHub Advanced Security is the set of paid security features built into GitHub, sold as GitHub Code Security and GitHub Secret Protection.

The short answer

If your code is on GitHub, CodeQL and secret scanning do things HardenKit does not, and they are worth turning on. HardenKit adds what they do not cover: container images, a ranking by CISA KEV and EPSS, an upgrade plan, and scans outside GitHub. For most teams this is a case for both, not one or the other.

Made by
GitHub
Kind
Built into GitHub
License
Commercial
Price
GitHub Secret Protection costs $19 per active committer a month and GitHub Code Security costs $30 per active committer a month, on GitHub Team or Enterprise plans. Code scanning and secret scanning are available on public repositories without buying either.
Coverage

What each one reads

GitHub Advanced Security is sold as two products. GitHub Code Security includes code scanning with CodeQL, Copilot Autofix, dependency review on pull requests and security campaigns. GitHub Secret Protection includes secret scanning and push protection. Code scanning and secret scanning are available on public repositories without buying either product; private repositories need a paid license on a GitHub Team or Enterprise plan. This page leaves Dependabot out, because it has its own comparison.

HardenKit does not analyze your own code and does not scan a repository for secrets, so it is not a substitute for CodeQL or secret scanning. It covers what those features leave out: known vulnerabilities in dependencies and container images ranked by exploitation data, one upgrade per package, and checks on Kubernetes manifests and the AI stack. It runs anywhere, not only on GitHub.

DependenciesContainersKubernetesGitHub ActionsAI stackTerraformSecretsYour codeLicenses
HardenKitYesYesYesYesYesNoIn the config it checksNoNo
GitHub Advanced SecurityDependency review on PRsVia third-party SARIFVia third-party SARIFYesNot documentedVia third-party SARIFYesYesAllow or deny list on PRs
YesPartly or with a conditionNot in its documentationNo
Priorities

How each one decides what comes first

A scan of a real project returns hundreds of findings. What a tool reads beyond the severity score decides which of them you see at the top.

HardenKit

  • Exploited now (CISA KEV)Yes
  • Likely to be exploited (EPSS)Yes
  • Reachable from your codeNo
  • One upgrade per packageYes

GitHub Advanced Security

  • Exploited now (CISA KEV)Not documented
  • Likely to be exploited (EPSS)In Dependabot alerts
  • Reachable from your codeEnterprise, in preview
  • One upgrade per packageNot documented
Strengths

What GitHub Advanced Security does well

Code scanning with CodeQL

CodeQL analyzes the code you write in languages including C and C++, C#, Go, Java and Kotlin, JavaScript and TypeScript, Python, Ruby, Rust and Swift, and it also analyzes GitHub Actions workflows. HardenKit does not analyze your own code.

Secret scanning and push protection

Secret scanning checks the whole Git history on all branches, plus issues and pull requests, and push protection stops a secret before it lands. HardenKit only looks for secrets in AI and MCP configuration, Kubernetes manifests and workflows.

Built into the pull request

Alerts, Copilot Autofix suggestions and dependency review appear where developers already work, with no extra tool to install. Copilot Autofix for code scanning does not need a Copilot subscription.

Differences

Where HardenKit differs

Runs outside GitHub

HardenKit is a binary that scans a directory or a container image on a laptop, in any CI system or on a server. GitHub Advanced Security features work on repositories hosted on GitHub.

Container images and exploitation ranking

HardenKit scans container images and their operating system packages and sorts findings by CISA KEV and EPSS into four priorities. GitHub does not document image scanning for CodeQL, secret scanning or dependency review; code scanning can show results uploaded from other tools as SARIF.

Free on private code

HardenKit is free and open source for any repository. GitHub Code Security and GitHub Secret Protection are paid per active committer on private repositories.

Side by side

HardenKit vs GitHub Advanced Security, row by row

FeatureHardenKitGitHub Advanced Security
What it scans
Application dependenciesYesDependency review on PRs
Container images and OS packagesYesVia third-party SARIF
Kubernetes manifests and Helm chartsYesVia third-party SARIF
GitHub Actions workflowsYesYes
AI stack: LLM SDKs, MCP servers, model filesYesNot documented
Terraform and other infrastructure codeNoVia third-party SARIF
Secrets in the repositoryIn the config it checksYes
Your own code (SAST)NoYes
Open-source licensesNoAllow or deny list on PRs
How it ranks
Puts exploited vulnerabilities (CISA KEV) firstYesNot documented
Uses EPSS exploit likelihoodYesIn Dependabot alerts
Reachability analysisNoEnterprise, in preview
One upgrade per package that clears its findingsYesNot documented
Fixing
Opens pull requests with the fixNoCopilot Autofix suggestions
Rescans on a schedule and alerts on changesYesWeekly CodeQL scan, alerts
Terms
Open sourceApache-2.0CodeQL queries only (MIT)
Runs without an accountYesNo
Free for commercial useYesPublic repositories only

Checked against GitHub Advanced Security’s own documentation in November 2026. “Not documented” means we did not find it there, not that the product cannot do it. Tell us through the contact form if a row is out of date.

Which to use

When to pick which

Pick GitHub Advanced Security when

  • You want static analysis of your own code. HardenKit does not have it.
  • You want secret scanning across your Git history and push protection.
  • You want security findings and suggested fixes inside GitHub pull requests.
  • You want license allow and deny lists enforced on pull requests through the dependency review action.

Pick HardenKit when

  • You want to scan container images, servers or code that is not on GitHub.
  • You want vulnerabilities ranked by CISA KEV and EPSS with one upgrade per package.
  • You want checks on Kubernetes manifests, Helm charts, MCP configuration and model files.
  • You have private repositories and no budget for per-committer licenses.

Running both. Turn on CodeQL and secret scanning for your own code and credentials, and add the HardenKit GitHub Action for dependencies, container images, Kubernetes manifests and the AI stack. HardenKit writes its upgrade plan to the job summary and fails the step at the level you set.

Questions

HardenKit and GitHub Advanced Security

Is HardenKit an alternative to GitHub Advanced Security?

Not to CodeQL or secret scanning, because HardenKit does not analyze your own code or scan a repository for secrets. It covers a different area: known vulnerabilities in dependencies and container images, ranked by exploitation data.

How much does GitHub Advanced Security cost?

GitHub lists GitHub Secret Protection at $19 and GitHub Code Security at $30 per active committer a month, for GitHub Team and Enterprise plans. Code scanning and secret scanning are available on public repositories without a purchase. HardenKit is free for public and private code.

Does CodeQL scan dependencies or container images?

CodeQL analyzes source code and GitHub Actions workflows. Dependencies are handled by dependency review and Dependabot. Scanning container images is not part of CodeQL, secret scanning or dependency review as GitHub documents them. HardenKit scans both dependencies and container images.

Does HardenKit work with GitHub?

Yes. HardenKit has a GitHub Action that puts the upgrade plan and findings in the job summary and fails the step when a finding is at or above the level you choose. It does not upload SARIF to code scanning.

Does GitHub use EPSS or CISA KEV?

GitHub documents EPSS scores as one of the things to use when prioritizing Dependabot alerts. We did not find CISA KEV in the documentation we read. HardenKit puts everything on the KEV list in its top priority.

Run HardenKit beside GitHub Advanced Security and compare the top of the list

One command, no account. The scanner is free and open source.

$curl -sSfL https://hardenkit.com/install.sh | sh
See how the scanner works