Skip to content

Allowlist the dev-only minimatch advisory (no compatible typedoc fix) #362

Closed

Description

@ffumero2003

Context

The Dependency audit CI job (the repo's pnpm audit policy) fails on main with a moderate advisory in minimatch (GHSA-g3hv-75wg-m249, globparts DoS, vulnerable >=7.0.0 <11.0.1, fixed 11.0.1). It is a dev-only transitive dependency reached through eslint and typedoc (.>@eslint/js>eslint>minimatch, ~46 paths); the published package has zero runtime dependencies, so it never ships.

It has no compatible fix: forcing minimatch to 11.0.1 breaks typedoc, which calls minimatch's removed private matchOne API. The latest stable typedoc (0.28.20) declares minimatch ^10.2.5; there is no typedoc release that supports minimatch 11 (next is 1.0.0-dev prereleases), and patching typedoc breaks the audit tooling (it reconstructs a minimal file set and cannot resolve patches).

So this is a dev-only advisory with no compatible fix — the appropriate action is an explicit, expiring risk acceptance via the repo's own allowlist (.github/audit-allowlist.txt), not a version bump.

Acceptance criteria

  • .github/audit-allowlist.txt on main contains one valid entry for GHSA-g3hv-75wg-m249 (format: GHSA-... expires=YYYY-MM-DD approver=@handle reason="...").
  • The Dependency audit job passes on main.
  • No dependency or lockfile change (allowlist only).

Scope / out of scope

In scope: the single allowlist entry.
Out of scope: bumping minimatch/typedoc (no compatible combination exists) and the 15 dev-tooling Dependabot alerts (handled in #360/#361).

Notes

Activity

  1. added this to the v0.5.0 milestone on Nov 5, 2026
  2. self-assigned this
    on Nov 5, 2026
  3. added theissue type on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: ciArea: CI / GitHub Actionsarea: securityArea: securitydependenciesPull requests that update a dependency file

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions