More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    AWS IAM Policy Check

    1

    One wildcard in an IAM policy can turn a CI token into a full administrator, and one missing condition on a GitHub Actions role lets any workflow on github.com assume it.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    AWS IAM Policy Check

    AWS IAM Policy Check

    Example session with this skill installed

    Check this project with aws-iam-policy-check.

    • Read your context and instructions
    • Compiled the aws iam policy

    $ python3 scripts/check_iam.py examples/risky
    BLOCK policies/bucket-policy.json:14 I02 PUBLIC_PRINCIPAL
    "Principal": {"AWS": ""},
    Why: The statement allows Principal "
    " (anyone, in any AWS account or none) and no condition limits it to your account, organization, VPC or source. Anyone on the internet can use these actions.
    Safer: Name the exact principals (account, role or service), or add a condition such as aws:SourceAccount, aws:SourceArn or aws:PrincipalOrgID. A condition on aws:SecureTransport alone does not limit who can call.

    BLOCK policies/ci-deploy-policy.json:7 I01 FULL_ADMIN
    BLOCK policies/ci-deploy-policy.json:13 I03 PRIVILEGE_ESCALATION
    BLOCK template.yaml:13 I04 OPEN_WEB_IDENTITY_TRUST
    REVIEW policies/bucket-policy.json:7 I13 PUBLIC_READ
    REVIEW policies/ci-deploy-policy.json:19 I11 SERVICE_WILDCARD
    REVIEW policies/ci-deploy-policy.json:25 I15 READS_EVERY_SECRET
    REVIEW policies/ci-deploy-policy.json:31 I12 ALLOW_WITH_NOT_ACTION
    REVIEW template.yaml:26 I14 CROSS_ACCOUNT_TRUST_NO_CONDITION

    (Each finding also has Why and Safer lines, as in the first one.)
    Verdict: BLOCK. Checked 3 files, 3 with IAM policy content.
    This is a static check of file text. NOT FLAGGED is not a guarantee.

    BLOCK template.yaml

    Connects securely to your tools. The creator never sees your data.

    About this skill

    One wildcard in an IAM policy can turn a CI token into a full administrator, and one missing condition on a GitHub Actions role lets any workflow on github.com assume it. This skill finds those and seven other IAM mistakes before you deploy, and tells you how to fix each one.

    Your agent runs a scanner on your policy files: standalone policy JSON, S3 bucket and KMS key policies, role trust policies, CloudFormation and SAM templates in YAML or JSON, CDK output and policies kept as JSON strings (Terraform .tf.json). It understands CloudFormation tags such as !Ref, !Sub and !If, IAM wildcards in actions (iam:Put*) and case-insensitive names. It never calls AWS. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach.

    What it checks

    BLOCK

    • I01: every action ("*") on every resource, or AdministratorAccess attached
    • I02: Principal "*" with no condition that limits who can call
    • I03: privilege escalation (iam:PassRole, iam:AttachRolePolicy, iam:CreatePolicyVersion and similar) on every role or user
    • I04: a GitHub Actions, GitLab, EKS or Cognito trust with no sub or aud condition

    REVIEW

    • I11: a whole-service wildcard such as s3:* or dynamodb:*
    • I12: Allow with NotAction or NotResource
    • I13: Principal "*" reading objects (a public bucket)
    • I14: a whole AWS account trusted with no condition (no sts:ExternalId)
    • I15: secretsmanager:GetSecretValue, ssm:GetParameter or kms:Decrypt on every resource

    What's included

    • The scanner (Python 3.9+, standard library only)
    • A rules guide with the reason and safer approach for each rule
    • Risky and safe example policies and CloudFormation templates, and the real report the scanner produces on the risky ones

    Limits It reads policy text as written, so it does not compute effective permissions: permission boundaries, SCPs, values built by CloudFormation functions and Terraform HCL (.tf) files are not evaluated. NOT FLAGGED is not a guarantee.

    Static check of policy text. Effective permissions, SCPs, permission boundaries and Terraform HCL files are not evaluated. NOT FLAGGED is not a guarantee.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Permissions

    Terminal / Shell
    Read Files

    Runs one local Python script in the terminal. It reads your project's files, writes nothing, and makes no network calls. The example files use AWS documentation account IDs (123456789012, 111122223333) and are inert.

    Listed7 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    No. The script reads local files only and makes no network calls.

    No. It only reports. Your agent changes files only if you ask it to.

    Any agent that supports SKILL.md skills and can run a terminal command, such as Claude Code. It needs Python 3.9 or newer and nothing else.

    No. It reads your policy files and templates as text. It never calls AWS, uses no credentials and does not need the AWS CLI.

    BLOCK: fix it before you ship. REVIEW: check it before release. NOT FLAGGED: no rule matched. It is a static check, so NOT FLAGGED is not a guarantee.

    New in DevOps & Cloud