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)
aarch64-freebsds390x-linuxpowerpc64-linuxx86_64-freebsdmicroblaze-linuxaarch64-darwinmipsel-linuxmips64el-linux
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