Skip to content

[SECURITY][P1] audit gate blocks all PRs: 3 unbaselined high advisories in shared lockfiles (shell-quote, brace-expansion, js-yaml) #5394

Description

@koala73

Problem

The required security-audit gate (and its audit-lockfile matrix) is failing on every open PR because newly-disclosed high-severity advisories in shared lockfiles are not yet baselined or patched. The gate job reports:

Required PR gates did not pass: biome,security-audit

audit-lockfile (root) reports 3 unbaselined high+ production advisories in package-lock.json:

Severity Advisory Package
high GHSA-395f-4hp3-45gv shell-quote — quadratic-complexity DoS in parse()
high GHSA-3jxr-9vmj-r5cp brace-expansion — DoS via exponential {} expansion
high GHSA-52cp-r559-cp3m js-yaml — YAML merge-key chains force quadratic CPU

audit-lockfile also fails for blog-site, pro-test, and scripts lockfiles (root/blog-site/pro-test/scripts red; consumer-prices-core/docker-runtime green).

Why this is untracked / not PR-specific

These are transitive dependencies. They surface on any PR re-run today regardless of the PR's diff — e.g. PR #5393 (an analytics-only change touching 3 non-lockfile files) fails security-audit identically. Older PR runs (e.g. #5371) show the audit green only because they ran before the advisories were published.

Remediation

npm audit reports fix available via npm audit fix for all three (no --force, so semver-compatible, non-breaking):

Impact

Blocks merge of all open PRs until resolved. Best fixed in one dedicated lockfile-remediation PR rather than bundled into unrelated feature/fix branches (avoids cross-PR lockfile conflicts across the active worktrees).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions