
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
carcass-monitor
Advanced tools
A simple wrap of forever-monitor, in Carcass style.
This is only meant to be used in tests where you need to start and stop some scripts easily. For production, use forever or equivalent.
In a Mocha test:
var Monitor = require('carcass-monitor');
describe('Something:', function() {
var monitor = new Monitor();
before(function(done) {
/**
* Each stack will be started with an instance of forever Monitor, in
* the syntax of:
*
* `new forever.Monitor('something', {...other_options...});`
*/
monitor.stack({
script: 'something',
sourceDir: 'somewhere',
options: ['some', 'options']
}).stack(...).start(done);
});
after(function(done) {
monitor.close(done);
});
...
});
var monitor = new Monitor([id])
ID is optional; defaults to a random string.
monitor.stack(options)
Returns the monitor itself so it's chain-able. options is an object and will be used to instantiate a forever.Monitor, with options.script as the first argument, and the others as the second. See forever-monitor's document for details.
Can be used multiple times to add multiple items.
monitor.start(done)
Starts all the items; returns the monitor itself.
monitor.close(done)
Closes (stops) all the items; returns the monitor itself.
FAQs
(Node.js) A simple wrap of forever-monitor, in Carcass style.
The npm package carcass-monitor receives a total of 1 weekly downloads. As such, carcass-monitor popularity was classified as not popular.
We found that carcass-monitor 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.