AWS Lab's git-secrets is described as 'Git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories. If a commit, commit message, or any commit in a --no-ff merge history matches one of your configured prohibited regular expression patterns, then the commit is' and is an app in the development category. There are nine alternatives to AWS Lab's git-secrets for a variety of platforms, including Mac, Windows, Linux, SaaS and Web-based apps. The best AWS Lab's git-secrets alternative is GitGuardian. It's not free, so if you're looking for a free alternative, you could try GitGuardian or truffleHog. Other great apps like AWS Lab's git-secrets are repo-security-scanner, Yelp's detect-secrets, Cremit and Gitrob.
truffleHog takes into account AWS secret keys as well as alternative high entropy keys such as API keys.