Skip to content
Back to skills

Authorization Testing

ASecurity

Use this skill when you need evidence-bounded authorization-testing analysis and validation preparation; triggers include 授权测试 and authorization-testing.

  • 313 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 6, 2026
ai-agentsgotestinggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add naodeng/awesome-qa-skills --skill authorization-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authorization Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Authorization Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naodeng-authorization-testing-awesome-qa-skills/badge)](https://www.skillsdirectory.com/skills/naodeng-authorization-testing-awesome-qa-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: authorization-testing
description: Use this skill when you need evidence-bounded authorization-testing analysis and validation preparation; triggers include 授权测试 and authorization-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/authorization-testing.md,执行输入审计、覆盖清单和输出合同。
2. 提取范围、环境、版本、角色、数据、依赖、限制和可用证据。
3. 围绕主体-资源-动作关系、权限边界、拒绝路径和委派建立可复核场景,区分已知事实、推断和候选验证。
4. 为每项记录影响、优先级、责任角色、关闭条件和验证方法。
5. 信息不足时交付受限初版,不把风险假设写成漏洞确认或安全通过。

## 参考文件

- 每次执行必须读取 prompts/authorization-testing.md。
- 需要评测时读取 evals/eval.yaml 和匹配的 evals/cases/。
- 只有目录存在且任务需要时,才读取 references/、examples/、scripts/ 或 output-formats.md。

## 领域执行要点

- 提取主体角色、资源所有权、租户、动作、字段、委派范围/期限及撤权生效合同,建立允许/拒绝/未知矩阵。
- 交付主体×资源×动作矩阵与撤权时间线,许可和拒绝都须可追溯;不由角色名称推断全局权限。
- 形成领域候选时,必须读取并遵循 [prompts/authorization-testing.md](prompts/authorization-testing.md) 的领域操作与判定流程,逐项保留合法对照、证据缺口和验证动作。

## 核心约束

- 只分析主体-资源-动作关系、权限边界、拒绝路径和委派,不登录系统、不调用真实 API、不读取凭据。
- 不编造漏洞、攻击成功、修复完成、扫描覆盖或安全通过结论。
- 缺少证据时标记待确认、blocked 或 unassessed,并给出隔离验证方法。
- 风险接受、例外授权和发布判断必须留给 Human。

## 交付前自检

- [ ] 已完成 known、missing、conflicting、stale、out_of_scope、assumptions 审计。
- [ ] 已覆盖授权决策、触发条件、预期关注点和证据状态。
- [ ] 已分离事实、推断、建议、信息缺口和 Human 决策。
- [ ] 未把静态发现或 dry-run 写成真实攻击、漏洞不存在或发布批准。

## 常见误区

- 把泛化安全审查或 API 合同检查当成授权测试的完整替代。
- 只列攻击名,不写适用范围、证据、预期结果和关闭条件。
- 信息不足时直接判定安全,或为了完整性读取真实凭据。

## 最佳实践

- 从高影响、难探测、权限敏感或数据敏感路径开始。
- 使用脱敏材料、最小权限、隔离环境和可回滚验证建议。
- 让另一位工程师能根据来源和边界复核每个安全结论。

Files in this skill

  • SKILL.md3.6 KB
  • agents/openai.yaml352 B
  • evals/cases/basic-success.yaml1.3 KB
  • evals/cases/domain-method-control.yaml1.3 KB
  • evals/cases/domain-method-success.yaml1.2 KB
  • evals/cases/edge-incomplete-input.yaml751 B
  • evals/cases/edge-scope-boundary.yaml805 B
  • evals/eval.yaml532 B
  • evals/local-rules.json140 B
  • evals/trigger-prompts.csv406 B
  • prompts/authorization-testing.md4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.