cloud-exposure
Exposed cloud storage triage — S3/GCS/Azure buckets, severity escalation, swarm-dispatch over corpus
от VigilOSS★ 35 звёзд на GitHub
Установить cloud-exposure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Cloud Exposure Investigation
Reality Check
A public bucket is not automatically critical. Severity rides on what is in the bucket and what infrastructure points at it, not on the existence of the bucket. A public bucket of CSS sprites used as a CDN is informational; a public bucket of .env files, source repos, or backup tarballs is critical. This skill is about working through the blast radius systematically rather than recording an estimated severity from the listing alone.
When to Activate
- A bucket listing is publicly accessible (S3
?list-type=2, GCS XML listing, Azure?comp=list). - A domain or subdomain CNAMEs to a bucket endpoint and the bucket is browseable.
- Recon discovered references to bucket names in HTML / JS source / DNS history that resolve to live buckets.
- A subdomain takeover candidate sits on bucket infrastructure (dangling CNAME → a bucket that returns
NoSuchBucket) — treat this as a screening signal to work claimability through Step 2, not as a finding on its own (seeagent/references/subdomain-takeover.md). - During code analysis, hard-coded bucket names point to buckets you can reach unauthenticated.
Tools
All through vigil assess kali exec (--technique OSINT for discovery, INFO-DISCLOSURE for
listing and sampling):
cloud_enum -k <keyword>discovers bucket/blob/host names across AWS, Azure and GCP from a brand/product keyword (mutates it against a built-in fuzz list; beats hand-guessing names).s3scanner -bucket <name>(or-bucket-file) reports existence, region and per-grant ACL (READ/WRITE/READ_ACP/WRITE_ACP) without credentials;bucket_not_foundis a takeover screening signal, not a verdict (agent/references/subdomain-takeover.md).aws s3 ls|cp s3://<bucket> --no-sign-request— the runtime holds no AWS credentials, so a signed call fails withNoCredentials; signed calls run host-side viavigil assess host-exec --tool aws(agent/skills/aws-iam-privesc/SKILL.md).- GCS and Azure have no CLI in the image: list anonymously over HTTPS with curl
(
https://storage.googleapis.com/<bucket>?prefix=,https://<account>.blob.core.windows.net/<container>?restype=container&comp=list). trufflehog filesystem <dir>over the downloaded sample (a local copy, no target traffic).- Corpus-scale source review is proposed to the operator as a swarm in
next_steps(Step 4).
Investigation Procedure
Do these steps in order. Skipping ahead (e.g. recording severity from the listing alone) is exactly the failure mode this skill prevents. Step 0 is the discovery pass; start there only when you have a keyword but no concrete bucket — when recon already handed you a specific bucket name, begin at Step 1.
Step 0 — Enumerate candidate buckets you don't have a name for yet
When recon gives you a company / product / brand keyword but no concrete bucket, enumerate the namespace before sampling — hand-guessing single names misses the bulk of the surface, and a single keyword routinely expands to dozens of live storage endpoints across the three clouds. cloud_enum mutates the keyword against its built-in fuzz list and probes AWS S3, Azure blob/host/container, and GCP buckets in one pass:
vigil assess kali exec --technique OSINT --intent "multi-cloud bucket enumeration for <keyword>" \
--probe-kind fingerprint --phase recon --timeout 600 -- \
cloud_enum -k <keyword> -k <keyword>.com -k <product-name> \
-l /engagements/$ENGAGEMENT_KEY/scans/cloud-exposure/cloud_enum.log
Route each result by its state: an OPEN S3 bucket goes into Step 1 (sample) and Step 2 (consumer mapping); a bucket cloud_enum reports as absent / not-found is a takeover screening candidate — run it through the s3scanner + claimability check in Step 2, never record it as a takeover on the not-found result alone (agent/references/subdomain-takeover.md).
Step 1 — Sample, don't slurp
Download a representative sample first. Pulling the entire corpus when the bucket holds 100k+ objects burns disk + dispatch time for analysis you cannot use yet.
vigil assess kali exec --technique INFO-DISCLOSURE --intent "list and sample bucket <name>" --probe-kind fingerprint --phase recon --timeout 60 -- \
bash -c 'curl -s "https://<bucket>.s3.amazonaws.com/?list-type=2&max-keys=200" > /engagements/$ENGAGEMENT_KEY/scans/cloud-exposure/<bucket>-listing.xml'
Pull 10–30 objects across the directory shape variety the listing reveals: pick one from each top-level prefix, plus any object whose key name suggests sensitive content (.env, backup, dump, credentials, config, .git, .pem, .key).
Step 2 — Identify what runs from this bucket
A bucket sitting in isolation is less interesting than a bucket that backs a known application. Map the bucket to its consumer:
- DNS:
vigil assess kali exec … -- dig +short <consumer-host>(and the bucket host) — does any in-scope host CNAME to this bucket?
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cloud-exposure?
Exposed cloud storage triage — S3/GCS/Azure buckets, severity escalation, swarm-dispatch over corpus
Как установить скилл cloud-exposure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cloud-exposure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…