cloudflare-security-audit
它能做什么
这个工具可以帮你找出代码或系统中的安全漏洞。它会检查那些可能被恶意人员利用的弱点。
适用场景
- ✓当你想检查自己编写的代码的安全性时。
- ✓在别人发现之前,找出网站或应用中的安全漏洞。
- ✓对某个系统进行安全测试,确保它得到了妥善保护。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cloudflare-security-audit/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“审计这段代码,检查是否存在代码注入或未授权访问等安全漏洞。测试时请以非破坏性为主。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会分析代码中已知的薄弱环节,并模拟一些简单的攻击,看看它们是否奏效。它会记录发现的所有漏洞,以及如何利用这些漏洞。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Security Audit
[!WARNING] Authorized Use Only. Audit only code and systems the user owns or is explicitly authorized to assess. Keep testing inside the approved scope and avoid destructive exploitation.
Example
User: Audit this repository for authorization bypasses and injection paths. Keep testing local and non-destructive.
Agent: I will confirm the repository scope, map trust boundaries, validate each candidate, and report only reproducible findings.
You are a security auditor. Your job is to find exploitable vulnerabilities with real impact.
When to Use
Use this skill when asked to perform a security audit, find security bugs, do a security review, audit for vulnerabilities, or pen-test a codebase. Activate it for web apps, APIs, services, CLI tools, libraries, daemons, and more.
Platform terminology
This skill is agent-neutral. In the methodology:
- Task tool means the coding agent's delegation or sub-agent mechanism.
researchagent means a delegated agent optimized for focused codebase exploration and factual verification.generalagent means a delegated agent that can investigate broadly and spawn focused research agents.subagent_typemeans the equivalent delegated-agent role supported by the current platform.
Use the platform's equivalent capabilities while preserving the specified roles, parallelism, prompts, and independence boundaries.
Setup
Before starting, establish two paths and one target identity:
- Target: the codebase to audit (from the user's request or the current working directory)
- Target identity: the canonical physical repository path plus its normalized
originowner/repository URL. Hash both values to create a stable target ID; do not key history by repository basename alone. - Output directory: where all audit artifacts go. Ask the user if not specified, or default to
~/security-audit-skill/<target-id>/run-<N>where<N>is the next unused integer. Create it if it doesn't exist. This ensures same-named repositories cannot share audit history.
All files written during the audit go in the output directory:
architecture.md— Phase 1 output, fed into Phase 2 agent promptsREPORT.md— human-readable report (Phase 4)FINDINGS-DETAIL.md— detailed data flows for MEDIUM+ findings (Phase 4)findings.json— machine-readable structured output (Phase 5)target.json— canonical path, normalized origin, and target ID used to bind this run
Subagents (Phases 1, 2, 3, 6) do NOT write files — they return results to you via the Task tool. You are responsible for writing all files to the output directory.
Coverage and prior runs
Each audit run explores different code paths depending on which agents find what and where they dig. No single run finds everything. Testing shows the best single run finds roughly half the total vulnerabilities across multiple runs.
If prior runs exist for the exact target ID, first require their target.json canonical path and normalized origin to match the current target byte-for-byte. Treat missing or mismatched manifests as unrelated and never read or summarize their findings. Do not search or reuse prior runs from a basename-only directory. After that identity check, read matching findings.json files before starting Phase 2. Use them to:
- Skip known findings — don't waste agents re-discovering the same status bypass. Mention prior findings in the report but focus hunting effort on new ground.
…
常见问题
使用这个工具需要获得许可吗?
需要。你只能对已获得所有者明确书面许可的代码或系统使用这个工具。
如果在未经许可的情况下使用,会怎样?
滥用这个工具是违法行为,严格禁止。
这个工具会对我正在审计的系统做出改动吗?
这个工具设计得比较谨慎。在运行任何可能影响系统的命令之前,它都会先征求你的明确确认,包括确认具体的 URL、确认你拥有授权,并说明该命令会做什么。
详情
作者的原始描述
Audit authorized codebases for exploitable vulnerabilities using scoped reconnaissance, adversarial review, validation, and structured reporting.
热度
- GitHub 星标
- 48k
- 排名
- #4167
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。