Skip to content

ci: prune the stale ignores in audit:dependencies after the glob/minimatch overrides #1411

Closed

Description

@nc9

After the glob and minimatch overrides (#1407) the lockfile no longer carries several packages that the audit:dependencies ignore list was written for. Running bun audit locally with each --ignore removed in turn shows nine of the fifteen ignores no longer match anything, so they hide nothing today and would hide a future regression of the same advisory.

Stale ignores (removing each one alone leaves bun audit clean): GHSA-22jq-vg5j-6vgg, GHSA-2v37-7h3g-55p8, GHSA-4xrf-jv44-h6hh, GHSA-ch52-4w7c-c8xp, GHSA-fxqj-rqcc-2cmp, GHSA-hp3w-g68c-fv3c, GHSA-mh99-v99m-4gvg, GHSA-mwp4-54f8-5fhr, GHSA-rgw5-rvv9-x895. Only GHSA-mh99-v99m-4gvg (brace-expansion 1.x, gone with minimatch 3) and GHSA-hp3w-g68c-fv3c have an entry in .github/dependency-audit-allowlist.md.

Still needed (removal makes the audit fail): GHSA-238p-pmpm-9mq7, GHSA-98hj-9722-w3j8, GHSA-9wv6-86v2-598j, GHSA-gcqx-w48m-w2h4, GHSA-mpr7-6m5w-76rw, GHSA-wx4j-mvgx-mqwp.

Acceptance Criteria

  • Each ignore in the audit:dependencies script is re-checked against the current lockfile on the CI bun version, and every ignore that no longer matches an advisory is removed from package.json
  • The matching entries in .github/dependency-audit-allowlist.md are removed for the ignores that go
  • bun run audit:dependencies reports no vulnerabilities after the change
  • The allowlist doc or script comment says an ignore is dropped when its advisory stops matching, so the list does not grow stale again

Activity

  1. added
    dependencies
    size: XS
    on Oct 31, 2026
  2. added theissue type on Oct 31, 2026
  3. nc9 commented on Oct 31, 2026

    @nc9
    ContributorAuthor

    Shipped in v0.0.148 (fed2bf87), verified against main: every acceptance criterion is met. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.148

    nik

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

    cidependenciessize: XS

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions