cloud-infra-supply-chain

Invoke when the target involves cloud assets (object storage/cloud metadata/Serverless), containers/K8s, operational panels (e.g., Baota/Grafana/Zabbix/Jenkins/GitLab/Nacos), message queues/cache middleware, CI/CD pipelines, third‑party callback integrations, dependency CVEs, or information‑leak configurations. Responsible for finding unauthorized access, weak credentials, cloud misconfigurations, supply‑chain vulnerabilities, and sensitive information leaks.

Last repository push
GitHub Stars
169
Forks
29
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-infra-supply-chain" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7f56e638eac54725ae3fc09ef8e97a4b4f58c1e58d2b26087e88f1ee8a28db76. Verify the upstream source and version against https://github.com/zhaji2333/CkSKILLS 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

Invoke when the target involves cloud assets (object storage/cloud metadata/Serverless), containers/K8s, operational panels (e.g., Baota/Grafana/Zabbix/Jenkins/GitLab/Nacos), message queues/cache middleware, CI/CD pipelines, third‑party callback integrations, dependency CVEs, or information‑leak configurations. Responsible for finding unauthorized access, weak credentials, cloud misconfigurations, supply‑chain vulnerabilities, and sensitive information leaks.

0 Downloads

Introduction source: third_party · zhaji2333 · 0.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: cloud-infra-supply-chain
description: 当目标涉及云资产(对象存储/云元数据/Serverless)、容器/K8s、运维面板(宝塔/Grafana/Zabbix/Jenkins/GitLab/Nacos等)、消息队列/缓存中间件、CI/CD流水线、第三方回调集成、依赖组件CVE、信息泄露配置时调用。负责未授权访问、弱口令、云配置错误、供应链漏洞与敏感信息挖掘。

cloud-infra-supply-chain — 云/基础设施/供应链专项深度挖掘

何时调用(触发条件)

  • 云资产:对象存储、云主机、Serverless、云元数据
  • 容器/K8s:Docker API、K8s Dashboard、ServiceAccount
  • 运维面板/中间件:宝塔、Grafana、Zabbix、ELK、Jenkins、GitLab、Nacos、Redis、Kafka
  • CI/CD 流水线、依赖组件清单(SBOM)
  • 第三方集成:支付回调、短信、邮件、CDN、地图 API
  • 信息泄露:错误栈、调试接口、备份文件、.map、日志

一、运维/管理类场景表(全景)

场景 漏洞类型 挖掘要点
后台登录 弱口令/默认口令/爆破 admin:admin、无验证码、无锁定
数据库管理(phpMyAdmin等) 未授权/弱口令/SQL执行 默认路径、弱密码
服务器面板(宝塔/cPanel) 未授权/RCE 默认端口、已知CVE
监控系统(Zabbix/Grafana) 未授权/SSRF/SQL注入 默认凭证、API未鉴权
日志系统(ELK/Splunk) 未授权/敏感信息 Kibana未鉴权、日志含密码
CI/CD(Jenkins/GitLab) 未授权/RCE/凭证泄露 匿名构建、密钥泄露、命令执行
容器管理(Docker/K8s) 未授权/逃逸/提权 Docker API暴露、Dashboard弱口令
配置中心(Nacos/Apollo) 未授权/配置泄露 默认账号、API未鉴权

二、第三方集成类场景表(全景)

场景 漏洞类型 挖掘要点
支付回调(支付宝/微信) 签名绕过/参数篡改 签名校验缺失、notify_url可控
短信网关 短信轰炸/内容可控 无频率限制、短信模板可控
邮件服务 邮件头注入/钓鱼 收件人可控、内容可控
CDN/OSS 配置错误/越权访问 Bucket公开、签名URL泄露
地图/定位API 信息泄露/Key泄露 泄露内部地址、API密钥硬编码
消息队列(Kafka/RabbitMQ) 未授权访问/消息伪造 管理接口暴露、消息可注入
缓存服务(Redis/Memcached) 未授权访问/数据泄露 默认端口无密码
微服务网关 路由绕过/鉴权绕过 路径标准化差异、Header注入

三、云环境专项(14.4)

云元数据:
  - AWS: http://169.254.169.254/latest/meta-data/
  - 阿里云: http://100.100.100.200/latest/meta-data/
  - 腾讯云: http://metadata.tencentyun.com/latest/meta-data/

Kubernetes:
  - ServiceAccount Token泄露
  - etcd未授权访问
  - Dashboard弱口令

Serverless:
  - 函数环境变量泄露
  - 临时凭证获取
  - 事件注入

对象存储:
  - Bucket公开可读/写
  - 预签名URL泄露
  - ACL配置错误

SSRF 打云元数据的完整手法见 ssrf-internal-network 技能。

四、信息泄露专项(K类)

  • 错误栈、调试接口、版本信息
  • 源码泄漏、.map 文件、配置文件
  • 日志泄露、备份文件(.bak/.sql/.zip)
  • 对象存储权限(公开桶、预签名 URL)
  • Git 历史泄露(.git/目录、commit 中的密钥)

五、供应链安全(L类)

类型 场景
L1. 组件CVE SBOM/依赖清单、版本比对
L2. 云/容器错误配置 公开存储桶、弱IAM、裸奔Dashboard
L3. CI/CD密钥泄露 流水线日志、环境变量、仓库历史

挖掘方法

  • 指纹识别 → 版本比对 → 查 CVE(nuclei 模板、公开漏洞库)
  • 组件清单:package.json、requirements.txt、pom.xml、composer.lock
  • CI/CD:Jenkins 匿名构建、GitLab 公开仓库、流水线日志中的凭证

六、新兴技术类(延伸)

场景 漏洞类型 挖掘要点
AI/大模型接口 Prompt注入/敏感信息 提示词泄露、越权调用、输出敏感数据
区块链/Web3 智能合约漏洞/私钥泄露 重入攻击、权限控制、密钥硬编码
Serverless函数 注入/环境变量泄露 事件注入、临时凭证获取
低代码平台 表达式注入/越权 公式执行、流程绕过

七、验证要点

  • 未授权访问:默认路径/默认端口直接访问是否 200
  • 弱口令:先试默认凭证(admin:admin、root:root)
  • 云配置:公开桶可读/写、预签名 URL 可遍历
  • 信息泄露:泄露的数据能否用于下一步(密码、AK/SK、内部域名)
  • 供应链:版本 → CVE 匹配 → 可利用性验证

八、修复建议

  • 管理面收敛:仅内网/白名单访问,禁用默认凭证
  • 中间件:鉴权 + 最小暴露端口 + 定期更新
  • 云:对象存储私有 + 最小 IAM 权限 + IMDSv2
  • 日志/备份脱敏,禁止公网访问
  • 依赖:SBOM 管理 + 漏洞扫描 + 升级策略

Version history

  1. v2.1.0 GitHub ↗
    Original release notes

    ## 一句话 新增 **`kb/` 结构化数据层**(664 CVE / 237 字典 / 69 载荷)与 **内网/域技能包 `internal-network`**(10 块),`cloud-infra` 扩充 10 块;全局路由、纪律、索引同步接线,并修掉 7 个超限知识块与存量死链。 ## 新增 - **数据层 `kb/`**:`vuln/` 664 条 CVE(ai/cloud/middleware/network/web)、`dict/` 237 个字典(368 万行)、`payload/` 69 个载荷;4 个自动索引 + `tools/kb_index.py`(`--check` 做一致性闸,不参与默认加载) - **`internal-network`(内网/域)**:域侦察与决策树、Kerberos、委派/ACL/ADCS、凭据/中继/投毒、横向移动、隧道多跳、后渗透提权、持久化、内网基础设施(Exchange/SCCM/OA/DB/中间件)、工具投递 - **`kb-security-data`**:CVE / 字典 / payload 检索入口(30 秒分诊 + 证据纪律) - **`cloud-infra` +10 块**:多云概览、AWS IAM 提权、Azure/GCP、国内云、云凭据/IAM/元数据、K8s 逃逸与集群、K8s 组件/网络/存储、容器运行时、对象存储/Serverless、CI-CD/供应链/IaC - **战法索引-08-内网与域**(22 行首枪表)、`rules/55-kb-usage.md`、`templates/SEEDS.template.md` - **`docs/CHANGELOG.md`**:v2.1 完整更新记录 ## 变更 - `AGENTS.md`(10 秒决策 + 文件地图)、`rules/70`、`docs/TRIGGER-MATRIX.md`、`ck-router`(分诊/索引/进站决策)、`README.md`、`docs/ARCHITECTURE.md`(六层结构)全部接线 - 技能包 16 → **18**,知识块 **501**,规则 11 → **12** ## 修复 - 7 个超过 12KB 的知识块按「索引 + 分段」拆分(原文件名保留,新增 `-b` 分段) - 存量死链、kb 相对路径、索引兜底计数、CTF 导向表述清理 ## 验收 - 单块 ≤12KB:0 超限;SKILL.md 全部达标;死链 0 - `python3 tools/kb_index.py --check` → OK(664 / 237 / 69) - 常驻层 `AGENTS.md` 5.4KB(限 6.5KB) ## 升级方式 更新仓库后运行 `python3 tools/kb_index.py --check` 确认索引一致;用法见 `docs/CHANGELOG.md` 第 5 节与 `README.md`「数据层 kb/」小节。

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 覆盖云资产、容器/K8s、运维面板、CI/CD、供应链等高价值攻击面
  • 提供具体挖掘路径与验证标准,显著提升安全测试效率
Trigger Precision95/100

Highlights

  • 触发条件明确细分至8大类,边界清晰,避免误触或漏触
Structure and Standards95/100

Highlights

  • 八大部分逻辑递进,含全景表格、专项指南与修复建议
  • 验证要点定义清晰出口条件,frontmatter完整
Execution Reliability90/100

Areas to improve

  • 工具来源未显式声明 Reported severity: Minor

    提及'nuclei模板''公开漏洞库'等但未说明具体来源或获取方式

    Recommendation: 建议在文档中补充常用工具链说明(如nuclei官方仓库、NVD/CVE数据库链接)

Highlights

  • 参数准确(云元数据地址、默认凭证),覆盖主要异常场景
  • 修复建议具体可行,具备落地指导价值
Evidence Verifiability (mean of the first four)94/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.

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.

  • 100.100.100.200
  • 169.254.169.254
  • metadata.tencentyun.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.

Translation pending; see source documentation.

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