
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
shelljs-release
Advanced tools
A simple NodeJS script to help make npm releases.
npm install --save-dev shelljs-release
Also, make sure your primary/main branch has upstream-tracking set-up:
# Assuming your primary branch is named 'main':
git push --set-upstream origin main
Now, add some scripts to package.json like so:
"scripts": {
"test": "... whatever you had here before ...",
"release:major": "shelljs-release major",
"release:minor": "shelljs-release minor",
"release:patch": "shelljs-release patch"
},
Alright, you're good to go!
If you made some commits to your project and now want to release a new update,
with a bump in the patch number (i.e. from v1.2.6 to v1.2.7), run this
command:
$ npm run release:patch
This will:
Cool!
Similarly, if you want to jump from v1.2.6 to v1.3.0, or from v1.2.6 to
v2.0.0, you can run npm run release:minor or npm run release:major
respectively.
Newer versions of npm support Two Factor Authentication (2FA) for added security. We've added support passing OTPs on the commandline:
$ npm run release:patch -- --otp=123456
$ # Substitute "123456" for your actual OTP from a supported app.
FAQs
A handy release script, using shelljs
The npm package shelljs-release receives a total of 1,206 weekly downloads. As such, shelljs-release popularity was classified as popular.
We found that shelljs-release 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
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.