About security-testing
A skill for security testing in real projects, designed to produce actionable plans for execution or review. It emphasizes authorization boundaries, risk-based priorities, and evidence-backed status distinctions, without treating limited scan results as proof of system-wide security.
Key features
- 01Map assets and threats within authorized scope
- 02Test allowed and denied paths in pairs
- 03Distinguish designed, executed, and confirmed states
- 04Prioritize by risk and business impact
- 05Record stop conditions, evidence, and gaps
Use cases
- 01Plan tests with explicit authorization boundaries
- 02Assess authentication, authorization, and data protection
- 03Review control failures using execution evidence
- 04Perform design or static analysis when access is limited
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ naodeng/ awesome-qa-skills --skill security-testingAfter installing, type/security-testingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
output-formats.mdquick-start.mdREADME.mdagents/openai.yamlevals/eval.yamlevals/cases/basic-success.yamldomain-method-regression.yamledge-domain-boundary.yamledge-incomplete-input.yamlevals/fixtures/check_domain_decisions.pycheck-domain-decisions.shdomain-oracle.jsonexamples/owasp-zap-scan/README.mdrun-scan.shoutput-templates/template-csv.csvtemplate-excel.tsvtemplate-json.jsontemplate-markdown.mdtemplate-word.mdtemplate-xmind.mdprompts/security-testing.mdreferences/domain-decision-example.mdtroubleshooting.mdscripts/batch_convert_templates.pyconvert_formats.pyconvert_output_formats.pyconvert_to_csv.pyconvert_to_excel.pyconvert_to_json.pyconvert_to_markdown.pyDetails
From the project README安全测试(中文版)
英文版: 见对应英文技能。
何时使用
- 需要在真实项目里处理 security testing 相关任务。
- 需要一份可以直接用于执行、评审或跟进的结果。
执行流程
- 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
- 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出。
- 信息不全时先给可用初版,并显式标出假设与信息缺口。
- 默认 Markdown;用户指定其他格式时再切换。
领域执行要点
- 在已授权范围内建立资产/主体→威胁→控制→验证步骤→预期→证据/状态矩阵;记录环境、动作范围、停止条件与真实授权来源。
- 正常授权访问与越权拒绝成对验证;拒绝路径要核对数据未泄露、工具/写入无副作用,不能只看错误响应或扫描结果。
- 区分DESIGNED(未执行方案)、EXECUTED(有运行证据)、CONFIRMED(所给证据足以确认控制失效/漏洞);未测业务授权保持NOT_RUN/UNKNOWN,静态迹象是候选。
- 扫描无发现仅限扫描范围,不能外推系统安全;缺授权只给设计/静态分析,真实利用或生产动作须有明确允许范围,不生成危险内容或擅自扩测。
核心约束
- 按风险/业务影响排优先级,不要平均摊铺。
- 把「已确认事实」和「当前假设」分开写。
- 不要编造用户未提供的接口、字段、环境或根因细节。
- 结果必须可执行:场景具体、有优先级、能指导下一步。
按需加载
-
校准领域结果、正确对照或证据缺口时,读取 references/domain-decision-example.md 的脱敏输入、逐项预期与复算依据。
-
产出前必须阅读并遵循
prompts/security-testing.md(最低覆盖清单、输出结构、质量要求)。 -
需要 Excel/CSV/JSON/Word 等格式时:读
output-formats.md,并按用户格式要求输出。 -
需要套用现成模板时:读
output-templates/中匹配的模板,不要自创冲突结构。 -
用户要示例或对标现有资产时:读
examples/中相关样例。 -
需要框架规范、排障、报告 schema 等深资料时:只读
references/里与当前问题相关的文件,不要整目录通读。 -
需要格式转换或辅助校验时:优先使用
scripts/中已有脚本,而不是重写一遍。 -
需要评测/回归本 skill 时:使用
evals/,并用 skill-up 校验与运行。 -
用户只要最短上手路径时:读
quick-start.md。
交付前自检
- 已遵循主提示词的输出结构
- 最低覆盖关注:范围和关键资产、高风险攻击面、鉴权和授权检查、输入输出处理风险、敏感数据保护、会话或令牌处理、配置和依赖风险、优先级和业务影响…(细节以主提示词为准)
- 已覆盖最低清单,或标明为何省略
- 高风险项有明确优先级
- 未编造用户未提供的细节
- 假设与信息缺口已标明
常见误区
- 范围和上下文都不清楚时,不要假装已经完整可用。
- 不要把所有项写成同等重要。
- 不要跳过假设与信息缺口。
- 不要输出大段与当前工具链无关的空泛理论。