— No reviews yet
0 installs
18 views
0.0% view→install
Install
$ agentstack add skill-mingyiseclab-mingyi-atlas-aws-iam-enum ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Aws Iam Enum? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
AWS IAM Enumeration + Privesc
1. Identity check
aws sts get-caller-identity
aws iam get-account-summary
2. Attached policies
aws iam list-attached-user-policies --user-name ME --output json > /tmp/attached.json
aws iam list-user-policies --user-name ME --output json > /tmp/inline.json
aws iam list-groups-for-user --user-name ME --output json > /tmp/groups.json
For each attached policy ARN:
aws iam get-policy --policy-arn ARN --query 'Policy.DefaultVersionId'
aws iam get-policy-version --policy-arn ARN --version-id VID > /tmp/policy.json
Then:
iam_policy_audit(open("/tmp/policy.json").read())
3. Check each privesc primitive
Rhino Security's canonical 21 paths — any Allow on these is a chain step:
- iam:CreateAccessKey (other user)
- iam:CreateLoginProfile
- iam:UpdateLoginProfile
- iam:AttachUserPolicy / iam:AttachGroupPolicy / iam:AttachRolePolicy
- iam:PutUserPolicy / iam:PutGroupPolicy / iam:PutRolePolicy
- iam:CreatePolicyVersion (if SetAsDefault=true)
- iam:SetDefaultPolicyVersion
- iam:PassRole + lambda:CreateFunction + lambda:InvokeFunction
- iam:PassRole + ec2:RunInstances
- iam:PassRole + ecs:RunTask / UpdateService
- glue:CreateDevEndpoint / UpdateDevEndpoint
- cloudformation:CreateStack with iam:PassRole
- datapipeline:CreatePipeline
- lambda:UpdateFunctionCode (existing function with priv role)
- iam:AddUserToGroup
- iam:UpdateAssumeRolePolicy
- iam:CreateRole + sts:AssumeRole
- codebuild:CreateProject with iam:PassRole
- sagemaker:CreateTrainingJob with iam:PassRole
- aws-marketplace:Subscribe (rare, but noted)
- sts:AssumeRole (direct)
4. Graph promotion
kg_add_node(kind="vulnerability", label="IAM:CreateAccessKey → account takeover", props={"severity":"critical","source":"aws-iam"})
kg_add_node(kind="crown_jewel", label="AWS Account 1234")
kg_add_edge(src=, dst=, kind="grants", weight=0.3)
5. Common chains
- Dev user has
iam:PassRole+lambda:CreateFunction+ a Lambda role
with admin → create malicious Lambda → assume admin
iam:UpdateLoginProfile+sts:GetFederationToken→ temporary
console access as another user
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: MingyiSecLab
- Source: MingyiSecLab/Mingyi-Atlas
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.