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

Aperta
#20,951 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
3h 20m
PR unite (30g)
956

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.