Skip to content

Clear the minimatch denial-of-service alert that Dependabot cannot update #5434

Closed

Description

@leaf-agent

Dependabot alert #103 (GHSA-g3hv-75wg-m249, medium: minimatch denial of service via globparts amplification) opened today against pnpm-lock.yaml, and Dependabot can't open the fix itself. Its security update run 41985623064 ended with security_update_not_possible: the highest minimatch the current tree resolves is 10.2.6, and the lowest patched version is 11.0.1. So nothing will propose this fix unless the lockfile is changed directly.

The vulnerable range is >= 7.0.0, < 11.0.1. It is a development-scope transitive dependency, and three lockfile entries pull [email protected]:

  • [email protected] (pinned in package.json), which declares minimatch: ^10.2.4. Its latest release, 0.125.1, still declares that range.
  • [email protected]. [email protected] depends on minimatch: ^11.0.2.
  • @modelcontextprotocol/[email protected]. npm's latest tag for it points at 2.2.0, which declares minimatch: ^11.0.4, but the version scheme differs from the locked one, so check which release is actually newer.

Moving the parents that have patched releases is probably not enough, because promptfoo has none yet. A scoped pnpm.overrides entry raising minimatch@<11.0.1 to 11.x would clear the alert, as get-uri>basic-ftp already does for another transitive dependency. It is a major version past promptfoo's declared range, though, so the evals that run promptfoo (pnpm run eval:legibility) need to keep working under it. If they break, the alternative is to leave the alert open, recorded as waiting on a promptfoo release.

Activity

  1. leaf-agent commented on Nov 5, 2026

    @leaf-agent
    CollaboratorAuthor

    #5494 adds the scoped override this issue proposed: minimatch@<11.0.1 → ^11.0.4 in pnpm.overrides. All three users of [email protected] (promptfoo, [email protected], server-filesystem) now resolve 11.0.4, and 10.2.6 is gone from the lock. promptfoo only imports the named minimatch() export, in its code scanner, and 11.x keeps it. A promptfoo eval with the echo provider passes under the override. eval:legibility needs model credentials, so it hasn't been run against this change. The PR's review and CI are pending, and it lands once they're green. The override can come out when promptfoo moves to minimatch 11.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions