
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
bauer-cluster
Advanced tools
Multi-process development library.
npm install bauer-cluster
var Cluster = require("bauer-cluster").Cluster;
var myCluster = new Cluster();
// executed when in main process
myCluster.master(function() {
this === myCluster // true
this.isMaster; // true
this.isWorker; // false
var worker = this.fork("one","two");
worker.args; // ["one","two"]
worker.process; // child process produced by fork
worker.on("message",function(message) {
if (message.pong) {
worker.send({ ping: true });
}
});
worker.send({ ping: true });
});
// executed when in child process
myCluster.worker(function(worker) {
this === myCluster // true
this.isMaster; // false
this.isWorker; // true
worker.args; // ["one","two"]
worker.process; // global process object
worker.on("message",function(message) {
if (message.ping) {
worker.send({ pong: true });
}
});
});
myCluster.start();
Cluster
new Cluster() :Cluster
.getWorkerArgsOffset() :Number
.require(name String) :void
.master(callback Function) :void
.worker(callback Function) :void
.start() :void
.fork(arg0, arg1, ...) :Worker
.removeWorker(worker Worker) :void
.createWorker(uuid String, args Array) :Worker
.createWorker(uuid String, args Array, process Object) :Worker
Worker
new Worker(cluster Cluster, uuid String, args Array, process Object) :Worker
.setupProcess(proc) :void
.require(name String) :void
.kill(signal Number) :void
.die(reason Number|Error) :void
.send(message Object) :void
.receive(message Object) :void
FAQs
Just another cluster library.
The npm package bauer-cluster receives a total of 1 weekly downloads. As such, bauer-cluster popularity was classified as not popular.
We found that bauer-cluster 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.