跳到正文
Skillpedia
安全48k · #4167

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cloudflare-security-audit/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. 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.
  • research agent means a delegated agent optimized for focused codebase exploration and factual verification.
  • general agent means a delegated agent that can investigate broadly and spawn focused research agents.
  • subagent_type means 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 origin owner/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 prompts
  • REPORT.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:

  1. 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4167
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能