Scan git repos (or files) for secrets using regex and entropy
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code.
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code.
To install gitleaks, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install gitleaks
To see what files were installed by gitleaks, run:
port contents gitleaks
To later upgrade gitleaks, run:
sudo port selfupdate && sudo port upgrade gitleaks
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.