In a nutshell
GitHub Advanced Security (GHAS) is GitHub's paid security suite. It scans your repositories for two things developers leak by accident: credentials and vulnerable code.
It comes as two products you buy separately โ Secret Protection and Code Security.
Why now
AI writes code faster than any review process was designed to absorb โ and attackers reach the same models defenders do. Two curves moving in opposite directions.
4x+ increase in Dependabot alerts
New alerts created across GitHub, per quarter.
The 2025 baseline sat steadily around 70โ80M, then jumped. CVE alerts platform-wide are up 6x since February 2026.
From vulnerability to exploitation
Mean gap between CVE public disclosure and first confirmed in-the-wild exploitation.
Based on 3,500+ confirmed-exploited CVEs (CISA KEV + VulnCheck KEV) ยท zerodayclock.com
What it means for AppSec
โShift leftโ used to mean the IDE. Now the IDE, the CLI, the app, and the pull request blend into one continuous surface that agents move across freely. That has two consequences.
๐ Traditional security can't keep up
The volume of new, AI-generated code outpaces what any traditional review process can inspect, and it arrives across many new surfaces at once. Gating at the pull request is already too late once an agent has propagated a change across repos.
โก Exploitation is faster than ever
Attackers reach the same frontier models, and cost is no object. They find and weaponize risk faster than defenders can triage it, and supply chain attacks move faster than any human review cycle.
How GHAS answers it
Scanning tools normally live outside the platform: a separate console, a separate backlog, and findings that reach the developer days after the code was written. GHAS puts all four steps where the code already is.
Whatโs inside ๐ Docs
Click a feature for details. Chips show free versus licensed.
Pricing ๐ Docs
| Product | Price | Billing unit |
|---|---|---|
| ๐ GitHub Secret Protection | $19 / month | active committer |
| ๐ GitHub Code Security | $30 / month | active committer |
| ๐ฆ Both together | $49 / month | active committer |
- ๐ฅ Active committer = someone who pushed to a repo with the feature on in the past 90 days. Counted once across every repo and org; GitHub App bots donโt count
- ๐ท๏ธ Sold on GitHub Team and GitHub Enterprise. On Enterprise Server and GHE.com every repository needs a licence
- ๐ Public repos get most features free, not all โ custom patterns, delegated bypass, AI-detected secrets, campaigns and Security overview still need a licence (exact split โ)
Pre-purchase inventory โ Risk Assessments ๐ Docs
Two free assessments run from Org โ Security โ Assessments and show what is already hiding in your repos. No licence, no trial, and you see the numbers before deciding to buy.
๐ Secret Risk Assessment
Types and count of secrets sitting in your org's repositories, aggregated by category.
๐ Code Security Risk Assessment
Code vulnerabilities found by CodeQL, broken down by severity, language, and how many Copilot Autofix can fix.
- ๐ Only organization owners and security managers can run them
- ๐ท๏ธ GitHub Team and GitHub Enterprise Cloud (Server support expected in 3.22)
- ๐งช You can start a GHAS trial directly from the results โ, which is the natural next step once you have the numbers
Rolling out across the enterprise
One configuration at Enterprise โ Settings โ Advanced Security โ Code security rolls out to every org and repo. New configuration opens pre-filled with GitHub recommended.
Visualizing coverage ๐ Docs
Once the configuration is out, the question becomes โhow far are we actually covered?โ The Security and quality tab answers it at both Enterprise and Organization level.
| View | What it answers | Level |
|---|---|---|
| ๐ Overview | Detection / remediation / prevention trends | Ent + Org |
| ๐ Coverage | Which repos have which feature enabled | Ent + Org |
| ๐ก๏ธ Risk | Which repos carry the most alerts | Ent + Org |
| ๐ Public monitoring | Secrets your members leaked in public repos across GitHub | Ent only |
- ๐ข Org-level Coverage is the day-to-day view โ enterprise views only aggregate orgs where you are an owner or security manager
- ๐ Public monitoring (public preview, needs Secret Protection) attributes leaks by enterprise membership and verified domain. Turn it on at Enterprise โ Settings โ Advanced Security โ Code security
- ๐ค Export CSV on Overview / Coverage / Risk keeps the filters you already applied