Back to skills
SKILL.md
Authentication Testing
ASecurityUse this skill when you need evidence-bounded authentication-testing analysis and validation preparation; triggers include 身份认证测试 and authentication-testing.
- 313 stars
- 0 votes
- 0 copies
- 1 view
- Added November 6, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add naodeng/awesome-qa-skills --skill authentication-testing --agent claude-codeAre you the author of Authentication Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naodeng-authentication-testing-awesome-qa-skills)---
name: authentication-testing
description: Use this skill when you need evidence-bounded authentication-testing analysis and validation preparation; triggers include 身份认证测试 and authentication-testing.
license: PolyForm-Noncommercial-1.0.0
metadata:
version: "1.0.0"
compatibility: ""
author: "Awesome QA Skills contributors"
language: "zh-CN"
category: "testing-types"
source: "https://github.com/naodeng/awesome-qa-skills"
license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---
# 身份认证测试(中文版)
## 何时使用
- 需要围绕身份凭证、认证流程、失败路径和生命周期设计安全测试或审查准备。
- 需要在资料不完整时交付可复核初版,并明确假设、缺口和 Human 决策。
- 需要区分静态安全证据、计划中的验证和已发生的执行。
## 输出格式选项
- 默认输出 Markdown,按安全风险、证据和优先级组织。
- 用户要求表格、CSV、JSON 或工单格式时,保留相同的发现字段和证据状态。
- 输出进入自动化流程前,先确认 schema、枚举值和必填字段。
## 如何使用
1. 先读取 prompts/authentication-testing.md,执行输入审计、覆盖清单和输出合同。
2. 提取范围、环境、版本、角色、数据、依赖、限制和可用证据。
3. 围绕身份凭证、认证流程、失败路径和生命周期建立可复核场景,区分已知事实、推断和候选验证。
4. 为每项记录影响、优先级、责任角色、关闭条件和验证方法。
5. 信息不足时交付受限初版,不把风险假设写成漏洞确认或安全通过。
## 参考文件
- 每次执行必须读取 prompts/authentication-testing.md。
- 需要评测时读取 evals/eval.yaml 和匹配的 evals/cases/。
- 只有目录存在且任务需要时,才读取 references/、examples/、scripts/ 或 output-formats.md。
## 领域执行要点
- 根据已给密码、MFA、恢复或联邦机制建未认证/挑战中/已认证/锁定/恢复中的状态图,标创建、轮换、过期、撤销与重放规则。
- 输出认证状态迁移与凭证生命周期表,逐事件写预期状态/令牌、材料观察和缺口;身份验证不替代授权。
- 形成领域候选时,必须读取并遵循 [prompts/authentication-testing.md](prompts/authentication-testing.md) 的领域操作与判定流程,逐项保留合法对照、证据缺口和验证动作。
## 核心约束
- 只分析身份凭证、认证流程、失败路径和生命周期,不登录系统、不调用真实 API、不读取凭据。
- 不编造漏洞、攻击成功、修复完成、扫描覆盖或安全通过结论。
- 缺少证据时标记待确认、blocked 或 unassessed,并给出隔离验证方法。
- 风险接受、例外授权和发布判断必须留给 Human。
## 交付前自检
- [ ] 已完成 known、missing、conflicting、stale、out_of_scope、assumptions 审计。
- [ ] 已覆盖身份认证、触发条件、预期关注点和证据状态。
- [ ] 已分离事实、推断、建议、信息缺口和 Human 决策。
- [ ] 未把静态发现或 dry-run 写成真实攻击、漏洞不存在或发布批准。
## 常见误区
- 把泛化安全审查或 API 合同检查当成身份认证测试的完整替代。
- 只列攻击名,不写适用范围、证据、预期结果和关闭条件。
- 信息不足时直接判定安全,或为了完整性读取真实凭据。
## 最佳实践
- 从高影响、难探测、权限敏感或数据敏感路径开始。
- 使用脱敏材料、最小权限、隔离环境和可回滚验证建议。
- 让另一位工程师能根据来源和边界复核每个安全结论。
Files in this skill
- SKILL.md
- agents/openai.yaml
- evals/cases/basic-success.yaml
- evals/cases/domain-method-control.yaml
- evals/cases/domain-method-success.yaml
- evals/cases/edge-incomplete-input.yaml
- evals/cases/edge-scope-boundary.yaml
- evals/eval.yaml
- evals/local-rules.json
- evals/trigger-prompts.csv
- prompts/authentication-testing.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.