Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
zmq-xpub-xsub
Advanced tools
Central hub for ZeroMQ that allow multiple publisher and subscribers on same port.
zmq-xpub-xsub can be started directly from terminal or it can be required and started from hosted application. Host application can be used for purpose of deploying to different environments where host application will define deployment configuration.
const ZmqPs= require('zmq-xpub-xsub');
// Log xSubPort and XpubPort to console
ZmqPs.set('debug', true);
// zmq-xpub-xsub are launched and listening at provided ports
ZmqPS.run({ xSubPort: 8000, xPubPort: 8001 });
>> zqm-xpub-xsub --xSubPort 8000 --xPubPort 8001
// If we want to see ports on which xpub-xsub is listening we can provide --debug flag
>> zmq-xpub-xsub --debug
// Not required! used for example only
const zmq = require('zmq'); //https://github.com/JustinTulloss/zeromq.node
// Subscriber
const subscriber = zmq.socket('sub');
subscriber.connect('xpub-address');
subscriber.on('message', (key, message) => {
console.log('Message is recived:', key, message);
}));
// Publisher
const publisher = zmq.socket('pub');
publisher.connect('xsub-address');
publisher.send(['key', 'message'])
FAQs
Central hub for ZeroMQ
We found that zmq-xpub-xsub 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
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.