
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
github-repositories
Advanced tools
Get all GitHub repos from a user
$ npm install --save github-repositories
const githubRepos = require('github-repositories');
githubRepos('kevva').then(data => {
console.log(data);
//=> [{id: 29258368, name: 'animal-sounds', full_name: 'kevva/animal-sounds', ...}, ...]
});
Returns a promise for an array with the the repositories.
Required
Type: string
Username to fetch repos from.
Type: string
Token to authenticate with. Use this to increase the request count. Github supports up to 60 unauthenticated request per hour. This is also required for accessing private repos.
If you don't have a token you can generate a new one here.
$ npm install --global github-repositories
$ github-repositories --help
Usage
$ github-repositories kevva
$ github-repositories kevva --token 523ef69119eadg12
Options
-f, --forks Only list forks
-r, --repos Only display repository names
-s, --sources Only list sources
-t, --token GitHub authentication token
-u, --urls Only display URLs
MIT © Kevin Mårtensson
FAQs
Get all Github repos from a user or an organization
The npm package github-repositories receives a total of 160 weekly downloads. As such, github-repositories popularity was classified as not popular.
We found that github-repositories demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.