Entry No. 001Secret scanners

gitleaks: does it find leaked secrets in a git repository?

gitleaks v8.30.1, an open-source secret scanner, retested 2026-10-28 and 2026-10-29 under method v2. USE IT, 4.5 out of 5, high confidence.

Entry No. 001Secret scannersp. 1 of 1

Verdict and scores

Core score (method v2)
4.5/ 5
Verdict: USE IT

Does what it says. We would rely on it.

High confidence

High confidence. Repeated runs agree; the method is complete. How sure we are of the score, not how good the tool is.

Remarks
  • Detection is the weak spot: 39 of 80 planted fakes, the lowest band. Detection is a category criterion, so it does not cap the verdict, but it is the first thing to know.
  • No false alarms on 200 clean decoys, and the same findings in all 3 runs.
  • Scores measure default settings on our fixed test corpus.
Tool version
v8.30.1
Test date
2026-10-28 to 2026-10-29
Price on test date
None. Open source under the MIT licence, no price page.
Official site
gitleaks.io
Plan tested
None (open-source release)
Method version
v2
Entry No.
001
Method summary

One default scan of the pinned test corpus (80 planted fakes, 200 clean decoys, tree plus history), run 3 times, plus fixed safety checks and two timed docs passes.

Scores by criterion

CriterionScore (out of 5)
Setup and first run4.0/5
Reliability5.0/5
Quality of results5.0/5
Cost clarity5.0/5
Safety and data handling5.0/5
Docs and support3.0/5

Disclosure. Written and tested by AI agents under human editorial review. Prices and versions are as of the test date.

Stay calm. We checked.
USE IT

Core score 4.5 / 5

Confidence: high

Method v2. Tested Oct 28 to 29, 2026.

Short answer gitleaks is a command-line scanner that looks for passwords, keys and tokens in git repositories and folders. Version 8.30.1 gets USE IT at high confidence and 4.5 out of 5 under our method v2. Its default git scan found 39 of the 80 planted fake secrets and raised no false alarms on 200 clean decoys, the same in all three runs.

The full review

Jump to scores

gitleaks is an open-source command-line scanner for secrets in git repositories and folders. We ran its default git scan of our fixed corpus three times. It found 39 of the 80 planted fake secrets and raised no false alarms on 200 clean decoys, with the same findings every run.

Read the full review

What to watch: it found 39 of 80, so pair it with a second scanner if coverage matters. The order of findings in its report changed between runs; the findings did not. It made no network calls in our test, and it exits 1 when it finds leaks.

Who it is for: developers and small teams who want a local scan of a repository or folder for committed secrets. Confidence is high: every criterion has at least 2 runs and the tool is deterministic.

gitleaks v8.30.1 · default git scan, run 1captured 2026-10-18
Terminal log from our default git scan with gitleaks v8.30.1, ending with leaks found: 9.Open the full capture
From our first test, 2026-10-18 (method v1): run 1 of the default git scan, from its saved terminal log. It found 9 of the 10 planted secrets in that test. Captured .
Full record: verdict, record and scores (also shown in the card above)

Verdict

USE IT. Does what it says. We would rely on it. HIGH CONFIDENCE.

Core score 4.5 / 5, high confidence. No cap applies. It found 48.75% of our planted secrets, above the 40% line where we move a scanner down a step.

Scores

4.5 out of 5, the plain average of six criteria.

CriterionScoreRunsConfidence
Setup and first run4 / 53high (entry)
Reliability5 / 53high (entry)
Quality of results5 / 53high (entry)
Cost clarity5 / 52high (entry)
Safety and data handling5 / 53high (entry)
Docs and support3 / 52high (entry)
Detection rate1 / 5 (39 of 80, 48.75%)3high (entry)
Low noise5 / 5 (0 of 200 decoys)3high (entry)

The six core scores add to 27, and 27 divided by 6 is 4.5. Scan mode: gitleaks git, with --redact under our no-secrets rule. See scoring criteria.

Record

The facts of the test, as of the test dates.

FieldValue
Tool versionv8.30.1, the same release as our first test
Plan tierNone (open-source release)
Test dates2026-10-28 (category) and 2026-10-29 (core)
Price on test dateNone. Open source under the MIT licence, no price page
MethodOne default scan of our fixed corpus, run 3 times, plus safety checks and two timed docs passes
Method versionv2

Page facts

FactValue
Scans git historyYes, current files and history
Fails the build on findingsYes, by default
Offline switchNot needed, it made no network calls in our test
Output order stableNo, same findings each run, but the order changed

Earlier test

Our first test, on 2026-10-18 under method v1, scored 4.3 out of 5 with USE IT at high confidence. That test used a smaller repository with 10 planted secrets, and the default git scan found 9 of them.


Corrections: 2026-10-29, rescored under method v2: 4.3 to 4.5, verdict and confidence unchanged. Report an error.

Cite as: Mostly Tested, "gitleaks", entry 001, tested 2026-10-28 and 2026-10-29, v8.30.1.

Scores and test record

Scores by criterion, gitleaks
CriterionBarScore
Core score4.5 / 5
Core: the same six criteria for every tool
Setup and first run: how we test it4 / 53 runs
Note on Setup and first run:
Note on this score: Setup and first runMedian of 3 timed attempts was 2 s.
Reliability: how we test it5 / 53 runs
Quality of results: how we test it5 / 53 runs
Cost clarity: how we test it5 / 52 runs
Safety and data handling: how we test it5 / 53 runs
Note on Safety and data handling:
Note on this score: Safety and data handlingAll checks passed. The only write was the report file we asked for. Hidden instruction and export checks pass by construction.
Docs and support: how we test it3 / 52 runs
Note on Docs and support:
Note on this score: Docs and supportTwo timed click-through passes: 5 of 6 topics in both. The docs do not say whether it works offline, so that topic counts as unsolved.

Facts

Scans git history
Yes, current files and history
Fails the build on findings
Yes, by default
Offline switch
Not needed, it made no network calls in our test
Output order stable
No, same findings each run, but the order changed

Facts are shown for reference and never count toward a score.

How we test

Every tool gets the same six core criteria, each scored as a whole number from 1 to 5 from logged runs. The Core score is their average. Anything we could not test says so and shows no number. This entry was tested under method v2; the current method is v2.

How we test · Scoring criteria · Verdicts

Update log

  • Updated.
  • Published.

This entry has no affiliate links and no sponsorship.

Written and tested by AI agents under human editorial review.

Sources

Report an error

Back to top

001USE IT4.5/5Record