Skip to content

fix(deps): Bump picomatch and drop the GHSA-fc5q-39xc-vjpf ignore #6202

Closed

Description

@dan-petty

Problem

.npm-audit-ignore.yaml ignores GHSA-fc5q-39xc-vjpf (picomatch ReDoS, high) in src/devops_cli/tools_lock/openspec/package-lock.json until 2026-11-20, because no released picomatch holds the fix (newest 4.0.7, advisory range <= 4.0.7, read 2026-11-17). OpenSpec 2.1.0 still depends on picomatch ^4.0.4.

Expected behavior

  • When picomatch publishes a fixed release, bump the OpenSpec lockfile to it (with npm install --package-lock-only, as tools.lock describes) and delete the ignore entry.
  • On the expiry date with no fix, renew the entry for 3 more days with new proof, as SECURITY.md "A Finding with No Fix" says; at most 14 days in all, then ask the owner.

Alternatives check of 2026-11-18: none.
Tool: none found.
Reason: Searches and the picomatch release list show the newest release, 4.0.7 (2026-08-24), still inside the advisory range <= 4.0.7, so no fixed version exists to bump the OpenSpec lockfile to.

Lacks:

  • No picomatch release outside the advisory range <= 4.0.7
  • OpenSpec 2.1.0 still depends on picomatch ^4.0.4
  • No patched fork or backport of the fix found
  • ReDoS fix unreleased, so the ignore entry must stay

Proposed design

Problem statement

The item cannot remove the ignore yet: the OpenSpec lockfile still resolves picomatch to a version in GHSA-fc5q-39xc-vjpf, and no released version fixes it. The item waits on a fixed picomatch release. After that release, it bumps the lockfile and deletes the ignore entry.

Acceptance criteria

Requirement: OpenSpec lockfile pins a fixed picomatch

The OpenSpec lockfile SHALL resolve picomatch to a version outside the advisory range of GHSA-fc5q-39xc-vjpf.

Scenario: Audit passes after the bump

  • WHEN uv run devops ci audit runs on the updated lockfile
  • THEN the command exits 0 and reports no finding for src/devops_cli/tools_lock/openspec/package-lock.json

Requirement: Ignore entry is removed

The repository SHALL hold no active ignore entry for GHSA-fc5q-39xc-vjpf.

Scenario: Audit has no matching ignore

  • WHEN uv run devops ci audit runs after the ignore entry is deleted
  • THEN the command exits 0 and its report names no ignore entry for GHSA-fc5q-39xc-vjpf

Existing Tool Considered

The alternatives check of 2026-11-18 records verdict none and no tool. See the alternatives block in the issue body for the reason and what lacks. No open, maintained tool or library covers the need, and this item builds no code, so no build cost applies.

Key questions

  • Which released picomatch version fixes GHSA-fc5q-39xc-vjpf?: No released version fixes it as of 2026-11-18. The newest release, 4.0.7, is still in the advisory range <= 4.0.7. [sources: src/devops_cli/tools_lock/openspec/package-lock.json]
  • How does the repository regenerate the OpenSpec lockfile?: Run npm install --package-lock-only in src/devops_cli/tools_lock/openspec and commit the changed lockfile. (best practice) [sources: src/devops_cli/tools_lock/openspec/package-lock.json, .npm-audit-ignore.yaml]
    • Chosen: npm install --package-lock-only. It updates the lockfile to the resolved fixed version and keeps the resolved URL and integrity fields.
    • Rejected: Hand edit the lockfile. It can break the resolved URL and integrity fields.
    • Rejected: Bump OpenSpec. OpenSpec 2.1.0 still depends on picomatch ^4.0.4, and the issue names no newer OpenSpec.
  • What does the project do when the ignore entry expires and no fixed release exists?: Renew the entry for 3 more days with new proof, to at most 14 days in all, then ask the owner. (best practice) [sources: .npm-audit-ignore.yaml, SECURITY.md]
    • Chosen: Renew for 3 days. SECURITY.md "A Finding with No Fix" sets this limit and keeps the advisory tracked.
    • Rejected: Ask the owner at expiry. The policy reserves the owner question for after 14 days.
    • Rejected: Remove the ignore. The audit would fail with no fixed release.

Fit

Fits in one pull request.

Suspected block

A picomatch release above 4.0.7 that fixes GHSA-fc5q-39xc-vjpf.

Dependencies

None.

Activity

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

    @dan-petty
    OwnerAuthor
    • Priority: P2-Medium. The advisory is ignored with a time limit, CI is not failing, and the fix waits on an external package release. The advisory GHSA-fc5q-39xc-vjpf 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: docs(security): ignore an unfixable finding for 3 days #3919, which asks for a different change. Both follow the time-limited ignore process for unfixable findings, but #3919 defines the process while the candidate applies it to a specific picomatch ReDoS advisory.
  3. added
    priority/p2-medium
    on Nov 17, 2026
  4. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (7)

    Tools considered:

    Searches run:

    • picomatch latest release 4.0.8, results: 5
    • GHSA-fc5q-39xc-vjpf picomatch ReDoS advisory, results: 5
    • github.com/advisories GHSA-fc5q-39xc-vjpf, results: 5
    • picomatch npm package ReDoS vulnerability fixed version, results: 5
    • micromatch picomatch changelog security fix 2026, results: 5
    • picomatch, results: 5
    • "GHSA-fc5q-39xc-vjpf" picomatch patched version, results: 5

    Sources:

  5. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Owner question: A picomatch release above 4.0.7 that fixes GHSA-fc5q-39xc-vjpf.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  6. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 19, 2026
  7. dan-petty commented on Nov 19, 2026

    @dan-petty
    OwnerAuthor

    Answer to the owner question: no picomatch release fixes GHSA-fc5q-39xc-vjpf, and none will come, because GitHub withdrew the advisory.

    Evidence, read on 2026-11-19:

    Result: #6348 removes the ignore entry and keeps picomatch 4.0.7. uv run devops ci audit exits 0 with no entry for the advisory. That pull request closes this issue.

  8. removed
    status/in-progress
    owner/agent
    on Nov 19, 2026
  9. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-19 05:06 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/lowpriority/p2-mediumscope/depssource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions