Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
consensus-manager
Advanced tools
###consensus-manager
####consensus wrapper for a distributed topology
The consensus manager listens and stores responses from remote peers until the consensus is reached. The consensus is reached depending on the strategy implemented.
The consensus manager controls:
The strategy defines:
####installation
sudo npm install consensus-manager
####example
Strategy = require('..')
ConsensusManager = require('ConsensusManager')
var strategy = new Startegy(strategy_opts)
var consensus = new ConsensusManager(strategy)
consensus.on('listening', function(){
//event fired when consensus manager is initialized
})
consensus.on('consensus', function(result, time_diff){
//event fired when consensus is reached
})
consensus.on('noListening', function(){
//event fired when a peer's response arrives but consensus has been reached
})
//init consensus manager
consensus.init// ... stuff happen, user sent a response
//...
//peer answers. consensus manager processes its response
consensus.process(response)
FAQs
consensus manager for a distributed topology
We found that consensus-manager 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.