IAMShield: AWS/GCP IAM Wildcard & Privilege Pruner

    by AllAccessData

    1

    Scans IAM policy JSON locally for wildcard grants and over-broad resource scopes, and rewrites them down to the actions and ARNs actually used - as a reviewable diff, not an applied change.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    About this skill

    IAMShield: AWS/GCP IAM Wildcard & Privilege Pruner "Action": "*" gets written during an incident at 2am and stays for three years. This finds those and proposes what should replace them.

    Built for DevOps, SRE and security teams tightening cloud permissions. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

    What's included:

    • Wildcard detection: action and resource wildcards found across your policy set, ranked by what they actually grant rather than by how they look.
    • Scoped rewrites: policies narrowed to the specific actions and resource ARNs in use, written out as JSON you can diff and review.
    • Local analysis: the AWS policy validator and JSON parsing run on your machine. Your policy documents do not leave it, which matters because a policy set is a map of your infrastructure.
    • Reviewable output: a proposed policy and the reasoning per change, not an applied modification.
    • Credentials are read from environment variables and never printed or stored.

    Treat every pruned policy as a production change, because that is what it is.

    A policy derived from observed usage covers only the code paths that ran during the observation window. The access that breaks is the quarterly billing job, the disaster recovery runbook, the backup restore nobody has needed since last year, and the break-glass role you hope never to use. Collect usage over a long window - ninety days is a reasonable floor, and longer if you have annual processes - and never prune the emergency access role to match its usage, because its usage is zero by design.

    One analysis limit worth understanding: effective permissions are not what a single policy document says. They are the intersection of identity policies, permission boundaries, service control policies, session policies and resource policies, with condition keys on top. A policy that reads as alarmingly broad may already be constrained by an SCP, and one that reads as tight may be widened by a resource policy granting cross-account access. Confirm with IAM Access Analyzer or the policy simulator against the real account before you conclude anything from the JSON alone.

    Roll out in stages, keep the previous version, and have a path to restore access quickly when something you did not predict stops working.

    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 buying a skill.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Accounts
    OpenAI

    Permissions

    Network Access
    Environment Variables
    Read Files
    Terminal / Shell

    Allowed Hosts

    api.openai.com

    This skill calls OpenAI GPT-4o-mini (paid). 1 of these is billed by its provider, not by us; you supply the account. It reads OPENAI_API_KEY from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local AWS Policy Validator, Local JSON Parser. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.

    Listed14 days ago
    Updated6 days ago

    What's inside

    Frequently Asked Questions

    Scans IAM policy JSON locally for wildcard grants and over-broad resource scopes, and rewrites them down to the actions and ARNs actually used - as a reviewable diff, not an applied change.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use IAMShield: AWS/GCP IAM Wildcard & Privilege Pruner on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.