agentleFS
raniellimontagnaraniellimontagna/agent-toolkit/skills/security/cloud-misconfiguration-audit/SKILL.md

cloud-misconfiguration-audit

Skill3 starsChanged 32 days agoMITView on GitHub

Use when reviewing cloud storage, IAM, metadata access, network exposure, or deployment configuration for unauthorized access risk.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep account IDs, tokens, object names, and personal data to the minimum needed.

    line 49
  2. Distinctive:

    Stop on customer data, cross-account access, write permission, or unexpected production impact.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cloud Misconfiguration Audit

Assess cloud exposure from configuration, policy, logs, and synthetic fixtures. The goal is to reduce unintended access, not to enumerate or exploit another tenant's infrastructure.

When to Use

  • Reviewing AWS, GCP, Azure, Supabase, Firebase, object storage, or IAM policy.
  • Checking deployment templates, public endpoints, metadata protections, or container/cloud role boundaries.

Procedure

  1. Define account/project/subscription, region, environment, and read-only credentials in scope. Confirm the audit identity and expected permissions.
  2. Inventory internet-facing services, buckets, databases, load balancers, serverless functions, service accounts, workload identities, and secrets.
  3. Review IAM for wildcard principals/actions/resources, cross-account trust, unused roles, privilege escalation paths, and production identities in CI.
  4. Review storage for public listing/read/write, predictable object paths, insecure CORS, version history, logs, and sensitive metadata.
  5. Review metadata-service protections and container/task role boundaries in source and infrastructure-as-code. Do not query a live metadata endpoint unless the account owner explicitly provides an isolated fixture.
  6. Confirm findings with policy simulation, provider analyzer output, or a synthetic object. Never download unrelated customer data or alter policy.
  7. Recheck after remediation with the same read-only identity and record the before/after decision.

Evidence Gate

Public policy syntax is not automatically exploitable. Prove the effective permission, resource scope, and data class. A provider-owned public identifier is not a credential.

Report

Record provider/account alias, resource type and masked identifier, effective principal/action, data class, impact, remediation, and verification result. Keep account IDs, tokens, object names, and personal data to the minimum needed.

Stop Conditions

Stop on customer data, cross-account access, write permission, or unexpected production impact. Preserve only metadata and notify the authorized owner.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.