
Research
/Security News
Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain Campaign
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.
redis-clustering-client
Advanced tools
A client for communicating with a Redis Cluster via the cluster's Sentinel applications.
A client for communicating with a Redis Cluster via the cluster's Sentinel applications.
This module abstracts away the concept of a cluster to allow users to connect to
the cluster master regardless of any failovers that have occurred since the last
connection.
You also have the option of connecting to a random slave of the cluster as well.
A simple example:
var Sentinel = require('./redis-sentinel.js');
// Initialize to use all known Sentinels
Sentinel.init('mymaster',
[
{ host:'localhost', port:26379},
{ host:'192.168.1.1', port:26379},
{ host:'anotherHost', port:26380}
], ready);
function ready(err) {
if (err) {
console.log('ERROR: ' + err);
return;
}
// Connect to the cluster master and set a value
Sentinel.command('set', ['clustering', 'is cool!']);
// Connect to a random slave and get a hash value
Sentinel.command('hget', ['fuster', 'cluck'], function(err, resp) {
if (err) {
console.log('ERROR: ' + err);
return;
}
console.log(resp);
}, true);
}
###cluster.init(cluster, sentinelArray, [callback]) Provide an ordered array of sentinels to use for connections. A connection to the reported Master Redis server is also established as a check.
cluster: the name of the Redis Cluster in sentinel.conf (default: mymaster)sentinelArray: an array of objects describing each Redis Sentinel to attempt
a connection with. [{host:"localhost", port:26379}]
callback([err]): called when test connection to master is completed or an error
occurs###cluster.command(cmd, args, [callback, slave])
Send a Redis command to the cluster master (or slave if slave == true) and
receive the response.
cmd: redis command to executeargs: array of arguments to the commandcallback(err, [res]): response from the redis serverslave: boolean - if true send command to a random slavecluster: mymastersentinels: [{host:"localhost", port:26389}]
FAQs
A client for communicating with a Redis Cluster via the cluster's Sentinel applications.
We found that redis-clustering-client 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
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Research
/Security News
Docker and Socket have uncovered malicious Checkmarx KICS images and suspicious code extension releases in a broader supply chain compromise.

Product
Stay on top of alert changes with filtered subscriptions, batched summaries, and notification routing built for triage.