iam-privilege-escalation-audit

Audit cloud IAM policies for privilege escalation vectors across AWS, GCP, and Azure.

1|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/abhijeetkakade1234/skills --skill iam-privilege-escalation-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iam-privilege-escalation-audit
Source: https://github.com/abhijeetkakade1234/skills/tree/main/security-audit-orchestrator/specialized/iam-privilege-escalation-audit
Command: npx skills add https://github.com/abhijeetkakade1234/skills --skill iam-privilege-escalation-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies critical security gaps in cloud IAM configurations where low-privilege identities can escalate to administrative access, preventing unauthorized lateral movement and account takeover.

Core Features & Use Cases

  • Escalation Path Mapping: Detects dangerous combinations like PassRole abuse, wildcard permissions, and shadow-admin policy edits across AWS, GCP, and Azure.
  • Triage and Remediation: Provides a structured methodology to rank findings by reachability and exploitability, ensuring security teams focus on the most critical risks first.
  • Use Case: Use this during a security review of Terraform IaC or existing cloud policies to identify if a CI/CD service account has the ability to grant itself owner permissions or assume privileged roles.

Quick Start

Use the iam-privilege-escalation-audit skill to scan the provided IAM policy JSON file for wildcard actions and PassRole vulnerabilities.

Frequently Asked Questions about iam-privilege-escalation-audit

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

FAQPage Schema
How do I audit cloud IAM policies for privilege escalation paths?

To audit cloud IAM policies for privilege escalation, analyze identity permissions, trust policies, and role assignments to detect reachable paths to administrative control across AWS, GCP, and Azure. This validates configurations against least-privilege principles.

What is a PassRole abuse vulnerability in AWS IAM?

PassRole abuse in AWS IAM is a privilege escalation vector where a low-privilege identity uses wildcard permissions to pass a privileged role to another resource. Auditing detects these dangerous combinations to prevent unauthorized lateral movement.

Can I use this skill to scan Terraform IaC for shadow-admin policy edits?

Yes, you can scan Terraform IaC or existing cloud policies to identify if a CI/CD service account has the ability to grant itself owner permissions, assume privileged roles, or make shadow-admin policy edits across AWS, GCP, and Azure.

How do I rank IAM privilege escalation findings by exploitability?

Rank IAM privilege escalation findings by exploitability using a structured triage methodology that evaluates reachability and exploitability. This ensures security teams focus on the most critical security misconfigurations and apply remediation strategies first.

Does this IAM audit support GCP and Azure or just AWS environments?

This IAM audit supports GCP and Azure environments alongside AWS. It analyzes identity permissions and role assignments across all three cloud providers to detect privilege escalation vectors and validate least-privilege configurations.

What is the best way to remediate wildcard permissions in cloud IAM?

The best way to remediate wildcard permissions in cloud IAM is to apply the provided remediation strategies that validate configurations against least-privilege principles, replacing broad access with explicit permissions to block administrative control paths.