
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
This is work in progress, use at YOUR own risk.
Inter-process communication (IPC) for Node.js, designed for easy communication between two remote JavaScript processes.
Features include:
.emit and listen .on events.router.emit('event', 'data', callback).router.on('event', callback).RouterBuffered buffers outgoing messages for few milliseconds, then sends a bulk packet. This allows to combine many small messages into one.TCP).JSON and MsgPack).For examples see ./examples folder, here is one:
var nmsg = require('nmsg');
var config = {
host: '127.0.0.1',
port: 8081
};
var server = new nmsg.server.factory.Tcp(config);
var client = new nmsg.client.factory.Tcp(config);
server.start().on('start', function() { console.log('Server started.'); });
client.start();
server.on('socket', function(socket) {
socket.router.on('ping', function() {
console.log('Ping received!');
});
});
console.log('Sending ping.');
client.router.emit('ping');
In this example we send the ping event even before the server has been started, yet the event is received, here is console output:
Sending ping.
Server started.
Ping received!
TypeScript type definitions available in ./nmsg.d.ts.
Getting started:
npm run start
Testing
npm run test
Generate nmsg.d.ts typing file:
npm run typing
FAQs
Interprocess messenger for Node.js
The npm package nmsg receives a total of 1 weekly downloads. As such, nmsg popularity was classified as not popular.
We found that nmsg 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.