
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
aws-elb-utils
Advanced tools
A few utilities to let an AWS EC2 instance figure out whether it is the only instance (or 'first' instance) on a Load Balancer. The main purpose if to make it easy to ensure that single instances of a worker process can be run in an installation as servers get added and taken down.
npm install aws-elb-util
var awsUtil = require('aws-elb-utils');
Configure through config file, which must include owner_id. AWS accessKeyId and secretAccessKey can be in config file or in environment variables AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY.
awsUtil.configure(configFilename);
awsUtil.onEC2 (function (err, onEC2) {
;
});
awsUtil.getInstanceId (function (err, instanceId) {
;
});
awsUtil.getLoadBalancers (configObject, function(err, loadBalancers)) {
;
});
awsUtil.amIFirst(function (err, primary, loadBalancer) {
// primary is a boolean
// load balancer is the name of the load balancer
// or
// -1 (Running on EC2 but not under a load balancer)
// or
// -2 (Not running on EC2)
});
awsUtil.handlePromotionDemotion(
function onPromotionToPrimary() {},
function onDemotionFromPrimary() {}
);
FAQs
Utilties for querying AWS ELB
We found that aws-elb-utils 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.