Secret Magpie: scan for leaked secrets in ALL of their repos
Secret Magpie
Organizations struggle to scan for leaked secrets in ALL of their repos. It’s easy to scan one repo, but time-consuming and tedious to scan all of them.
SecretMagpie is a secret detection tool that hunts out all the secrets hiding in ALL your repositories.
It supports finding repos in Github, Gitlab, Azure DevOps (ADO), Bitbucket, and the local file system.
Given an auth token, it will:
- enumerate all of the repos
- clone each repo down
- scan EVERY branch with multiple tools
- squash all the findings into one big list
- deduplicate them so you dont triage the same thing twice
- give you some great stats and a full report in csv or json
By making use of the open-source tools Trufflehog 🐷 and Gitleaks, SecretMagpie can highlight a variety of different secrets and ensure that nothing is missed!
Install & Use
Copyright (C) 2023 punk-security