
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
shellraiser
Advanced tools
Raise shell in node, inspired by shellblazer but gives you access to the process itself.
npm i --save shellraiser
const sh = require('shellraiser')
await sh('ls')
await sh('npm', ['i -S shhh'])
await sh('curl', ['https://github.com'], { stdio: 'inherit' })
shhh ls
shhh npm i -S shhh
The sh function spawns a process, it is essentially a thin wrapper around const { spawn } = require('child_process')
Spawn a process that executes cmd with args given opts.
The arguments to sh are the same as spawn.
Optionally, you can await completion of the process with await sh(cmd, args, opts).
Just like Promise's .then().
Just like Promise's .catch().
Forcibly resolve the underlying promise with an arbitrary value, automatically cleans up the underlying process.
Forcibly reject the underlying promise with an arbitrary value, automatically cleans up the underlying process.
The underlying process object.
The underlying promise.
FAQs
We found that shellraiser 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.