Report a removed hold path as a finding in security-review when no owner threat model is declared

オープン
#20,951 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell
領域
security

調査の方向性

Read plugins/review/skills/security-review/SKILL.md and the evaluation procedure in docs/review/evals.md; the issue links the prior change and evaluation run for context. Update the rule so a removed hold path is reported when no owner threat model is declared, while preserving the takeover-set carve-out and consumer-agnostic opt-in. Done means the listed evaluation cases meet their acceptance criteria and the takeover-set rule remains explicit.

索引モデルが issue の本文から書いたものです。

説明

Context

#20265 made /review:security-review apply an owner threat model only when the default branch declares one, with a takeover-set carve-out. Its post-merge suite (https://github.com/melodic-software/claude-code-plugins/pull/20265#issuecomment-7368249063, run 47036552534, 5 runs per arm, VALID) scored the new case security-review-owner-threat-model-no-declaration at 0.40 with the plugin vs 0.50 without. The deterministic cites-hold-line grader passed 2/5 with vs 5/5 without. The failing with-plugin replies report "No security findings" and mention the config/hold-paths.txt hold removal only in prose, so the skill change is the cause, not the grader.

The revert (#20850) was closed in favor of fixing forward; the reasons are on that PR.

Proposed work

  • Make the security-review skill treat a hold removal as a finding when the repository declares no owner threat model: with no declaration, no friction exemption applies, and the removed hold path is reported at its own severity with the line it sits on.
  • Keep the takeover-set carve-out and the consumer-agnostic opt-in unchanged.
  • Re-run the case and the other affected security-review-* cases per docs/review/evals.md.

Acceptance criteria

  • security-review-owner-threat-model-no-declaration scores above its no-plugin arm (0.50) over 5 runs per arm, VALID.
  • security-review-owner-threat-model-takeover-hold and -friction-hold show no loss against their #20265 post-merge scores.
  • plugins/review/skills/security-review/SKILL.md still says a hold on a file in the declared takeover set is never a friction hold.

🤖 Generated with Claude Code

主要言語
Shell
スター
22
フォーク
2
平均マージ
3時間 20分
マージ済み PR(30日)
956

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。