
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.
systemd-notify
Advanced tools
Notify systemd about start-up completion and other daemon status changes
Notify systemd about start-up completion and other daemon status changes.
npm install systemd-notify
systemd-notify supports both callbacks and promises.
notify(opts = {}, [callback]);
const notify = require('systemd-notify');
const opts = {
ready: true,
status: 'Ready to go',
pid: 1337
};
/**
* Callback
*/
notify(opts, (err) => {
/* Done */
});
/**
* Promise
*/
notify(opts).then(() => {
/* Done */
}).catch((err) => {
/* Err */
});
/**
* Async-await
*/
async function() {
try {
await notify(opts);
}
catch (e) {
/* Err */
}
}
For more information about the options, consult with the man-page: https://www.freedesktop.org/software/systemd/man/systemd-notify.html
v1.0.0 (2019-07-13)
added Tests and CircleCIbreaking Remove support for Node v4 and v6fixed Possible race condition when not providing pidFAQs
Notify systemd about start-up completion and other daemon status changes
The npm package systemd-notify receives a total of 56 weekly downloads. As such, systemd-notify popularity was classified as not popular.
We found that systemd-notify 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.