More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Credential Scope Reduction & Access Readiness Review

    1

    Over-privileged service accounts and bloated token claims are silent security debts that lead to massive lateral movement during a breach.

    $2.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Credential Scope Reduction & Access Readiness Review

    Credential Scope Reduction & Access Readiness Review

    Example session with this skill installed

    We want to reduce an internal deployment service account from broad project-admin access to a smaller custom role. It deploys the API, reads one secret, updates two Cloud Run services, and writes release metadata. Two old scripts still use the same account, but nobody is sure whether they need storage access.

    • Read your context and instructions
    • Compiled the credential scope reduction

    NOT READY

    Case analyzed

    We want to reduce an internal deployment service account from broad project-admin access to a smaller custom role. It deploys the API, reads one secret, updates two Cloud Run services, and writes release metadata. Two old scripts still use the same account, but nobody is sure whether they need storage access.

    The supplied facts are sufficient to perform a concrete readiness review for this case. No repository, production, vendor, or legal access is assumed.

    Verified evidence

    • VERIFIED: The deployment account currently has broad project-admin access.
    • VERIFIED: The known required actions are API deployment, one secret read, updates to two Cloud Run services, and release-metadata writes.
    • VERIFIED: Two legacy scripts still share the credential.
    • VERIFIED: The need for storage access is unknown.

    Concrete findings

    1. The broad credential cannot be narrowed by deleting permissions one at a time because two legacy scripts are still undocumented consumers.
    2. The known deployment path already decomposes into API deployment, one secret read, two Cloud Run updates, and release-metadata writes.
    3. Storage access is an unresolved dependency, not a permission to retain by default; inspect the two legacy scripts or their audit logs before adding it to the custom role.
    4. Rollback should restore the previous role binding without rotating credential identity, so permission testing is not mixed with a credential-change event.

    The canonical acceptance rule is

    A credential can be narrowed safely only when every required operation is mapped to explicit permissions, hidden transitive dependencies are surfaced, rollback is bounded, and post-change evidence proves that excess access was removed without breaking required work.

    The current re

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

    About this skill

    Over-privileged service accounts and bloated token claims are silent security debts that lead to massive lateral movement during a breach. This skill identifies exactly where permissions exceed operational requirements and provides a surgical plan to narrow them without breaking your services.

    What it does

    • Permission Mapping translates required operations into the minimum viable set of IAM permissions or token claims.
    • Dependency Surfacing identifies hidden transitive permissions that often cause scope reduction to fail in production.
    • Rollout Sequencing generates step-by-step plans for narrowing scopes including specific rollback triggers and bounds.
    • Emergency Access Handling defines how to maintain break-glass procedures while tightening standard service boundaries.
    • Verification Logic provides deterministic tests to prove excess access is gone while legitimate traffic still flows.

    How it works

    1. Analyze the current permission inventory and operational logs to map required vs. granted access.
    2. Diagnose specific over-provisioning risks and identify the security boundaries owning the credentials.
    3. Execute a repair plan or readiness review with explicit gates and bounded implementation steps.
    4. Validate the changes using post-change evidence or local inspection to ensure zero breakage of public interfaces.

    Frameworks & tools

    Works with IAM policies, service account configurations, JWT/OIDC token claims, and cloud provider permission sets (AWS, GCP, Azure).

    Why this beats prompting it yourself

    Generic prompts often suggest "least privilege" without considering the transitive dependencies that break apps at 2 AM. This skill enforces a canonical invariant that maps every operation to an explicit permission and a rollback path, ensuring security doesn't come at the cost of uptime.

    Use cases

    • Auditing a legacy service account before migrating to a new cloud environment.
    • Reducing the scope of a CI/CD runner token that has cluster-admin rights.
    • Reviewing a third-party API integration to ensure token claims are properly bounded.

    Known limitations

    Requires specific evidence or repository access to move beyond hypotheses. Does not perform live production changes without explicit authorization.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 12 days ago

    • Passed all security checks, Safe to install

    Listed12 days ago
    Updated1 day ago

    What's inside

    Frequently Asked Questions