security-review
Threat model alignment, security diff analysis, SAST integration, independent verifier policy, escape hatch denial, and audit logging
- License 许可
- MIT
- 所属仓库
- poppyTM/oride
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- security-review
- description
- Threat model alignment, security diff analysis, SAST integration, independent verifier policy, escape hatch denial, and audit logging
02 资源文件 7
- 参考文档checks/security-review-checklist.md575 B
- 参考文档examples/pr_security_review.md2.4 KB
- 参考文档manifest.json1.8 KB
- 参考文档references/code-review-guide.md1.8 KB
- 脚本scripts/review_checklist_generator.sh63 B
- 脚本scripts/verify.sh4.0 KB
- 参考文档templates/security-review-report.md989 B
03 SKILL.md 正文
Security-Focused Code Review
1. Threat Model Alignment
Verify every pull request against the system threat model and trust boundaries. Evaluate whether proposed changes introduce new attack vectors, expand attack surfaces, or alter privilege boundaries.
2. Security-Focused Diff Prioritization
Prioritize scrutiny on code modifications touching authentication, authorization, cryptographic routines, session handling, input deserialization, and network egress.
3. Automated SAST & Security Linter Gates
Require 100% clean passes from static application security testing (SAST) tools (e.g. CodeQL, Semgrep, gosec) as mandatory pre-conditions for review approval.
4. Independent Verifier Policy
Enforce the Prumo Independent Verifier policy: any change categorized with High or Critical risk must be reviewed by a distinct, specialized security reviewer or persona.
5. Security Acceptance Criteria Verification
Verify that security-related pull requests include dedicated automated regression test cases demonstrating that the identified vulnerability is eliminated.
6. Denial of Unregistered Escape Hatches
Strictly reject pull requests introducing banned unsafe constructs (raw pointers, @trusted, memory reinterpret casts, or linter suppression directives) without formal registration in .prumo/escape-hatches.json.
7. Defense-in-Depth Verification
Ensure that security architecture does not rely on a single defensive layer. Verify multiple interlocking safeguards (e.g. database-level constraints combined with application-level authorization).
8. Security Regression Prevention
Mandate automated unit or integration tests for every security bug fix, ensuring the test fails against the vulnerable baseline and passes with the fix.
9. Structured Review Findings Format
Emit security review findings using standard severity ratings (Critical, High, Medium, Low) with explicit file links, line ranges, vulnerability explanations, and suggested code patches.
10. Audit Trail & Compliance Records
Log the final security review verdict, reviewer identity, timestamp, commit hash, and verification gate evidence permanently into the project compliance history.
04 同仓库更多 Skills
zoom-reflow
暂无简介
wireframe-styleguide
暂无简介
visual-regression
Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates
ui-implementation
Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.
tui-editor-engine
Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.
tree-sitter-context-indexing
暂无简介