iam-deceptive-escalation-auditor

Audit AWS IAM principal policies for cross-statement privilege escalation paths.

17|Updated May 15, 2026
One-click install
npx skills add https://github.com/anyshift-io/sre-skills --skill iam-deceptive-escalation-auditor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: iam-deceptive-escalation-auditor
Source: https://github.com/anyshift-io/sre-skills/tree/main/skills/iam-deceptive-escalation-auditor
Command: npx skills add https://github.com/anyshift-io/sre-skills --skill iam-deceptive-escalation-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

IAM policies often contain privilege escalation paths that only emerge when combining multiple statements or attached policies. Single-statement reviews miss these deceptive combos, while naive audits over-flag neutralised grants. This skill encodes a proven SRE methodology to catch real escalation paths and correctly identify when apparent dangers are already capped by Denies, scopes, broken trusts, or permission boundaries.

Core Features & Use Cases

  • Cross-policy escalation detection: Identifies privilege escalation combos that span multiple attached policies, such as iam:PassRole in one policy combined with a compute-launch action in another.
  • Deceptive-clean recognition: Correctly identifies when apparent escalations are neutralised by explicit Denys, resource scoping, broken trusts, sealed conditions, or permission boundaries.
  • Wildcard grant analysis: Flags dangerous wildcard patterns including Action '' on Resource '', Allow+NotAction, and service-level wildcards with accurate severity ranking.
  • Trust policy exposure check: Detects open trust policies with wildcard principals lacking narrowing conditions like aws:PrincipalOrgID or sts:ExternalId.

Quick Start

Use the iam-deceptive-escalation-auditor skill to audit an AWS IAM principal by providing all its attached policy documents and asking it to identify any privilege escalation paths, over-broad grants, or whether an apparent escalation is already neutralised.

Frequently Asked Questions about iam-deceptive-escalation-auditor

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

FAQPage Schema
How do I detect AWS IAM privilege escalation paths across multiple policies?▼

IAM privilege escalation paths often emerge when combining multiple statements or attached policies. Auditing these principal policies resolves effective permission sets to identify cross-statement escalation combos that single-policy reviews miss.

What is the best way to check if an IAM wildcard grant is actually neutralized?▼

IAM privilege escalation audits classify wildcard grants and identify when apparent dangers are already capped by explicit Denys, resource scoping, broken trusts, sealed conditions, or permission boundaries to prevent over-flagging neutralised grants.

How do I audit IAM trust policies for open wildcard principals?▼

IAM trust policy exposure checks detect open policies with wildcard principals. The audit specifically looks for missing narrowing conditions like aws:PrincipalOrgID or sts:ExternalId to identify unsecured cross-account access.

Can I use this audit for incident response investigations involving IAM identity compromise?▼

IAM privilege escalation audits support incident response investigations involving identity compromise. The skill resolves effective permission sets across all attached policies to identify cross-statement escalation combos during security reviews.

Why does my IAM policy audit over-flag neutralized privilege escalations?▼

IAM policy audits over-flag neutralised escalations when reviewing statements in isolation. Applying a methodology that resolves effective permission sets across all attached policies correctly identifies when apparent dangers are capped by Denys or boundaries.