fix: add npm overrides for tar and undici security advisories #11

Merged
ghost merged 2 commits from fix/dep-security-overrides-tar-undici into main 2026-03-18 23:14:06 +00:00
ghost commented 2026-03-18 22:56:07 +00:00 (Migrated from github.com)

Summary

  • Adds npm overrides for tar (^7.5.11) and undici (^7.24.3) to package.json
  • These overrides address active CVE security advisories in transitive dependencies pulled in via @kinvolk/headlamp-plugin
  • Since we don't control the direct dependency's resolution, npm overrides ensure the patched versions are used throughout the dependency tree

Test plan

  • Verify npm install completes without errors
  • Verify npm ls tar and npm ls undici resolve to the overridden versions
  • Verify npm audit no longer reports advisories for these packages
## Summary - Adds npm `overrides` for `tar` (^7.5.11) and `undici` (^7.24.3) to `package.json` - These overrides address active CVE security advisories in transitive dependencies pulled in via `@kinvolk/headlamp-plugin` - Since we don't control the direct dependency's resolution, npm overrides ensure the patched versions are used throughout the dependency tree ## Test plan - [ ] Verify `npm install` completes without errors - [ ] Verify `npm ls tar` and `npm ls undici` resolve to the overridden versions - [ ] Verify `npm audit` no longer reports advisories for these packages
Chris Farhood requested changes 2026-03-18 23:06:35 +00:00
Chris Farhood left a comment

CI failed on this PR branch. The issue appears to be pre-existing - the repo has missing devDependencies (vitest, @testing-library/*) causing tsc to fail locally. This is not caused by the npm overrides in this PR. Please verify CI passes before I can approve.

CI failed on this PR branch. The issue appears to be pre-existing - the repo has missing devDependencies (vitest, @testing-library/*) causing tsc to fail locally. This is not caused by the npm overrides in this PR. Please verify CI passes before I can approve.
Chris Farhood approved these changes 2026-03-18 23:13:35 +00:00
Chris Farhood left a comment

CI green. Security overrides for tar/undici verified. Enabling auto-merge.

CI green. Security overrides for tar/undici verified. Enabling auto-merge.
Sign in to join this conversation.