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

github-credential-scraper

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-credential-scraper

Naive GitHub credential scraper for git

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
2
Weekly downloads
 
Created
Source

github-credential-scraper stability

js-standard-style

Naive credential scraper for GitHub. Looks for:

  • AWS_KEY
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • x-oauth-basic
  • id_rsa files
  • .key files
  • .pem files

Installation

$ npm install github-credential-scraper

Usage

cli

Usage: github-credential-scraper [options] <orgname>

Options:
  -h, --help        Output usage information
  -v, --version     Output version number
  -t, --token       GitHub auth token
  -u, --username    GitHub username

Examples:
  $ github-credential-scraper google
  $ github-credential-scraper google -u foobar -t aeff0558afei45

Docs: https://github.com/TabDigital/github-credential-scraper
Bugs: https://github.com/TabDigital/github-credential-scraper/issues

js

const awsCredentialScraper = require('github-credential-scraper')
const auth = {
  user: 'rvagg',
  token: '24d5dee258c64aef38a66c0c5notarealtokenlol'
}

awsCredentialScraper('TabDigital', auth, function (err, matches) {
  if (err) throw err
  console.log(matches)
})

API

awsCredentialScraper(orgname, auth, cb(err, matches))

Create a new scraper that scrapes GitHub for an orgname. Data is returned as an array of object with a signature of { name: <string>, data: [<string>]}

License

MIT

Keywords

FAQs

Package last updated on 07 Mar 2016

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