Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

keyscanz

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyscanz

Scan git repos for keys and mnemonics

  • 1.3.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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"
  );

  // Results look like this:
  // {
  //   hex: [
  //     '3cd7232cd6f3fc66a57a6bedc1a8ed6c228fff0a327e169c2bcc5e869ed49511',
  //     'e331b6d69882b4cb4ea581d88e0b604039a3de5967688d3dcffdd2270c0fd109',
  //     '0000000000000000000000000000000000000000000000000000000000000000',
  //   ],
  //   mnemonics: [
  //     'debris electric learn dove warrior grow pistol carry either curve radio hidden',
  //     'candy maple cake sugar pudding cream honey rich smooth crumble sweet treat',
  //   ],
  //  }
};

runScan();

Keywords

FAQs

Package last updated on 06 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc