gitleaks

gitleaks 8.30.1

Scan git repos (or files) for secrets

<rendered-html><p>Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, API keys and tokens in git repos.</p> </rendered-html>

https://github.com/gitleaks/gitleaks
MIT License
main program: gitleaksprograms: gitleaks
Platforms (30)
powerpc64-linuxarmv7l-linuxx86_64-linuxaarch64-freebsdmicroblazeel-linuxsh4-linuxmipsel-linuxaarch64-darwin
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  gitleaks
];
Ad-hoc shell
nix-shell -p gitleaks
Flake (nix run)
nix run nixpkgs#gitleaks