From 6f21e3da6ec93aa075f750c3163e56f828b98db4 Mon Sep 17 00:00:00 2001 From: yuuu <251412670+shuaiqideyu@users.noreply.github.com> Date: Sun, 2 Aug 2026 08:16:38 +0800 Subject: [PATCH] fix: sync content counts and harden validate CI README/indexes still claimed 40 or 37 technique cards while techniques/ has 38; also make the stale blackmule/ link check fail the workflow instead of always exiting 0. --- .github/workflows/validate.yml | 5 ++++- CAPABILITY.md | 2 +- MASTER_INDEX.md | 2 +- README.md | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 9388fab..9bce89d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -23,4 +23,7 @@ jobs: done - name: Check broken links run: | - ! grep -rn "blackmule/" README.md CAPABILITY.md MASTER_INDEX.md AGENTS.md || exit 0 + if grep -rn "blackmule/" README.md CAPABILITY.md MASTER_INDEX.md AGENTS.md; then + echo "Found stale blackmule/ path references" + exit 1 + fi diff --git a/CAPABILITY.md b/CAPABILITY.md index 3093036..18f1c05 100644 --- a/CAPABILITY.md +++ b/CAPABILITY.md @@ -7,7 +7,7 @@ | 资产 | 数量 | 位置 | |------|------|------| | Hermes Skill | 47 | `/root/.hermes/skills/security/` | -| 技术卡 (YAML) | 40 | `techniques/` — 21 个分类 | +| 技术卡 (YAML) | 38 | `techniques/` — 21 个分类 | | 知识条目 (MD) | 16 | `knowledge/categories/` + `knowledge/frameworks/` | | 实战工具 | 11 | `tools/` — Python/Go/Shell | | 案例 | 11 | `cases/` — 授权/CTF/Lab/PWN | diff --git a/MASTER_INDEX.md b/MASTER_INDEX.md index c37b2c8..f11b3be 100644 --- a/MASTER_INDEX.md +++ b/MASTER_INDEX.md @@ -6,7 +6,7 @@ ## 内容入口 - [`knowledge/categories/`](./knowledge/categories/):按漏洞类型整理的深度知识条目(15类 150+ 条目,含 AI Agent/MCP)。 -- [`techniques/`](./techniques/):可复用技术卡(18类 37 张)。 +- [`techniques/`](./techniques/):可复用技术卡(21类 38 张)。 - [`cases/`](./cases/):靶场、CTF 与授权实战案例(15 个)。 - [`references/`](./references/):深度专题文档(SQL注入/WebSocket/云元数据/SBOM供应链/DNS/TLS/OAuth/Passkey/请求走私/AI Agent,共 10 个专题、56 篇文档)。 - [`mirrors/`](./mirrors/):外部仓库镜像备份(codex-keysmith/claude-keysmith/zcode-keysmith)。 diff --git a/README.md b/README.md index 3a86599..9949591 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ | 技术卡 | 知识条目 | 案例 | 专题 | 工具 | Skill | 镜像 | | ---: | ---: | ---: | ---: | ---: | ---: | ---: | -| **40** | **16** | **11** | **53篇/10专题** | **11** | **47** | **3** | +| **38** | **16** | **11** | **53篇/10专题** | **10** | **47** | **3** | 📊 [CAPABILITY.md](./CAPABILITY.md) — 完整能力索引 @@ -119,7 +119,7 @@ SecAtlas 是**首个面向多 AI Agent 协作**的结构化安全知识库。 - **AI Agent 入口**:[`AGENTS.md`](./AGENTS.md) / [`CAPABILITY.md`](./CAPABILITY.md) - **AI Agent/MCP 专题**:[`references/agentic-ai/`](./references/agentic-ai/) — 工具供应链、权限、注入、循环控制、证据与复测 -- **实战技术卡**:[`techniques/`](./techniques/) — 37 张 YAML 技术卡,含触发信号/payload/判据 +- **实战技术卡**:[`techniques/`](./techniques/) — 38 张 YAML 技术卡,含触发信号/payload/判据 - **深度专题**:[`references/`](./references/) — 10 个专题 56 篇文档 - **知识蒸馏**:[`knowledge/`](./knowledge/) — 16 个分类 150+ 条目 - **案例复盘**:[`cases/`](./cases/) — 11 个攻防案例