
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Node.js library for implementing supervisord event listeners.
Requires Node.js 6+
supervisord implements an event API
for listening to changes in state for the processes it manages. crony
is an
EventEmitter that lets us do stuff with those events in JavaScript.
const crony = require('crony');
crony.on( 'event', ev => {
// Global event handler
// token set for the event headers
console.log(`Headers: ${ ev.headers }`);
// token set for the event payload
console.log(`Payload: ${ ev.payload }`);
// If there was an event body, we pass that along, otherwise its undefined
console.log(`Body: ${ ev.body }`);
// We also preserve the raw event string
console.log(`Raw: ${ ev.raw }`);
});
// Additionally, we can also listen to specific events
crony.on( 'PROCESS_STATE_RUNNING', ev => {
// ...
});
// Start listening for events
crony.listen();
# Install dependencies
nvm install
npm install
# Run the linter and tests
npm test
FAQs
Node.js library for implementing supervisord event listeners
The npm package crony receives a total of 1 weekly downloads. As such, crony popularity was classified as not popular.
We found that crony demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.