gitleaks

    gitleaks/gitleaks

    #127 this week

    Find secrets with Gitleaks πŸ”‘

    30.8K stars
    2.4K forks
    180 GitHub watchers
    Updated Nov 9, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #3 among DevOps repositories ranked this week, and #4 over the last 30 days; #127 of 166 repositories with measured growth this week (top 77%).

    This week's +233 stars is in line with its 30-day pace of about +227 per week.

    No releases in the last 90 days; the most recent was 233 days ago, with 210 contributors on GitHub.

    Peaked at #16 in the weekly ranking the week of Aug 16, its best in the past year.

    Use Cases & Benefits

    • Gitleaks is a Go-based open-source tool for detecting secrets like passwords and API keys in git repositories, files, and stdin inputs.
    • Key features include regex-based secret detection, support for git, directory, and stdin scanning modes, pre-commit hooks, GitHub Actions integration, and customizable configuration.
    • Strengths include high configurability, support for composite rules, recursive decoding of encoded secrets, and a large rule set; limitations may include regex engine constraints and potential false positives.
    • With over 23,000 stars and 1,765 forks since 2018, Gitleaks shows strong adoption and community trust in DevSecOps and CI/CD pipelines.
    • Ideal for developers and security teams aiming to prevent data loss by automatically scanning codebases and git history for hardcoded secrets during development and CI workflows.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Gitleaks is a tool for detecting secrets like passwords, API keys, and tokens in git repos, files, and whatever else you wanna throw at it via stdin. If you wanna learn more about how the detection engine works check out this blog: Regex is (almost) all you need.

    Gitleaks can be installed using Homebrew, Docker, or Go. Gitleaks is also available in binary form for many popular platforms and OS types on the releases page. In addition, Gitleaks can be implemented as a pre-commit hook directly in your repo or as a GitHub action using Gitleaks-Action.

    Excerpt from the gitleaks/gitleaks README on GitHub (MIT license). Β© its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 13: +41Aug 14: +16Aug 17: +27Aug 18: +22Aug 19: +34Aug 20: +24Aug 27: +20Aug 28: +14Aug 29: +12Aug 30: +10Aug 31: +20Sep 1: +16Sep 2: +17Sep 3: +18Sep 4: +15Sep 5: +9Sep 6: +17Sep 7: +22Sep 8: +22Sep 9: +12Sep 10: +24Sep 11: +30Sep 12: +25Sep 13: +25Sep 14: +11Sep 15: +10Oct 2: +30Oct 3: +23Oct 4: +25Oct 5: +32Oct 6: +48Oct 7: +38Oct 8: +14Oct 9: +13Oct 17: +60Oct 18: +35Oct 19: +26Oct 22: +30Oct 23: +41Oct 24: +37Oct 25: +26Nov 5: +29Nov 6: +41Nov 7: +31Nov 8: +19Nov 9: +29Nov 10: +51

    +2,199 stars over 90 days across 56 snapshot days; best day +60 on Oct 17.

    Forks

    2.4K+174

    Open issues

    537+75

    Compared with peers in DevOps

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    gitleaks/gitleaks compared with DevOps repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    milind-soni/OpenMausBot19.7K+8.4K45today
    DuarteSantos8/openGym20.6K+1.7K606 days ago
    elie222/rakazo7.7K+9495830 days ago
    superplanehq/superplane9.4K+9075912 days ago
    AstrBotDevs/AstrBot46.5K+870659 days ago
    gitleaks/gitleaks30.8K+23347233 days ago
    Category median19.7K+94959β€”

    Discover Repositories

    Search across tracked repositories by name or description