English
Execution Contract
Default to standard; explicit invocation is required.
Complete one primary task by default. Continue an authorized end-to-end workflow within each Skill's permissions; Router remains recommendation-only. Pause for new material decisions or scope, not authorization already given.
Validate according to actual risk; security, production, migrations, releases and other high-risk work use audit. Read references/execution-modes.en.md only when mode selection is unclear.
Security Focused Review
Perform a defensive, scoped security review. Do not attack systems, access production, or implement fixes.
Boundary
- Route broad correctness review to
safe-code-review, repository-wide health to project-health-check, and implementation to safe-fix-implementation.
- Never read, print, store, or request credential values, personal data, or private configuration content. Report names and locations only.
- Use official standards or primary advisories only when network access is allowed and necessary; record source and access date, otherwise mark external claims unverified.
- Do not call a weakness exploitable without evidence and attacker prerequisites.
Workflow
- Define scope, assets, entry points, trust boundaries, actors, privileges, data flows, and attacker capabilities.
- Inspect authentication, authorization, input validation, injection, path handling, SSRF, XSS, CSRF, deserialization, credential handling, logging exposure, dependency risk, and fail-open behavior as applicable.
- Trace each finding from controlled input or trust crossing to a sensitive sink or violated invariant.
- Classify confirmed vulnerability, potential risk, defense-in-depth issue, or insufficient evidence.
- For every finding report location, evidence, attack prerequisites, exploitability, impact, severity, confidence, repair direction, and safe validation.
- Avoid active exploitation; propose non-destructive tests or review evidence only.
Output Contract
- Scope, assets, and trust boundaries
- Evidence and sources
- Findings with classification, severity, prerequisites, exploitability, impact, and confidence
- Repair direction and safe validation
- Positive controls observed
- Unknowns and excluded attack surfaces
简体中文
执行契约
默认使用 standard;仅允许用户显式调用。
默认完成一个主任务。用户已授权完整流程时,在各 Skill 权限内连续完成;Router 仍只推荐。新重大决策或超出授权时暂停,不重复索取已有授权。
按实际风险选择验证;安全、生产、迁移、发布等高风险工作使用 audit。模式不明确时才读取 references/execution-modes.zh-CN.md。
安全专项审查
执行防御性、范围明确的安全审查,不攻击系统、不访问生产、不实施修复。
职责边界
- 广泛正确性审查交给
safe-code-review,全仓健康交给 project-health-check,实施交给 safe-fix-implementation。
- 不读取、输出、记录或索取凭证值、个人数据和私有配置内容,只报告名称和位置。
- 仅在允许且必要时使用官方标准或原始公告,记录来源和访问日期;否则外部主张标为未验证。
- 没有证据和攻击前提时,不得声称问题可利用。
工作流程
- 明确范围、资产、入口、信任边界、参与者、权限、数据流和攻击者能力。
- 按适用情况检查认证、授权、输入校验、注入、路径处理、SSRF、XSS、CSRF、反序列化、凭证处理、日志泄漏、依赖风险和 fail-open 行为。
- 将每个发现从受控输入或信任边界跨越追踪到敏感 sink 或不变量破坏。
- 分类为已证实漏洞、潜在风险、纵深防御问题或证据不足。
- 每项报告位置、证据、攻击前提、可利用性、影响、严重度、置信度、修复方向和安全验证。
- 避免主动利用,只建议非破坏测试或审查证据。
输出契约
- 范围、资产与信任边界
- 证据与来源
- 发现、分类、严重度、攻击前提、可利用性、影响和置信度
- 修复方向与安全验证
- 已观察到的正向控制
- 未知项与排除攻击面
1---2name: security-focused-review3description: Explicit-invocation scoped security review that establishes assets, trust boundaries, attacker prerequisites, and evidence-backed findings across the named security surface. Do not trigger for general code review, run attacks, access production, reveal credentials, or implement fixes. 仅显式调用:针对指定安全边界建立资产、信任边界和攻击前提,并输出有证据的专项发现。不得因普通代码审查而触发,不执行攻击、不访问生产、不显示凭据,也不实施修复。4---56# English78## Execution Contract910Default to `standard`; explicit invocation is required.11Complete one primary task by default. Continue an authorized end-to-end workflow within each Skill's permissions; Router remains recommendation-only. Pause for new material decisions or scope, not authorization already given.12Validate according to actual risk; security, production, migrations, releases and other high-risk work use `audit`. Read `references/execution-modes.en.md` only when mode selection is unclear.1314# Security Focused Review1516Perform a defensive, scoped security review. Do not attack systems, access production, or implement fixes.1718## Boundary19- Route broad correctness review to `safe-code-review`, repository-wide health to `project-health-check`, and implementation to `safe-fix-implementation`.20- Never read, print, store, or request credential values, personal data, or private configuration content. Report names and locations only.21- Use official standards or primary advisories only when network access is allowed and necessary; record source and access date, otherwise mark external claims unverified.22- Do not call a weakness exploitable without evidence and attacker prerequisites.2324## Workflow251. Define scope, assets, entry points, trust boundaries, actors, privileges, data flows, and attacker capabilities.262. Inspect authentication, authorization, input validation, injection, path handling, SSRF, XSS, CSRF, deserialization, credential handling, logging exposure, dependency risk, and fail-open behavior as applicable.273. Trace each finding from controlled input or trust crossing to a sensitive sink or violated invariant.284. Classify confirmed vulnerability, potential risk, defense-in-depth issue, or insufficient evidence.295. For every finding report location, evidence, attack prerequisites, exploitability, impact, severity, confidence, repair direction, and safe validation.306. Avoid active exploitation; propose non-destructive tests or review evidence only.3132# Output Contract331. Scope, assets, and trust boundaries342. Evidence and sources353. Findings with classification, severity, prerequisites, exploitability, impact, and confidence364. Repair direction and safe validation375. Positive controls observed386. Unknowns and excluded attack surfaces3940# 简体中文4142## 执行契约4344默认使用 `standard`;仅允许用户显式调用。45默认完成一个主任务。用户已授权完整流程时,在各 Skill 权限内连续完成;Router 仍只推荐。新重大决策或超出授权时暂停,不重复索取已有授权。46按实际风险选择验证;安全、生产、迁移、发布等高风险工作使用 `audit`。模式不明确时才读取 `references/execution-modes.zh-CN.md`。4748# 安全专项审查4950执行防御性、范围明确的安全审查,不攻击系统、不访问生产、不实施修复。5152## 职责边界53- 广泛正确性审查交给 `safe-code-review`,全仓健康交给 `project-health-check`,实施交给 `safe-fix-implementation`。54- 不读取、输出、记录或索取凭证值、个人数据和私有配置内容,只报告名称和位置。55- 仅在允许且必要时使用官方标准或原始公告,记录来源和访问日期;否则外部主张标为未验证。56- 没有证据和攻击前提时,不得声称问题可利用。5758## 工作流程591. 明确范围、资产、入口、信任边界、参与者、权限、数据流和攻击者能力。602. 按适用情况检查认证、授权、输入校验、注入、路径处理、SSRF、XSS、CSRF、反序列化、凭证处理、日志泄漏、依赖风险和 fail-open 行为。613. 将每个发现从受控输入或信任边界跨越追踪到敏感 sink 或不变量破坏。624. 分类为已证实漏洞、潜在风险、纵深防御问题或证据不足。635. 每项报告位置、证据、攻击前提、可利用性、影响、严重度、置信度、修复方向和安全验证。646. 避免主动利用,只建议非破坏测试或审查证据。6566# 输出契约671. 范围、资产与信任边界682. 证据与来源693. 发现、分类、严重度、攻击前提、可利用性、影响和置信度704. 修复方向与安全验证715. 已观察到的正向控制726. 未知项与排除攻击面