agentleFS
s977043s977043/river-review/skills/agent-skills/river-review-security/SKILL.md

river-review-security

Skill7 starsChanged 5 months agoMITView on GitHub

セキュリティ観点の通常レビューエージェント。 基本的なセキュリティチェック、認証・認可設計、プライバシー設計の個別スキルへルーティングする。 repository / subsystem の明示的な security audit は river-review-security-audit へ委譲する。

  • Reads credentials

The file

Files
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基本セキュリティチェック
プライバシー, 個人情報, GDPRsecurity-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: 詳細なルーティングルール

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.