gitleaks
Tool · Text & code
Scans code repositories and commit history for exposed passwords, API keys and tokens, and can block them before they are committed.
Recommended pre-commit secret scanner, but missed some secrets inside shell commands
Latest · Nov 22Generic secret scanners such as gitleaks and TruffleHog did not flag all the exposed secrets, mostly because they were embedded inside shell commands.
Who says what
Early daysAttekita Dev, recommending it
Calls it a mandatory pre-commit check to catch exposed keys and tokens before they reach the repository. Adds that an AI agent like Claude can install it and set up the hook.
Apiiro, in its report
Generic secret scanners such as gitleaks and TruffleHog did not flag all the exposed secrets, mostly because they were embedded inside shell commands.
What would settle it. A published count of how many shell-embedded secrets gitleaks alone catches, with and without custom rules.
Evidence
- Nov 12Recommended as a mandatory pre-commit check to catch exposed keys and tokens before they reach the repositoryReported
Attekita Dev - Nov 12Says an AI agent like Claude can install and set it up as a pre-commit hook and workflow for youReported
Attekita Dev