
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
assumer-cli
Advanced tools
Assume IAM roles between AWS accounts
npm i -g assumer-cli
❯ assumer --help
Assume IAM roles between AWS accounts
Usage
$ assumer
$ assumer <flags>
Required Flags
-a, --target-account Target Account Number
-r, --target-role Target Account Role
-A, --control-account Control Account Number
-R, --control-role Control Account Role
Optional Flags
-u, --username An AWS IAM username (defaults to system user name)
-g, --gui Open a web browser to the AWS console with these credentials
-t, --token MFA Token (you will be interactively prompted)
--check Check for new versions
Example
$ assumer # interactive mode
$ assumer -a 111111111111 -r target/role -A 123456789012 -R control/role
$ assumer -a <target-account> -r <target-role> -A <control-account> -R <control-role>
$ assumer
assumer-cli:
$ assumer --check

If you want to use the CLI in interactive mode, assumer expects a config file called .assumer.json in your home directory.
Sample configuration:
{
"control": {
"accounts": [
{
"name": "Control Account",
"value": "123456789012"
}
],
"roles": [
{
"name": "Deploy Admin",
"value": "deployment/admin"
},
{
"name": "Super Admin",
"value": "security/admin"
},
{
"name": "Read Only",
"value": "read/only"
}
]
},
"target": {
"roles": [
{
"name": "Deploy Admin",
"value": "deployment/admin"
},
{
"name": "Super Admin",
"value": "security/admin"
},
{
"name": "Read Only",
"value": "read/only"
}
],
"accounts": [
{
"name": "target-account-1",
"value": "111111111111"
},
{
"name": "target-account-2",
"value": "222222222222"
}
]
}
}
See sample config file for reference.
MIT © Peter Benjamin
FAQs
Assume IAM roles between AWS accounts
The npm package assumer-cli receives a total of 21 weekly downloads. As such, assumer-cli popularity was classified as not popular.
We found that assumer-cli 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.