iam

Diagnose AWS IAM access-control weaknesses and validate least-privilege policies.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/aurainfosec/cloud-review-automation-poc --skill iam-aurainfosec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iam
Source: https://github.com/aurainfosec/cloud-review-automation-poc/tree/main/skills/iam
Command: npx skills add https://github.com/aurainfosec/cloud-review-automation-poc --skill iam-aurainfosec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AWS IAM permissions are easy to misconfigure, leading to overly broad access, broken trust relationships, and confusing access-denied failures that waste time during audits and incident response.

Core Features & Use Cases

  • Identity and policy guidance: Apply least-privilege patterns for users, roles, and managed or inline policies, including cross-account access with External IDs.
  • Trust relationship troubleshooting: Diagnose why roles cannot be assumed by checking trust policies, required permissions, and common failure causes.
  • Service-Linked Role (SLR) security auditing: Identify indirect privilege escalation paths and evaluate SLR creation risks and ABAC/tag collision concerns.

Quick Start

Ask for an IAM-focused audit by saying: "Check whether my IAM role trust policy and attached permissions follow least privilege and whether any Service-Linked Role (SLR) abuse paths could create indirect privilege escalation, and list the specific evidence to verify with AWS CLI."

Frequently Asked Questions about iam

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot AWS IAM AssumeRole or AccessDenied failures?

Troubleshoot AWS IAM AssumeRole or AccessDenied failures by validating trust policy requirements, checking required permissions, and identifying common failure causes using AWS CLI-verifiable evidence.

What is the best way to audit AWS IAM roles for least privilege and cross-account access?

Audit AWS IAM least privilege and cross-account access by applying identity and policy guidance to users, roles, and managed or inline policies, including verifying External IDs for cross-account trust relationships.

How do Service-Linked Roles create indirect privilege escalation paths in AWS?

Service-Linked Roles create indirect privilege escalation paths in AWS when SLR creation risks and ABAC tag collisions allow unauthorized access, requiring specific SLR security auditing to identify and remediate.

Can I use this to validate IAM trust relationships and policy conditions?

You can validate IAM trust relationships and policy conditions by checking trust policies, required permissions, and IAM condition or policy-pattern considerations, grounding findings in AWS CLI-verifiable evidence.

Why does my IAM role trust policy prevent cross-account access?

Your IAM role trust policy prevents cross-account access when trust relationships lack the correct External ID or required permissions, which you can diagnose by checking common trust policy failure causes.

What AWS CLI evidence is needed to verify IAM permission troubleshooting findings?

AWS CLI evidence needed to verify IAM permission troubleshooting findings includes trust-policy requirements, IAM condition patterns, and policy attachments that confirm least-privilege design and cross-account authorization.