iam-policy-analyzer

Analyze cloud IAM policies for over-permissive access and privilege escalation risks.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/webrix-ai/agent-skills --skill iam-policy-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iam-policy-analyzer
Source: https://github.com/webrix-ai/agent-skills/tree/main/skills/iam-policy-analyzer
Command: npx skills add https://github.com/webrix-ai/agent-skills --skill iam-policy-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security teams identify excessive permissions, stale identities, and dangerous trust relationships in cloud IAM policies before they become compliance gaps or escalation paths.

Core Features & Use Cases

  • Over-Privilege Detection: Finds wildcard actions, broad resource access, and policies that exceed documented needs.
  • Unused Role Review: Flags roles and identities with little or no activity so they can be reviewed or removed.
  • Privilege Escalation Analysis: Traces paths like assume-role chains, pass-role abuse, and self-modifying permissions.
  • Cross-Cloud Coverage: Supports AWS, GCP, and Azure IAM structures for audits, threat modeling, and migration reviews.

Quick Start

Ask the IAM Policy Analyzer to review the attached cloud IAM policies and return a risk-scored findings report with remediation recommendations.

Frequently Asked Questions about iam-policy-analyzer

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

FAQPage Schema
How do I find over-permissive IAM policies and privilege escalation risks in AWS, GCP, or Azure?

To find over-permissive IAM policies and privilege escalation risks, analyze cloud policies to detect wildcard actions, broad resource access, and dangerous assume-role chains. This process flags excessive permissions before they become compliance gaps or security breach paths.

What is the best way to check for unused cloud roles and least privilege violations during a compliance audit?

Checking for unused cloud roles and least privilege violations involves reviewing IAM identities with little or no activity and validating their permissions against documented needs. This flags stale roles for removal and ensures policies adhere to least privilege during compliance audits.

Can I analyze cross-account trust relationships and pass-role abuse across multiple cloud providers?

You can analyze cross-account trust relationships and pass-role abuse across AWS, GCP, and Azure by reviewing IAM structures for dangerous trust configurations. This traces escalation paths and identifies self-modifying permissions during threat modeling or migration reviews.

How do I generate a risk-scored IAM findings report with prioritized remediation guidance?

Generating a risk-scored IAM findings report with prioritized remediation guidance requires evaluating detected over-privilege and escalation risks, then assigning severity scores. This outputs a prioritized list of actionable recommendations to resolve each specific security finding.

Does IAM policy analysis work for breach exposure assessments and role migration planning?

IAM policy analysis works for breach exposure assessments and role migration planning by evaluating existing permissions across AWS, GCP, and Azure. It identifies excessive access and stale identities, providing the necessary risk scoring to safely plan role migrations and reduce attack surfaces.