perform-security-review
Run the dedicated security-review pass for a change that touches security-sensitive subsystems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the dedicated security-review pass for a change that touches security-sensitive subsystems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add a new Board Support Package (BSP) crate to the Tyrne workspace — from crate skeleton through boot checklist to first QEMU or hardware boot.
Propose and draft a new Architecture Decision Record (ADR) in MADR format for Tyrne.
Run an independent verification pass over artefacts in `Proposed` / `In Review` waiting-for-promotion states. Distinct from code-review (style + correctness on a diff) and security-review (adversarial axis pass) — this skill verifies that the artefacts' claims about their own state match reality and produces a Done-promotion verdict.
Produce a review artifact in `docs/analysis/reviews/<type>-reviews/`, following that type's master plan. Works for business / code / security / performance-optimization reviews.
Change an existing Tyrne standard correctly — write or update the motivating ADR first, then update the standard file.
Add a new Rust crate to the Tyrne workspace following the dependency policy in `infrastructure.md`.
| name | perform-security-review |
| description | Run the dedicated security-review pass for a change that touches security-sensitive subsystems. |
| when-to-use | Whenever a PR touches capabilities, IPC, syscalls, memory management, scheduler, boot, cryptography, authentication boundaries, `unsafe` regions, or security-sensitive dependencies. Runs in addition to, not instead of, normal code review. |
Confirm scope. Re-read security-review.md's trigger list against the diff. If none of the triggers apply, this skill is not needed — return to the maintainer to confirm or drop the security-review requirement.
Separate this pass from code review. Do not combine them.
Work the full checklist from security-review.md — Security-review checklist. Every item gets an explicit outcome: OK, flagged, or N/A with one-sentence justification.
Checklist areas (skill applies all of them when in scope):
For each item, ask the adversarial question. Do not just verify that the happy path works; verify that a malicious caller cannot abuse the path.
Cross-check against architectural principles (see architectural-principles.md). A change that passes the checklist but violates P1 (no ambient authority), P3 (drivers in userspace), or P7 (no proprietary blobs) is not approved.
Check the audit log if the change introduces or modifies unsafe. Every unsafe change has a UNSAFE-YYYY-NNNN entry — see justify-unsafe skill. Reconcile the entry against the code.
Decide.
Security-Review: trailer (or instruct the author to add one) on the commit per commit-style.md.Record the outcome.
Security-Review: @<reviewer>.unsafe audit log reconciled if applicable.Security-Review: trailer recorded if the outcome is approve.unsafe review details.Security-Review: trailer.