Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
aws-sudo
Advanced tools
Readme
It is often necessary to require Multi Factor Authentication (MFA) when using AWS access tokens or performing certain CLI operations. AWS has documentation on how to do this by issuing expiring access keys using STS. The process is somewhat complex, so this CLI tool automates it for commands that don't have built in support
npm install -g aws-sudo
aws-sudo -h
Options:
--version Show version number [boolean]
--token, -t Token from your MFA device [string]
--duration, -d Seconds to issue the session token for, defaults to 12 hours
[number] [default: 43200]
-h Show help [boolean]
aws-sudo
will prompt you for a token and run your command with the mfa session's env variables set.
aws-sudo node ./list-buckets.js
# Token: 123456
2017-01-24 12:19:38 your-bucket-here
2017-01-24 12:19:38 your-other-bucket-here
The session credentials are cached and checked before running, you'll be prompted for a new code if they expire.
If you don't supply a command it will give you env vars you can eval
aws-sudo
# Token: 123456
AWS_ACCESS_KEY_ID=ABCDEF232423423; export AWS_ACCESS_KEY_ID;
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxx; export AWS_SECRET_ACCESS_KEY;
AWS_SESSION_TOKEN=xxxxxxxxxxxx; export AWS_SESSION_TOKEN
# to directly eval them
eval $(ssh-agent --token 123456)
FAQs
A CLI tool for loading temporary MFA associated keys from AWS
The npm package aws-sudo receives a total of 6 weekly downloads. As such, aws-sudo popularity was classified as not popular.
We found that aws-sudo 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.