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.
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.
| Dependencies | Containers | Kubernetes | GitHub Actions | AI stack | Terraform | Secrets | Your code | Licenses | |
|---|---|---|---|---|---|---|---|---|---|
| HardenKit | Yes | Yes | Yes | Yes | Yes | No | In the config it checks | No | No |
| GitHub Advanced Security | Dependency review on PRs | Via third-party SARIF | Via third-party SARIF | Yes | Not documented | Via third-party SARIF | Yes | Yes | Allow or deny list on PRs |
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
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.
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.
HardenKit vs GitHub Advanced Security, row by row
| Feature | HardenKit | GitHub Advanced Security |
|---|---|---|
| What it scans | ||
| Application dependencies | Yes | Dependency review on PRs |
| Container images and OS packages | Yes | Via third-party SARIF |
| Kubernetes manifests and Helm charts | Yes | Via third-party SARIF |
| GitHub Actions workflows | Yes | Yes |
| AI stack: LLM SDKs, MCP servers, model files | Yes | Not documented |
| Terraform and other infrastructure code | No | Via third-party SARIF |
| Secrets in the repository | In the config it checks | Yes |
| Your own code (SAST) | No | Yes |
| Open-source licenses | No | Allow or deny list on PRs |
| How it ranks | ||
| Puts exploited vulnerabilities (CISA KEV) first | Yes | Not documented |
| Uses EPSS exploit likelihood | Yes | In Dependabot alerts |
| Reachability analysis | No | Enterprise, in preview |
| One upgrade per package that clears its findings | Yes | Not documented |
| Fixing | ||
| Opens pull requests with the fix | No | Copilot Autofix suggestions |
| Rescans on a schedule and alerts on changes | Yes | Weekly CodeQL scan, alerts |
| Terms | ||
| Open source | Apache-2.0 | CodeQL queries only (MIT) |
| Runs without an account | Yes | No |
| Free for commercial use | Yes | Public 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.
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.
HardenKit and 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.
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.
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.
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.
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.
Where these facts come from
Read in November 2026.
- About GitHub Advanced Security
- GitHub security plans and pricing
- About code scanning with CodeQL
- Configuring default setup for code scanning
- About secret scanning
- About dependency review
- Copilot Autofix for code scanning
- CodeQL repository
More comparisons
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