Organisations 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:
By making use of the opensource tools Trufflehog 🐷 and Gitleaks, SecretMagpie can highlight a variety of different secrets and ensure that nothing is missed!
We plan on adding more tools soon, providing even wider coverage.
The easiest approach is to use Docker…
We’ve kept things nice and simple and bundled everything into a Docker container to enable you to start finding secrets as soon as possible.
Simply run one of the following commands to get started: for github, gitlab or azuredevops
docker run punksecurity/secret-magpie <github/gitlab/azuredevops> --org 'organisation name' --pat 'personal access token' or for bitbucket
docker run punksecurity/secret-magpie bitbucket --workspace 'workspace name to scan' --username 'your username' --password 'your application password' or for the local filesystem
docker run -v /local/path/to/repos/:/repos punksecurity/secret-magpie filesystem --path /repos For more information click here.
The xargs command in Linux reads items from standard input and passes them as arguments to another…
The locate command in Linux searches for files and directories by name. It queries a pre-built database…
Most modern Linux distributions use systemd as the default service manager. Knowing how to list…
Truncating a file in Linux means removing its contents while leaving the file itself in…
The ss command in Linux lists open sockets and active network connections. It replaced the deprecated netstat command and…
The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything…