Skip to content

fix(security): resolve npm audit high-severity vulnerabilities (round 2)#74

Merged
Sam-Aitech merged 1 commit into
mainfrom
fix/npm-audit-high-vulns-2
Jul 24, 2026
Merged

fix(security): resolve npm audit high-severity vulnerabilities (round 2)#74
Sam-Aitech merged 1 commit into
mainfrom
fix/npm-audit-high-vulns-2

Conversation

@Sam-Aitech

Copy link
Copy Markdown
Owner

Why

Same recurring issue as #55: npm audit --audit-level=high (the Dependency Audit check) fails on every open PR whenever the JS lockfile drifts — including pure-Python Dependabot bumps like #71, which is what surfaced this.

New highs since #55: 3× axios advisories (DoS via recursion, prototype pollution, ReDoS), brace-expansion ReDoS, PostCSS arbitrary file read.

What

npm audit fix (non-forced) — lockfile-only, package.json unchanged, no direct-dep bumps.

Verification

  • npm audit --audit-level=high → 0 vulnerabilities
  • npx tsc --noEmit → clean
  • npx vitest run → 331/331 (pre-commit hook)
  • npm run build → succeeds

Unblocks #71 and any other PR hitting this gate.

Same recurring failure as #55: npm audit --audit-level=high blocks
every open Dependabot PR (including pure-Python bumps) whenever the JS
lockfile drifts. Fresh highs since #55: axios (3 advisories),
brace-expansion, PostCSS.

npm audit fix (non-forced) — lockfile-only, package.json unchanged.
0 vulnerabilities after.

Verified: tsc clean, build succeeds.
@sonarqubecloud

Copy link
Copy Markdown

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​postcss@​8.5.10 ⏵ 8.5.22100 +1100 +168195100

View full report

@Sam-Aitech
Sam-Aitech merged commit 4fcde74 into main Jul 24, 2026
13 checks passed
@Sam-Aitech
Sam-Aitech deleted the fix/npm-audit-high-vulns-2 branch July 24, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant