
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
zmq-xpub-xsub
Advanced tools
Central hub for ZeroMQ that allows 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
const options = {
baseAddress: 'tcp://127.0.0.1',
xSubPort: 8000,
xPubPort: 8001
}
// Subscriber
const subscriber = zmq.socket('sub');
subscriber.connect(`${options.baseAddress}:${options.xPubPort}`);
subscriber.on('message', (key, message) => {
console.log('Message is recived:', key, message);
}));
// Publisher
const publisher = zmq.socket('pub');
publisher.connect(`${options.baseAddress}:${options.xSubPort}`);
publisher.send(['key', 'message'])
FAQs
Central hub for ZeroMQ
The npm package zmq-xpub-xsub receives a total of 13 weekly downloads. As such, zmq-xpub-xsub popularity was classified as not popular.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.