Skip to content

[BUG] M2 — vulnix_gate fail-loud on unscored CVEs and scanner crashes #755

Closed

Description

@c-vigo

Description

PR #670 review (M2). vulnix_gate.py silently skips unscored CVEs and the scan
capture swallows scanner crashes, so a crash or an unscored CRITICAL looks clean.

packages/vig-utils/src/vig_utils/vulnix_gate.py:68-70 —
if score is None or score < threshold: continue (unscored CVE = non-blocking).
security-scan.yml:82-83 runs vulnix with || true (scanner crash → [],
indistinguishable from a clean scan).

Steps to Reproduce

  1. Feed the gate a CVE with score is None → it is skipped, not blocked.
  2. Make the vulnix scan crash → || true yields [] → job passes as "clean".

Expected Behavior

score is None is treated as fail-loud (block, or surfaced separately); a
scanner crash fails the job.

Actual Behavior

Unscored CVEs silently skipped; scanner crash indistinguishable from clean.

Fix

Treat score is None as fail-loud (block, or surface separately), not silently
skipped; drop || true on the scan capture so a crash fails the job. Update
test_vulnix_gate accordingly.

Acceptance Criteria

  • score is None blocks (or is surfaced as a distinct non-clean state), not silently skipped
  • security-scan.yml scan capture no longer masks a scanner crash with || true
  • test_vulnix_gate covers the score is None case and asserts it blocks
  • TDD compliance (see .claude/skills/tdd/SKILL.md)

Files

  • packages/vig-utils/src/vig_utils/vulnix_gate.py
  • .github/workflows/security-scan.yml
  • vulnix-gate tests

Related Issues

Parent: #625. From PR #670 review (Comment 2, M2).

Changelog Category: Security

Activity

  1. added
    bug
    on Jun 30, 2026
  2. self-assigned this
    on Jun 30, 2026
  3. added
    priority:high
    area:ci
    effort:small
    security
    on Jun 30, 2026
  4. added a commit that references this issue on Jun 30, 2026
    7087347
  5. c-vigo commented on Jun 30, 2026

    @c-vigo
    ContributorAuthor

    Landed on the migration branch via #765 (merge 7087347).

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

Metadata

Metadata

Assignees

Labels

area:cibugeffort:smallpriority:highsecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions