Skip to content

fix(ci): Let npm audit ignore a no-fix finding until a date #6204

Closed

Description

@dan-petty

Problem

The audit row of Static Analysis fails on main (e6f5718, run 44136129312). uv audit is clean. npm audit of src/devops_cli/tools_lock/openspec/package-lock.json reports GHSA-fc5q-39xc-vjpf (picomatch ReDoS through repeated extglobs, high, CVSS 7.5) on picomatch 4.0.7, through tinyglobby 0.2.17 and fdir.

No released version holds the fix (read 2026-11-17): the advisory names no patched version and covers <= 4.0.7; picomatch 4.0.7 is the newest release; the newest OpenSpec, 2.1.0, depends on picomatch ^4.0.4 and tinyglobby ^0.2.17. The rule "A Finding with No Fix" in SECURITY.md then asks for a time-limited ignore entry in the ignore file of the scanner. npm audit has no ignore file, and devops ci audit reads none, so the rule cannot be applied and every pull request fails the required check.

Expected behavior

  • devops ci audit reads .npm-audit-ignore.yaml, in the format of .trivyignore.yaml (id, paths, statement, expired_at).
  • An entry applies only to its advisory ID and the lockfile paths it names, and only until its expired_at date. An expired entry does not apply, and the audit says that it expired.
  • An npm audit report passes only when every advisory in it has an entry that applies. The audit prints each ignored advisory with its expiry and statement.
  • The file holds one entry for GHSA-fc5q-39xc-vjpf on the OpenSpec lockfile, expiring 2026-11-20, with the tracking issue.

Activity

  1. added
    type/bug
    scope/ci
    source/agent
    status/new
    effort/medium
    on Nov 17, 2026
  2. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The body states every pull request fails the required check, which is a CI failure. The failed run 44136129312 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Related: fix(deps): Bump picomatch and drop the GHSA-fc5q-39xc-vjpf ignore #6202, which asks for a different change. Both target the same advisory and lockfile, but the candidate creates the ignore mechanism while #6202 bumps the dependency and deletes the entry once a fix ships.
  3. added
    value/high
    priority/p1-high
    status/in-progress
    and removed
    status/new
    on Nov 17, 2026
  4. removed
    status/in-progress
    on Nov 17, 2026
  5. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-17 19:36 UTC

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

    effort/mediumpriority/p1-highscope/cisource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions