最近推送 2026-09-15 03:29(43 天前),维护频率一般
cloudflare/security-audit-skill
GITHUB中文整理主语言 JavaScript · 50,321 星 · MIT · 创建于 2026-06-18
一个编码助手技能,把 AI 编码代理变成安全审计员,通过多阶段隔离代理对代码库做安全审计并产出可独立验证的机器可读结果。
仓库健康度
5 个维度开放 Issue 79 个 · Fork 2,281 个
24 小时 +1,303 · 7 日 积累中 · 30 日 积累中
许可证 MIT
这一项暂无数据,不代表项目没有发布
「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。
Star 趋势
6 天记录横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。
它解决什么问题
据 README 归纳人工安全审计代码库费时费力且易漏,普通 AI 代理直接分析可能产生未经验证的结论。没有它,就缺少一套结构化、可复核、能多轮累积覆盖的代理审计流程。
核心能力
7 条- 1编排侦察阶段,绘制架构、信任边界和输入面
- 2根据覆盖账本分配隔离猎手查找漏洞
- 3让独立验证者尝试证伪每个候选问题
- 4将结论按已确认、待验证、已否决结构化输出
- 5用全新代理独立核查最终源码声明
- 6从已验证记录生成目标无关的报告文件
- 7多次运行可累积,针对缺口和变更源码再审计
项目画像
6 个角度项目定位
一个编码助手技能,把 AI 编码代理变成安全审计员,通过多阶段隔离代理对代码库做安全审计并产出可独立验证的机器可读结果。
适合谁
适合需要让 AI 编码代理系统化审计代码库安全性的开发者或安全团队,用于直接代码审计、渗透测试类请求或聚焦漏洞排查的场景。
典型场景
对一个代码库发起完整安全审计,自动走完侦察、漏洞发现、验证和报告产出流程。;针对已审计过的仓库再次运行,利用历史账本定位未覆盖区域并重新验证变更源码。;对某个具体安全问题做聚焦排查,以指导模式获得分析而不生成完整报告。;需要机器可读、可独立复核的审计记录时,生成结构化发现文件和对应报告。
部署难度
需要 Node.js 和 npx 环境,通过一条 npx 命令安装技能,然后在目标代码库中启动编码代理并触发审计请求;无其他明显前置依赖。
风险限制
需要能运行 npx 命令并安装技能;审计结论依赖代理执行质量和目标代码可读性;报告默认输出目录在用户主目录下,写入目标仓库需显式选择被版本控制忽略的目录。
最近维护
最近一次推送是 2026-09-15 03:29。 实现方式:先做侦察并生成架构文档和覆盖账本;接着按账本单元派隔离猎手检查;每个唯一候选交给全新验证者试图证伪;记录结构化写入结果文件并对照模式校验;最后独立核查源码声明后生成报告。多次运行会复用历史账本和发现来定位缺口并重新验证变更部分。
README 原文细节
6 个板块核心功能README 里列出来的能力清单
What it does
The parent runs validate-coverage-ledger.cjs after creating the ledger and after each later ledger update. It runs validate-findings.cjs in Phase 4 and again after every Phase 5 replacement.
The verdicts are distinct: confirmed has a complete source trace and bounded observed result, needsvalidation has an exact unresolved fact and no severity, and rejected records a disproved candidate.
Multiple runs against the same repo are additive. The skill uses prior ledgers and findings to target gaps, revalidate changed source, and carry forward current-source evidence without treating stale or unresolved work as covered.
- Reconnaissance -- map architecture, trust boundaries, input surfaces, prior evidence, and deterministic coverage in architecture.md and coverage-ledger.json.
- Coverage-led hunting -- assign isolated hunters from ledger units, record their checks, and use coverage critics to find gaps.
- Candidate validation -- give every unique candidate to a fresh verifier that tries to disprove it.
- Structured output -- write confirmed, needsvalidation, and rejected records to findings.json and validate them against report-schema.json.
- Independent record verification -- fresh agents verify final source claims. Material replacements receive another independent verifier.
- Target-neutral reporting -- derive REPORT.md, FINDINGS-DETAIL.md, and NEEDS-VALIDATION.md from the verified records and coverage ledger.
怎么安装从零跑起来的步骤
Installation
Run npx skills --help for agent-selection and non-interactive options.
npx skills add https://github.com/cloudflare/security-audit-skill \
--skill security-audit
怎么用最典型的用法与示例
Usage
Start your coding agent in (or pointed at) the codebase you want to audit, then ask it to do a security audit:
The skill activates automatically when the request matches its trigger (security audit, find vulnerabilities, pen-test the code, etc.). A direct codebase audit or pen-test request uses full audit mode. Security questions and focused vulnerability work use guidance mode unless you request report artifacts. In full audit mode, an unspecified output directory defaults to ~/security-audit-skill//run-. The workflow writes inside the target repository only when you explicitly select a directory that version control ignores.
security audit this codebase
环境与依赖跑它之前要准备什么
Requirements
- A coding agent with a model that supports tool use and parallel sub-agents
- Node.js for the zero-dependency findings and coverage-ledger validators
- An OS-enforced sandbox for target-controlled builds, tests, processes, browsers, emulators, fuzzers, and fixtures. It must disable external networking, use a sanitized allowlisted environment, enforce
实现原理它内部是怎么做的
Design principles
- Only confirm established boundary failures. Keep a source-grounded blocked lead as needsvalidation with its exact unresolved fact.
- Adversarial validation. The agent that checks a finding is never the agent that found it.
- Severity requires impact. Likelihood x impact, not deviation from a checklist.
- Defense-in-depth gaps are not vulnerabilities. If Layer A prevents the attack, the absence of Layer B is a hardening note.
- Multiple runs improve coverage. In our test runs, a single run found roughly half of the vulnerabilities that repeated runs found in total.
其它说明README 里剩下的内容
Files
- SKILL.md — Setup, core principles, platform terminology, workflow overview, and audit anti-patterns
- RECONNAISSANCE.md — Phase 1 reconnaissance prompts and synthesis instructions
- HUNTING.md — Phase 2 orchestration, hunting methodology, and validation rules
- ATTACK-CLASSES.md — Core, wildcard, and obvious-things attack prompts
- MEMORY-SAFETY-AND-BINARY.md — Memory-safety, binary, and kernel hunting classes for native targets
- AI-AND-LLM.md — Prompt-injection, agent/tool, and output-handling hunting classes for LLM-backed targets
- WEB-PROTOCOL-AND-AUTH.md — HTTP request-framing, cache, and authentication-protocol hunting classes for HTTP-protocol and auth targets
- CLIENT-SIDE.md — DOM-injection, messaging-trust, UI-redress, and prototype-pollution hunting classes for client-side/browser targets
- SUPPLY-CHAIN-AND-RELEASE.md — Dependency, CI, release, signing, update, plugin, and extension hunting classes
- CLOUD-AND-DEPLOYMENT.md — IAM, infrastructure-as-code, container, serverless, ingress, and runtime-configuration hunting classes
- PROTOCOLS-RPC-AND-MESSAGING.md — RPC, serialization, queue, broker, webhook, and streaming-protocol hunting classes
- RESOURCE-EXHAUSTION-AND-AVAILABILITY.md — Shared resource, quota, queue, worker, and operator-spend hunting classes
- DATA-ISOLATION-AND-LIFECYCLE.md — Tenant isolation, cache, search, export, backup, migration, deletion, and restore hunting classes
- DESKTOP-MOBILE-AND-LOCAL-IPC.md — Native app, deep-link, webview, exported-component, helper, daemon, and local-IPC hunting classes
关于 security-audit-skill 的常见问题
7 个问题security-audit-skill 是做什么的?
一个编码助手技能,把 AI 编码代理变成安全审计员,通过多阶段隔离代理对代码库做安全审计并产出可独立验证的机器可读结果。 人工安全审计代码库费时费力且易漏,普通 AI 代理直接分析可能产生未经验证的结论。没有它,就缺少一套结构化、可复核、能多轮累积覆盖的代理审计流程。
security-audit-skill 有哪些功能?
核心能力:编排侦察阶段,绘制架构、信任边界和输入面;根据覆盖账本分配隔离猎手查找漏洞;让独立验证者尝试证伪每个候选问题;将结论按已确认、待验证、已否决结构化输出;用全新代理独立核查最终源码声明;从已验证记录生成目标无关的报告文件;多次运行可累积,针对缺口和变更源码再审计。
security-audit-skill 适合谁用?
适合需要让 AI 编码代理系统化审计代码库安全性的开发者或安全团队,用于直接代码审计、渗透测试类请求或聚焦漏洞排查的场景。
security-audit-skill 是怎么工作的?
先做侦察并生成架构文档和覆盖账本;接着按账本单元派隔离猎手检查;每个唯一候选交给全新验证者试图证伪;记录结构化写入结果文件并对照模式校验;最后独立核查源码声明后生成报告。多次运行会复用历史账本和发现来定位缺口并重新验证变更部分。
怎么安装 security-audit-skill?
按项目 README 的说明:Run npx skills --help for agent-selection and non-interactive options.。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。
用 security-audit-skill 有什么门槛或限制?
需要能运行 npx 命令并安装技能;审计结论依赖代理执行质量和目标代码可读性;报告默认输出目录在用户主目录下,写入目标仓库需显式选择被版本控制忽略的目录。
security-audit-skill 现在还在维护吗?数据怎么样?
目前 50,321 星,2,281 个 Fork,主语言 JavaScript,创建于 2026-06-18,最近一次推送 2026-09-15 03:29,许可证 MIT。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。
这些内容来自哪
读法说明项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:48。
