Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
get-iam-creds
Advanced tools
If you're running inside EC2, you can use instance metadata (IMD) to fetch temporary credentials from IAM, instead of keeping secrets inside your EC2 instances.
This module does that, and returns the creds in the format expected
by awssum: { accessKeyId, secretAccessKey, token }
.
Note: fetching the region is kinda brittle, so you may optionally pass the region in as the second argument. If it's not passed in, then we'll get the availability zone from IMD, shave off the last char, and use that. If you only use one region, there's no need to do that API hit anyway.
new CloudWatch({accessKeyId: 'foo', secretAccessKey: 'bar', region: 'baz'})
var getIamCreds = require('get-iam-creds');
getIamCreds(function(err, creds) { new CloudWatch(creds) });
getIamCreds(function(err, creds) { new CloudWatch(creds) }, 'us-west-2');
FAQs
Tiny module to fetch IAM creds from IMD
The npm package get-iam-creds receives a total of 0 weekly downloads. As such, get-iam-creds popularity was classified as not popular.
We found that get-iam-creds 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.