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

Offen
#20,951 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
shell
Bereich
security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
3 Std. 20 Min.
Gemergte PRs (30 T.)
956

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.