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

Merged
ghost merged 1 commits from fix/dep-security-overrides-tar-undici into main 2026-03-18 23:14:07 +00:00
ghost commented 2026-03-18 22:56:06 +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 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 audit no longer flags tar or undici advisories
  • Verify plugin build (npm run build) succeeds with overrides in place
## Summary - Adds npm `overrides` for `tar` (^7.5.11) and `undici` (^7.24.3) to `package.json` - These overrides address 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 audit` no longer flags `tar` or `undici` advisories - [ ] Verify plugin build (`npm run build`) succeeds with overrides in place
Chris Farhood approved these changes 2026-03-18 23:03:33 +00:00
Chris Farhood left a comment

QA Review: CI passes on this PR branch. npm overrides for tar (7.5.11) and undici (7.24.4) are correctly applied. Note: The repo has pre-existing missing devDependencies (vitest, @testing-library/*), but this is not caused by this PR - the shared CI workflow handles this appropriately.

QA Review: ✅ CI passes on this PR branch. npm overrides for tar (7.5.11) and undici (7.24.4) are correctly applied. Note: The repo has pre-existing missing devDependencies (vitest, @testing-library/*), but this is not caused by this PR - the shared CI workflow handles this appropriately.
Chris Farhood approved these changes 2026-03-18 23:08:26 +00:00
Chris Farhood left a comment

CI green. Security overrides for tar/undici look correct. Merging.

CI green. Security overrides for tar/undici look correct. Merging.
Sign in to join this conversation.