# GitHub Secret Protection

> Secret scanning and push protection for private repositories, per active committer

Source: https://talira.ai/catalog/github-secret-protection-wya2z0sz
Every listing: https://talira.ai/catalog.md

- Kind: SaaS
- Types: Web app, API
- Categories: [security / secret scanning](https://talira.ai/categories/security/secret-scanning)
- Platforms: web[^5]
- Licence: proprietary
- Pricing: Paid, free tier, from $19/month[^2][^3]
- Pricing notes: US$19 per active committer a month, as an add-on to GitHub Team or Enterprise. Push protection, secret scanning, provider patterns and provider notification are free for public repositories.
- Free tier: yes[^2][^3]
- Self-hostable: yes[^1]
- Cloud hosted: yes[^1]
- API: yes[^4]
- Made by: [GitHub](https://talira.ai/orgs/github.md)
- Funding: acquired by Microsoft (2018)[^6]

GitHub Secret Protection is GitHub's paid secret scanning for private and internal repositories: it scans the whole git history on every branch, plus issues, pull requests, discussions and wikis, for provider tokens, generic secrets (found partly with AI) and your own custom patterns, and push protection blocks a commit that contains a secret before it reaches the repository. Validity checks say whether a found secret still works, delegated bypass sends a blocked push to reviewers, and Enterprise adds monitoring for your secrets leaked anywhere on public GitHub. It was split out of GitHub Advanced Security on 1 April 2025, when it also became available to GitHub Team, at US$19 per active committer a month; secret scanning and push protection stay free for public repositories. It runs on [GitHub](https://talira.ai/catalog/github-ppcgj756.md) and on GitHub Enterprise Server.

## Links

- Website: https://github.com/security/advanced-security/secret-protection
- Docs: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning
- Pricing: https://github.com/security/plans

## Problems it solves

- block a developer's push when it contains an API key, before the key lands in our private repo
- scan years of history across all our private GitHub repos for committed credentials
- know which leaked tokens in our repos are still active so we rotate those first
- make anyone who wants to push a secret anyway get approval from the security team
- find credentials pasted into GitHub issues and pull request comments, not only code
- detect our company's own internal token formats with custom patterns
- find out when one of our secrets shows up in someone else's public GitHub repository
- secret scanning for private repos without buying the whole GitHub Advanced Security bundle

## Features

- secret scanning of git history on all branches, issues, pull requests, discussions and wikis
- push protection that blocks commits containing secrets
- provider patterns with provider notification
- generic patterns and AI-detected secrets
- custom patterns
- validity and metadata checks
- delegated bypass and alert dismissal controls
- insights in security overview and a scan history API
- public monitoring of leaks on public GitHub (Enterprise)
- free secret risk assessment for an organization
- available on GitHub Team, Enterprise Cloud and Enterprise Server

## Limitations

- Doesn't scan private repositories owned by personal accounts: only organization-owned private and internal repositories, or user-owned ones on Enterprise Cloud with Enterprise Managed Users[^1]

## Ways to run it

### GitHub Secret Protection on GitHub.com

Hosted by GitHub. Price: US$19 per active committer/month (GitHub Team or Enterprise Cloud).[^1][^2]

Only in this edition:

- public monitoring (Enterprise)

Pricing: https://github.com/security/plans

### GitHub Secret Protection on GitHub Enterprise Server

You run it, under a commercial licence. Price: not published.[^1]

You arrange:

- a GitHub Enterprise Server instance

Self-hosting docs: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning

## Capabilities

- Has an API: plan not known
- Sends webhooks: plan not known

## Trust

Overall: 0.49 out of 1.
Signals: backing 0.55, extensibility 0.40.

- made by GitHub
- funding: acquired by Microsoft (2018)

## Related

- Works with [GitHub](https://talira.ai/catalog/github-ppcgj756.md)

## Alternatives

- [GitGuardian](https://talira.ai/catalog/gitguardian-d4py8bka.md): Detect and validate hardcoded secrets across your SDLC
- [TruffleHog](https://talira.ai/catalog/trufflehog-0249f3m2.md): Find, verify, and analyze leaked credentials
- [Gitleaks](https://talira.ai/catalog/gitleaks-b0pf99yg.md): Find secrets with Gitleaks
- [detect-secrets](https://talira.ai/catalog/detect-secrets-eb4tk1py.md): An enterprise friendly way of detecting and preventing secrets in code.
- [Kingfisher](https://talira.ai/catalog/kingfisher-84p0ekrp.md): Detect secrets. Validate them live. Map blast radius. Revoke fast.

## Sources

[^1]: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning (checked 20 Nov 2026)
[^2]: https://github.com/security/plans (checked 20 Nov 2026)
[^3]: https://github.blog/changelog/2025-03-04-introducing-github-secret-protection-and-github-code-security/ (checked 20 Nov 2026)
[^4]: https://docs.github.com/en/rest/secret-scanning (checked 20 Nov 2026)
[^5]: https://github.com/security/advanced-security/secret-protection (checked 20 Nov 2026)
[^6]: https://blogs.microsoft.com/blog/2018/10/26/microsoft-completes-github-acquisition/ (checked 20 Nov 2026)
