cloud-iam-review

Analyzes cloud IAM policies and IaC definitions for excessive permissions, privilege escalation paths, and public exposure across AWS, GCP, and Azure.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill cloud-iam-review-salmanabdurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-iam-review
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/cloud-iam-review
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill cloud-iam-review-salmanabdurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical challenge of identifying over-privileged identities and misconfigured access policies in cloud environments without requiring write access or risking accidental resource modification.

Core Features & Use Cases

  • Policy Analysis: Automatically scans IAM policies, IaC templates, and cloud metadata for wildcard actions, privilege escalation paths, and public exposure.
  • Stale Identity Detection: Identifies unused users, roles, and access keys to help maintain a clean and secure identity perimeter.
  • Use Case: Security teams can use this to perform a non-destructive audit of AWS, GCP, or Azure environments to ensure compliance with least-privilege principles before a production deployment.

Quick Start

Use the cloud-iam-review skill to analyze the provided Terraform files and IAM policy exports for potential security misconfigurations.

Frequently Asked Questions about cloud-iam-review

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

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

Cloud IAM policy auditing identifies excessive permissions, privilege escalation paths, and public exposure by analyzing IAM policy exports and infrastructure-as-code definitions. It validates security posture without modifying live resources or requiring write access.

Can I use infrastructure as code templates to detect public exposure in AWS, GCP, or Azure environments?

Analyzing infrastructure-as-code templates and cloud metadata detects public exposure and security misconfigurations across AWS, GCP, and Azure environments. This approach supports security audits and compliance reviews without requiring write access to live resources.

Does this cloud security audit require write access to my live cloud resources?

This cloud security audit requires only read-only access to policy exports or cloud metadata to perform comprehensive posture validation. It is non-destructive and will not modify your live resources during the compliance review.

What is the best way to detect stale identities and unused access keys during a compliance review?

Detecting stale identities involves scanning cloud metadata and IAM policy exports to identify unused users, roles, and access keys. This maintains a clean identity perimeter and enforces least-privilege compliance during security audits.

How do I check Terraform files for potential security misconfigurations before production deployment?

Checking Terraform files for security misconfigurations involves running an IAM policy analysis to scan for wildcard actions and privilege escalation paths. This validates least-privilege compliance before production deployment without modifying live resources.