keyscanz
Scan git repos for private keys and mnemonics.
- Will clone the repo to a local dir and delete it after the scan is done
- Scans for BIP39 valid mnemonics between 12 and 25 words
- Scans for 64 character hex strings (either starting with
0x
or not)
Installation
npm install keyscanz
Usage
import keyscanz from "keyscanz";
const runScan = async () => {
const ghResults = await keyscanz.github("trassmann/keyscanz");
const glResults = await keyscanz.gitlab("trassmann/keyscanz");
const rawResults = await keyscanz.scan(
"https://some-raw-url.org/trassmann/keyscanz"
);
};
runScan();