Repository security scans
Scan one private repository on demand, without a pull request: its current files for insecure code, vulnerable dependencies, infrastructure misconfigurations and secrets, and its Git history for secrets. One scan that returns results costs $0.50 USD before tax.
Repository scans are available to account owners and organization admins. Sign in with GitHub, then open an account from the dashboard and choose Security scans.
What is scanned
You choose a repository and see its default branch commit before you pay. The scan reads exactly that commit, even when the branch moves on later. No language model is involved.
- gitleaks 8.30.1
- secrets in the current files and in every commit reachable from the scanned commit
- trufflehog 3.100.1
- credential candidates in current files and in the history reachable from the scanned commit, with provider verification where supported
- opengrep 2.1.0
- insecure code patterns in current supported source files, tests and fixtures included
- bandit 1.9.4
- insecure Python in current .py files
- osv-scanner 2.7.1
- known vulnerabilities in every supported current dependency lockfile
- trivy 0.77.0
- misconfigurations in current infrastructure files such as Dockerfiles, Kubernetes manifests and Terraform
- zizmor 1.33.1
- insecure GitHub Actions workflows and action definitions, Dependabot and pre-commit configuration in the current files
Every tool is a fixed release verified by its checksum. Their rules and configuration come from DiffCritic, never from the repository, and inline suppressions in the repository are not honoured where the tool allows that.
History and what is left out
Secrets are searched in every commit reachable from the scanned commit, so a key deleted long ago is still reported. Code, dependencies and infrastructure are checked in the current files only, not in every past revision.
Not scanned: other branches and tags that the commit does not reach, files in unsupported languages, binary files and archives, symbolic link targets, submodules and Git LFS contents. Opengrep also excludes vendored and minified code, generated build output and code files over 1 MiB. TruffleHog skips past file versions over 10 MiB. Reports count these exclusions and list each skipped code file and oversized past file version by path; a completed scan does not mean every file was checked by every tool.
Some files are checked in part. opengrep cannot parse Django template tags, some shell parameter expansions or some Python syntax (such as the generic syntax of Python 3.12, def f[T](x: T)), so it skips those lines and checks the rest. The report counts a file under "parsed only in part" when its remaining lines were still checked, or under "skipped at least half of" when opengrep skipped at least half of it (a wholly skipped file had nothing checked). The scan stays complete for these partial checks, and a template that opengrep cannot read at all is reported as skipped. A Python file that bandit cannot parse still fails the scan. bandit does not report assert statements (B101) in test files — files under a test or tests directory, or named test_*.py, *_test.py or conftest.py, matched against their full path — because a test suite is made of them. The report counts these skipped asserts and lists the files they were skipped in; every other bandit check still runs on test files.
To find known vulnerabilities, package names and versions from current lockfiles are sent to Google's OSV service. See the privacy policy.
To verify candidates, TruffleHog sends discovered credential material to the relevant provider APIs where supported. Reports name the detector and its verification result, never the credential value.
- verified
- The provider confirmed the credential was valid when checked.
- unverified
- The candidate was not confirmed as a valid credential.
- unknown
- A verification error prevented a result.
Limits
Except for the disclosed exclusions, a repository that needs more than these limits gets an incomplete scan. A limit that stops the scan before any tool returns results makes it free. The fetched Git history is never truncated to meet the download or reachable-commit limits.
- Whole scan, download included
- 10 minutes
- Downloaded Git history
- 1 GiB
- Reachable commits
- 100,000
- Current tracked files
- 50,000
- Current files in total
- 100 MiB
- One current file
- 10 MiB
- Past file versions TruffleHog checks
- 100,000
- Past file versions in total
- 1 GiB
- Structured report
- 2 MiB
Price and failures
- $0.50 USD before tax for each scan that returns results, with or without findings. VAT is added where it applies.
- An incomplete scan is charged when at least one tool finished before the scan stopped.
- A scan that stops before any tool runs, or is cancelled, is not charged.
- The charge is added to the account's existing subscription. It uses no review units.
- A scan starts only when you press Scan repository. Choosing a repository only shows the preview.
Private reports
Only the account owner and its organization admins see a report. Each report names the commit, every tool's result and the coverage, and can be downloaded as JSON. Secret values are never stored, only where they were found.
Reports and downloads are deleted 30 days after the scan finishes. The date of the charge remains for billing.
A clean report means no findings in the declared coverage. It does not prove that a repository is secure.
The free pull request scan is separate
The Security scan of pull requests stays free. It checks only what a pull request adds and posts a comment there. A repository scan checks the whole current repository and its history, and reports privately on the dashboard.