cloud-bucket-brute

Cloud-bucket discovery: Probe potential publicly readable cloud storage by transforming a company name into candidate bucket names to check platforms such as AWS S3, Google Cloud, DigitalOcean, Alibaba Cloud, Oracle, and Vultr for exposed buckets.

Last repository push
GitHub Stars
156
Forks
34
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cloud-bucket-brute" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cdd9e833bf808c97aa28c024d335da2e9aea3011297d8ecceb572616723232d3. Verify the upstream source and version against https://github.com/forefy/.context before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Cloud-bucket discovery: Probe potential publicly readable cloud storage by transforming a company name into candidate bucket names to check platforms such as AWS S3, Google Cloud, DigitalOcean, Alibaba Cloud, Oracle, and Vultr for exposed buckets.

0 Downloads

Introduction source: third_party · forefy · 0.0.1 Reference

SkillPi interpretation

Tasks
Discover publicly readable cloud storage by permuting a company name into likely bucket names and probing AWS S3, Google Cloud, DigitalOcean, Alibaba, Oracle, and Vultr. Use to find exposed buckets.
Inputs and outputs
Finish with a `candidate / provider / reachable?` ledger (or just the confirmed hits when the candidate list is large), then a verdict: **Clean** - candidates generated and probed across all six providers, nothing anonymously reachable. **Exposed** - list each public bucket URL, its provider, and whether objects are listable/readable. Fix: make buckets private, require authentication, and audit bucket-policy/ACL for anonymous grants. Report whether the sweep was rate-limited or partial (e.g. one-region-only), so an incomplete run is not reported as clean.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: cloud-bucket-brute
description: Discover publicly readable cloud storage by permuting a company name into likely bucket names and probing AWS S3, Google Cloud, DigitalOcean, Alibaba, Oracle, and Vultr. Use to find exposed buckets.

Contents

  • Scope & authorization
  • Name permutation scheme
  • Probe logic
  • Runnable snippets
  • Output
  • Reference file: references/cloud-storage-endpoints.md

Scope & authorization

Run only against organizations you own or are contractually engaged to test. This is an aggressive-3rdparty check: it does not touch the target's own infrastructure, but it fires a high volume of requests at third-party cloud providers (AWS/GCP/DigitalOcean/Alibaba/Oracle/Vultr) about the target. Expect provider-side rate-limiting and logging. Keep the candidate list scoped to the org actually in scope.

Input is the set of the target's domains. Output is any bucket name that resolves to an anonymously reachable object store.

Name permutation scheme

Turn each in-scope domain into candidate bucket names (this is the valuable part - carry it exactly):

  1. Reduce the domain to its registrable root label (tldextract(...).domain, e.g. foo-bar.co.uk -> foo-bar) and seed the variation set with the raw name.
  2. If the root contains -, split into name + second_name, and also add the initials name[0]+second_name[0].
  3. For each "common company word" that appears inside the root (company, group, tech, solutions, international, services, world, global, ai, io, team, inc, ask, digital, data, bits, bit, open, edu, educaiton, learning, auto, stack), add the name with that word stripped out, plus the initials of the two parts around it. (So bugcrowd yields bugcrowd, bug/crowd fragments, bc, etc.)
  4. Expand every variation through the permutation templates against the suffix wordlist. Bare {name} is always tried; multi-word templates ({name}_{word}, {word}-{name}, {word}_{name}, {name}{word}, {name}{second_name}, {name}{second_name}-{word}, {name}{second_name}_{word}, {name}-{second_name}-{word}, {name}_{second_name}_{word}, {name}{second_name}{word}) are only applied to non-domain-looking single/two-part variations.

The full provider endpoint templates, per-provider fail indications, region lists, the 40-word suffix list, and the permutation templates are in references/cloud-storage-endpoints.md.

Probe logic

For each candidate: GET the endpoint (5s timeout). Parse the body as XML/JSON/text by Content-Type. By default pick one random region per region-templated endpoint (set an "iterate all regions" flag only for a deep, much slower pass). Discard any response containing that provider's fail indications (e.g. AWS AccessDenied, NoSuchBucket, IllegalLocationConstraintException, AllAccessDisabled, PermanentRedirect; GCP The specified bucket does not exist / Anonymous caller does not have storage.buckets.get; Oracle AnonymousUserSubject; Vultr/DO NoSuchBucket), and discard any body containing Burp Suite Professional (interception artifact).

Report a finding when: an endpoint returns a body with none of its fail indications - the bucket exists and is anonymously reachable. Severity: Information Disclosure (verify listability/read of objects before rating impact).

Runnable snippets

# single candidate, AWS virtual-host + GCP JSON API
NAME=acme-backups
curl -s "https://$NAME.s3.amazonaws.com" | grep -qiE 'AccessDenied|NoSuchBucket|IllegalLocationConstraint|AllAccessDisabled' \
  && echo "aws: not public" || echo "aws: PUBLIC/exists -> https://$NAME.s3.amazonaws.com"
curl -s "https://www.googleapis.com/storage/v1/b/$NAME" | grep -qiE 'does not exist|does not have storage.buckets.get' \
  && echo "gcp: not public" || echo "gcp: PUBLIC/exists"
# generate candidate names (permutation scheme) for a domain
python3 - <<'PY'
import tldextract
words=["archive","artifacts","assets","backup","bin","bucket","data","dev","dev-data","dev_data","devops","files","git","it","logs","media","mediauploads","onboarding","ops","proj","project","prod","prod-data","prod_data","prod-files","prod_files","reports","scripts","stage","staging","static","storage","temp","terraform","tf","tf-files","tf_files","terraformbinaries","test","tmp","user-files","user_files","uploads"]
common={"company","group","tech","solutions","international","services","world","global","ai","io","team","inc","ask","digital","data","bits","bit","open","edu","educaiton","learning","auto","stack"}
name=tldextract.extract("acme-corp.com").domain
variations=[(name,)]
if "-" in name:
    a,b=name.split("-",1); variations+=[(a,b),(a[0]+b[0],)]
for w in common:
    if w in name:
        variations+=[(name.replace(w,""),)]
tmpl_base=["{name}"]
tmpl_multi=["{name}_{word}","{word}-{name}","{word}_{name}","{name}{word}","{name}{second_name}","{name}{second_name}-{word}","{name}{second_name}_{word}","{name}-{second_name}-{word}","{name}_{second_name}_{word}","{name}{second_name}{word}"]
out=[]
for v in variations:
    tmpls=tmpl_base+(tmpl_multi if len(v)<=2 else [])
    for w in words:
        for t in tmpls:
            if "{second_name}" in t and len(v)!=2: continue
            s=t.replace("{name}",v[0]).replace("{word}",w)
            if len(v)==2: s=s.replace("{second_name}",v[1])
            if s not in out: out.append(s)
print("\n".join(out))
PY

Output

Finish with a candidate / provider / reachable? ledger (or just the confirmed hits when the candidate list is large), then a verdict:

  • Clean - candidates generated and probed across all six providers, nothing anonymously reachable.
  • Exposed - list each public bucket URL, its provider, and whether objects are listable/readable. Fix: make buckets private, require authentication, and audit bucket-policy/ACL for anonymous grants.

Report whether the sweep was rate-limited or partial (e.g. one-region-only), so an incomplete run is not reported as clean.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供云存储桶安全审计能力,解决信息泄露检测的实际需求
  • 支持六大主流云平台(AWS/GCP/DO/阿里云/Oracle/Vultr)
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖公司名称变换、多平台探测等核心功能点
  • 边界清晰,不易与其他安全工具混淆
Structure and Standards95/100

Highlights

  • 结构完整:授权范围、名称变换方案、探测逻辑、可运行代码片段、输出格式
  • 提供端到端示例和清晰的出口条件(Clean/Exposed verdict)
Execution Reliability85/100

Areas to improve

  • 引用文件缺失风险 Reported severity: Minor

    主文档引用了 references/cloud-storage-endpoints.md 文件,但未验证其是否存在

    Recommendation: 建议添加引用文件存在性检查,或提供 fallback 的默认配置

Highlights

  • 异常处理完善:覆盖 rate-limiting、provider logging、interception artifact
  • 安全边界明确:要求仅对自有或授权组织运行
  • 提供完整的失败指示符列表用于准确判断
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • www.googleapis.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.