cloud-bucket-brute

公开存储桶探测:通过将公司名称变换为可能的存储桶名称,探测 AWS S3、Google Cloud、DigitalOcean、阿里云、Oracle 和 Vultr 等平台上可能的公开可读云存储以发现暴露的存储桶。

仓库最近推送
GitHub Stars
156
Forks
34
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cloud-bucket-brute":https://skillpi.com/zh/skills/deepskill-cdd9e833bf808c97aa28c024d335da2e9aea3011297d8ecceb572616723232d3。安装前核对上游来源和版本:https://github.com/forefy/.context。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

公开存储桶探测:通过将公司名称变换为可能的存储桶名称,探测 AWS S3、Google Cloud、DigitalOcean、阿里云、Oracle 和 Vultr 等平台上可能的公开可读云存储以发现暴露的存储桶。

0 下载

介绍来源: third_party · forefy · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值75/100

亮点

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

亮点

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

亮点

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

待提升项

  • 引用文件缺失风险 原报告严重程度:轻微

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

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

亮点

  • 异常处理完善:覆盖 rate-limiting、provider logging、interception artifact
  • 安全边界明确:要求仅对自有或授权组织运行
  • 提供完整的失败指示符列表用于准确判断
证据可验 (前四项均值)86/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • www.googleapis.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。