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

Aberta
#20,951 2 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
shell
Domínio
security

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Shell
Estrelas
22
Forks
2
Merge médio
3h 20min
PRs com merge (30d)
956

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de melodic-software/claude-code-plugins

Todas as issues de melodic-software/claude-code-plugins

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.