Repository navigation
fix(deps): resolve frontend npm advisories blocking the dependency gate - #22
Merged
Merged
Conversation
npm audit fix bumps the patched body-parser (prod high, GHSA-27r3-jxmh-p828), fast-uri and ip-address. Two non-breaking overrides pin the remaining build-time advisories without downgrading the toolchain: undici 7.30.1 (above all three advisory ceilings, under @angular/build) and postcss-selector-parser 6.1.5 (advisory <6.1.5). npm audit reports 0 vulnerabilities, production and full. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The braces advisory is no longer reported by npm audit (the full audit covers dev dependencies and finds nothing), so the exception is stale and the gate's stale-entry check requires removing it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolve the vulnerable frontend npm packages so the Dependency gates check passes. These advisories exist on
developtoday and block every open pull request from merging.Why
Closes #21. The gate reports a production
body-parserhigh plusundici,fast-uriandip-addressadvisories; all PRs are blocked untildevelopis clean.Changes
npm audit fixbumps the patchedbody-parser(production high, GHSA-27r3-jxmh-p828 — DoS),fast-uriandip-address— no major bumps.@angular/build→ v20 / typography downgrade):undici→7.30.1(above all three advisory ceilings<7.30.1, within 7.x, under@angular/build).postcss-selector-parser→6.1.5(advisory range<6.1.5, within 6.x).bracesallowlist entry — the advisory is no longer reported bynpm audit, so the gate's stale-entry check requires dropping it.These are real fixes, not allowlist acceptances: the gate now reports 0 accepted exceptions and
npm auditfinds 0 vulnerabilities, production and full.Notes for reviewers
node .github/scripts/npm-audit-gate.mjs src/frontend) → PASS, exit 0.undici/postcss-selector-parserare build-time (dev) deps and never reach the nginx runtime image; the overrides simply remove the advisory noise cleanly.developis clean, fix(security): outbound-fetch allow-list, scrape budget, AutoPilot input, auth/XML hardening #19 and docs(contributing): issue-first flow with linked PRs and issue templates #20 only needdevelopmerged into them to turn their gate green.Checklist
Closes #21above)developand is about one thingfix(deps): ...,chore(deps): ...)