river-review-security
セキュリティ観点の通常レビューエージェント。 基本的なセキュリティチェック、認証・認可設計、プライバシー設計の個別スキルへルーティングする。 repository / subsystem の明示的な security audit は river-review-security-audit へ委譲する。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- id
- river-review-security
- name
- river-review-security
- tags
- [ "security", "entry", "routing" ]
- phase
- [ "midstream" ]
- applyTo
- [ "src/**/*.{ts,tsx,js,jsx,mjs}", "**/*.env*", "**/auth/**/*", "**/middleware/**/*" ]
- license
- MIT
- version
- 0.2.0
- category
- midstream
- severity
- critical
- outputKind
- [ "findings", "actions" ]
- description
- セキュリティ観点の通常レビューエージェント。 基本的なセキュリティチェック、認証・認可設計、プライバシー設計の個別スキルへルーティングする。 repository / subsystem の明示的な security audit は river-review-security-audit へ委譲する。
- inputContext
- [ "diff", "fullFile" ]
02 资源文件 1
- 参考文档references/ROUTING.md2.0 KB
03 SKILL.md 正文
Security Review(セキュリティレビュー)
セキュリティに影響する変更を検出し、適切な個別スキルで検証する。
When to Use / いつ使うか
- 認証・認可に関わるコード変更時
- 外部入力の処理ロジック変更時
- 機密データの取り扱い変更時
- セキュリティ関連の設定変更時
- 通常の PR / diff に対するセキュリティレビュー時
Security Audit Handoff
この skill は通常の diff-oriented security review を担当する。
ユーザーが repository-wide audit、subsystem audit、full security audit など、現在の diff を越える明示的な監査を要求した場合は river-review-security-audit へ委譲する。
PR / diff security review
-> river-review-security
repository / subsystem security audit
-> river-review-security-audit
単に「セキュリティ観点でレビュー」と指定された場合は本 skill を継続する。
security audit という語だけで full repository audit を推測しない。対象範囲が repository / subsystem / bounded source surface として明示されている場合だけ handoff する。
Routing / ルーティング
| キーワード | スキルID | 説明 |
|---|---|---|
| 脆弱性, XSS, SQLi, インジェクション | security-basic |
基本セキュリティチェック |
| プライバシー, 個人情報, GDPR | security-privacy-design |
プライバシー設計 |
| 認可, 権限, アクセス制御 | trust-boundaries-authz |
信頼境界・認可設計 |
デフォルト動作
- キーワード指定なし →
security-basicを実行 - セキュリティ関連ファイル(auth/, middleware/)→ 全スキル実行
Execution Flow / 実行フロー
0. 監査要求の判定
├─ 明示的な repository/subsystem audit → river-review-security-audit へ委譲
└─ 通常 PR/diff review → 以下を継続
1. 変更内容の分類
├─ 認証・認可コード → trust-boundaries-authz を優先
├─ データ処理コード → security-privacy-design を優先
└─ 一般コード → security-basic を実行
2. 各スキルの実行
├─ security-basic: OWASP Top 10チェック
├─ security-privacy-design: プライバシー影響分析
└─ trust-boundaries-authz: 認可モデル検証
3. 統合サマリの生成
Output Format / 出力形式
<file>:<line>: <message>
- Finding: 何が問題か(1文)
- Severity: critical / major / minor
- Impact: 何が困るか(短く)
- Fix: 次の一手(最小の修正案)
他スキルとの関係
river-review-security-audit は通常 diff review ではなく、明示的な repository / subsystem audit を担当する委譲先である。
| スキル | 関係 | 棲み分け |
|---|---|---|
adversarial-review (War Game) |
補完 | security は既知パターン検出、War Game は未知の攻撃経路発見 |
river-review-architecture |
補完 | security は「脆弱性」、architecture は「構造的安全性」 |
References
- ROUTING.md: 詳細なルーティングルール
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.