Skill / SKILL.md

Iam Deceptive Escalation Auditor

anyshift-io/sre-skills

Privilege-escalation audit skill for one AWS IAM principal. Takes every permissions policy attached to a role or user (plus the trust policy and permissions boundary if supplied), resolves the effective permission set across all of them, an
3 views 17 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Privilege-escalation audit skill for one AWS IAM principal. Takes every permissions policy attached to a role or user (plus the trust policy and permissions boundary if supplied), resolves the effective permission set across all of them, and answers

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/anyshift-io/sre-skills' skill-source

Use the complete skill-source/skills/iam-deceptive-escalation-auditor directory with your client’s skill installer.

  • skills/iam-deceptive-escalation-auditor

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/iam-deceptive-escalation-auditor

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
43 included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
a4ccde7abff6f8f9456503abf4c294a650f9799c0efb703ff7ce8124386e0f82
Format validation findings
  • Invalid YAML: A colon cannot be used in an unquoted mapping value at line 2 (near "description: Audit the union of every IAM policy attached to one principal for privilege-escalation paths that no single statement reveals, and for apparent escalations that are already neutralised. Resolves the effective permission set across all attached policies (Allow minus blanket Deny), then checks the cross-statement escalation combos (iam:PassRole + a compute-launch action, policy-rewrite-in-place, function-code hijack, self-attach admin, trust-policy rewrite + assume, credential minting for another identity), the wildcard grants (Action '*' on Resource '*', service-level wildcards, Allow+NotAction), and the trust-policy exposure. Its discipline is symmetric: it does NOT flag a PassRole combo killed by an explicit Deny, an Action '*' pinned to one bucket, an sts:AssumeRole whose target does not trust back, a mutation kit capped by a permissions-boundary Deny, or a cross-account assume sealed by an unsatisfiable Condition. Reports findings with severity and a fix, then names what a single principal's policies cannot answer (the privileges of a passed/assumed role, the permissions boundary, the org SCPs). Use when asked to audit an IAM policy, role, or user for escalation, over-broad grants, or "can this principal become admin." Vendor-neutral; runs offline against the policy JSON with no Anyshift account.").
  • Invalid or missing name.
  • Declared name does not match the source directory.
  • Invalid or missing description.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills