agentleFS
NoorQureshiNoorQureshi/SploitAgent/skills/cloud/cloud-s3-exposure/SKILL.md

cloud-s3-exposure

Skill26 starsChanged 31 days agoMITView on GitHub

Find and prove misconfigured cloud object storage (S3/GCS/Azure Blob). Load when assets load from *.s3.amazonaws.com, storage.googleapis.com, *.blob.core.windows.net, bucket-looking hostnames, or "bucket". Signals: public-read/list, unauthenticated writes, predictable bucket names.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Cloud object-storage misconfiguration

When it applies

The app stores files in S3/GCS/Azure Blob and the bucket's ACL/policy is too open — public listing, public read of private objects, or (worst) unauthenticated write.

Why it works

Object-storage ACLs are easy to get wrong: "public" gets applied at the bucket level, or an IAM policy grants s3:ListBucket/GetObject/PutObject to *. Predictable names (companyname-backups, -assets, -dev) make discovery trivial.

Method

  1. Find bucket names: from asset URLs, JS, DNS CNAMEs, and permutations of the org name (company, company-prod, company-backups, region suffixes).
  2. Test list/read (S3): aws s3 ls s3://bucket --no-sign-request (list) and aws s3 cp s3://bucket/file . --no-sign-request (read). --no-sign-request = anonymous.
  3. Test write (high impact, do carefully & in scope): aws s3 cp poc.txt s3://bucket/ --no-sign-request — a successful anonymous write is critical (defacement/malware hosting).
  4. GCS/Azure: gsutil ls gs://bucket / anonymous HTTPS GET; Azure ?comp=list on the container.
  5. Scale carefully with s3scanner/gcpbucketbrute on name lists — respect scope & rate.

Gotchas

  • 403 on the bucket root ≠ safe — individual objects may still be public; test known object paths.
  • Anonymous write is the crown jewel but easy to over-test — upload one harmless marker, then stop.
  • Region matters for the endpoint; a wrong region gives misleading 301/403.

Verify success

Anonymous listing/read of non-public objects, or a successful anonymous write of a harmless proof file (then remove it). Capture the exact command + response.

References

AWS S3 security docs; "hacking the cloud" S3 guides; s3scanner README.

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.