Skip to content

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

Merged
dan-petty merged 2 commits into
mainfrom
fix/6204-npm-audit-ignore-until-a-date
Nov 17, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6204-npm-audit-ignore-until-a-date

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The audit row failed on main and on every pull request: npm audit of the OpenSpec lockfile reports GHSA-fc5q-39xc-vjpf (picomatch ReDoS, high), and no released picomatch fixes it. SECURITY.md "A Finding with No Fix" asks for a time-limited ignore entry, but npm audit reads no ignore file.

devops ci audit and the gate's audit row now read .npm-audit-ignore.yaml, in the form of .trivyignore.yaml. A report of findings passes only when an entry for its lockfile covers each advisory before its expired_at day. An entry names one advisory, each lockfile and a tracking issue; a wildcard is refused. The audit prints each entry it used or that expired. An audit that could not run never passes.

One entry: GHSA-fc5q-39xc-vjpf on the OpenSpec lockfile until 2026-11-20, tracked by #6202.

Closes #6204

Change: openspec/changes/archive/2026-11-17-6204-npm-audit-ignore-until-a-date/

npm audit reads no ignore file, so the no-fix rule of SECURITY.md could
not be applied: GHSA-fc5q-39xc-vjpf (picomatch ReDoS, no released fix)
failed the audit row on main and every pull request. devops ci audit and
the gate row now read .npm-audit-ignore.yaml in the .trivyignore.yaml
form, with one entry until 2026-11-20 tracked by #6202.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 17, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Proof for the ignore entry (SECURITY.md, A Finding with No Fix), read 2026-11-17:

  • Fixed version that the scanner names: none. GHSA-fc5q-39xc-vjpf covers picomatch <= 4.0.7 and gives no first patched version. npm audit offers only a downgrade of OpenSpec to 1.14.2.
  • Newest release of the pinned package: @fission-ai/openspec 2.1.0 (2026-11-17). Its package.json depends on picomatch ^4.0.4 and tinyglobby ^0.2.17. tinyglobby 0.2.17 (newest) depends on picomatch ^4.0.4.
  • Newest picomatch: 4.0.7 (2026-08-24), which the lockfile holds.

Ignores that this pull request adds:

Advisory Lockfile Expires Tracking issue
GHSA-fc5q-39xc-vjpf src/devops_cli/tools_lock/openspec/package-lock.json 2026-11-20 #6202

uv run devops ci audit on this branch: passes and prints the ignored advisory.

@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 18:15
@dan-petty
dan-petty merged commit b1a0266 into main Nov 17, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/6204-npm-audit-ignore-until-a-date branch November 17, 2026 18:15
dan-petty pushed a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.173.3](v0.173.2...v0.173.3)
(2026-11-17)


### Bug Fixes

* **ci:** Let npm audit ignore a no-fix finding until a date
([#6205](#6205))
([b1a0266](b1a0266))
* **ci:** Show the row name in every gate row line
([#6188](#6188))
([319cdb8](319cdb8))
* **git:** Give the branch-current fetch a 24 second limit
([#6190](#6190))
([a116fa2](a116fa2))
* **github:** Retry a timed-out gh auth token lookup
([#6201](#6201))
([ffa602f](ffa602f))
* **roadmap:** Keep the alternatives result in the body block only
([#6208](#6208))
([6cb6e23](6cb6e23))
* **roadmap:** Leave other job comments out of the alternatives request
([#6192](#6192))
([e6f5718](e6f5718))
* **roadmap:** One plan-state comment for each plan PR
([#6209](#6209))
([32a0df2](32a0df2)),
closes [#6197](#6197)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant