Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bin-v8-flags-filter
Advanced tools
Filters out v8 flags for your Node.js CLIs.
Filters out well-known v8 flags given to your app and spawns new process with v8 flags passed to Node.js and the rest of the args passed to your actual CLI. Basically an extraction of related mocha code.
npm install bin-v8-flags-filter
In JS file specified as bin
in your package.json
:
const v8FlagsFilter = require('bin-v8-flags-filter');
const path = require('path');
const cliPath = path.join(__dirname, './cli.js'); // Path to your actual CLI file that contains app code.
v8FlagsFilter(cliPath);
v8FlagsFilter(path, [options])
path
- path to CLI script.options
- an optional object with the following optional keys:
ignore
- an array of v8 flags to ignore, i.e. to not filter-out when spawning a new process.forcedKillDelay
- a number of milliseconds after which to send a kill command to the spawned process, only after an interrupt has already been issued. Defaults to 30000
.useShutdownMessage
- rather than forwarding along interrupt signals to the spawned process, instead forwards a 'shutdown'
message to the spawned process.FAQs
Filters out v8 flags for your Node.js CLIs.
We found that bin-v8-flags-filter 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.