Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github-multi-clone
Advanced tools
Allows to clone multiple repositories based on github repository search-term.
Clone multiple github repositories at-once using a repository search-term.
https://git.thessaloniki.link/alex/github-multi-clone
Clone (secure or backup) open-source projects in which your work might be dependent on, you never know....
$ npm install -g github-multi-clone
$ github-multi-clone -h
$ github-multi-clone 'react stars:>250 language:javascript' --sort stars
Cloning into '/home/alex/github-archive/freeCodeCamp/freeCodeCamp'...
Cloning into '/home/alex/github-archive/facebook/react'...
Cloning into '/home/alex/github-archive/facebook/react-native'...
Cloning into '/home/alex/github-archive/facebook/create-react-app'...
....
the following command clones all repositories written in javascript, having the term
react
in it and having more stars than 250.
More about the search term: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories
Note: If your search-term results in xy number of repository all will be downloaded, paginated.
if for example you are a python / django developer you could use the following command to backup highly-dependent open-source repositories:
$ github-multi-clone 'django stars:>250 language:python' --sort stars
Depth --depth
- define the git clone --depth
attribute to save some disk-space, history isn't always important, DEFAULT IS: 50
for more check
--help
|-h
FAQs
Allows to clone multiple repositories based on github repository search-term.
We found that github-multi-clone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.