Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
github-review
Advanced tools
A simple tool to help me pull down and review Github PRs.
This is geared toward reviewing NodeJS projects since that's what I'm reviewing these days. This is specifically geared toward reviewing PRs from ShellJS and its various off-shoot projects. I also use this to help review cash and my Bash-to-ShellJS translator.
Feel free to try this out for your Github projects! If you like it, drop me a line.
If you find any bugs, please see the wiki page for a guide on submitting bug reports (I'd love to get them so I know what I can fix). If you have any improvements, please open a pull request (which I'll try reviewing via this tool!) or give me a feature suggestion via Github issue. I'm more than happy to branch this off into a more general and powerful project.
$ npm install -g github-review
user/repo/pull/<num>/...
)# Save yourself some typing, paste in whatever URL is in your browser
$ review.js https://github.com/shelljs/shx/pull/14
$ review.js https://github.com/shelljs/shx/pull/14/files # this works too
$ review.js https://github.com/shelljs/shx/pull/14#discussion_r55946766 # even this
cd
into the new PR_14/
directoryAlso, you can also paste in the URL of the repo itself to clone & test the master branch:
# Clone & test the master branch
$ review.js https://github.com/shelljs/shx
This is written mainly in ShellJS, so this is supposed to be compatible with
Linux, Mac OS X, and Windows. Note: you must have curl
installed for this
script to run. Don't like that? I'll gladly accept a PR fixing that.
If you find that this script doesn't run on your system, let me know and I'll try to fix that as well.
FAQs
A simple tool to help me pull down and review Github PRs
We found that github-review 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.