Skip to content

claude-security-review: action-side workflow-validation skip yields a green required check with no review performed #345

Closed

Description

@kyle-sexton

Summary

On any PR that edits .github/workflows/claude-security-review.yml in a consumer repo, the pinned action refuses to run with Workflow validation failed. The workflow file must exist and have identical content to the version on the repository's default branch — and then exits 0. The step reports success, the reusable's fail-closed mapping (which keys on failure) is never reached, Fail closed on an in-scope non-run is skipped, and the required security-review / security-review check lands SUCCESS with no review performed.

Observed live twice in claude-code-plugins: run 30859392597 (job 91837829177, PR #1896) and the same signature on #1766 (12s run, zero comments).

This is exactly the class of change ADR 0002 names as its tamper-mitigation target, so the mitigation does not hold for the workflow file itself.

Proposed direction

Action-side validation skip on an in-scope PR should map to a non-run (fail closed), not a pass. The detection likely needs to key on the action's warning output or on the absence of an execution artifact, since the step conclusion is success.

Test plan

  • Reproduce: PR editing the security caller workflow in a consumer repo → required check must NOT pass without a review having run.
  • Regression: normal PRs unaffected; genuine skips (out-of-scope paths, skip-actors) still pass by design.

Related

  • Surfaced during claude-code-plugins#1896 (ADR 0002 repair) verification.

Activity

  1. added
    needs-triage
    on Aug 4, 2026
  2. kyle-sexton commented on Aug 11, 2026

    @kyle-sexton
    MemberAuthor

    Verifier close (Wave 2 drain).

    The green-on-validation-skip defect is already addressed on main:

    • .github/actions/claude-lane-outcome projects class=skipped-validation with review-ran=false when the action skips itself.
    • claude-security-review.yml step Rule on an in-scope non-run (landed via fix(claude-security-review): rule on an in-scope non-run in two tiers #397) exits 1 when review-ran == 'false' and review-failed != 'true' — exactly the caller-drift / workflow-validation-skip shape this issue filed.
    • Contract coverage lives in claude-security-review-fail-closed.test.cjs.

    Closing as completed. No further code change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions