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

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

Summary

  • Adds npm overrides for tar (^7.5.11) and undici (^7.24.3) to address CVE security advisories in transitive dependencies pulled in via @kinvolk/headlamp-plugin.
  • These overrides force npm to resolve safe versions of these packages regardless of what the transitive dependency tree would otherwise pull in.
  • The existing typescript override (5.6.2) is preserved.

Context

Both tar and undici have known CVE advisories affecting versions commonly resolved as transitive dependencies of @kinvolk/headlamp-plugin. Adding overrides in package.json is the standard npm mechanism to pin safe versions without waiting for upstream dependency updates.

## Summary - Adds npm `overrides` for `tar` (^7.5.11) and `undici` (^7.24.3) to address CVE security advisories in transitive dependencies pulled in via `@kinvolk/headlamp-plugin`. - These overrides force npm to resolve safe versions of these packages regardless of what the transitive dependency tree would otherwise pull in. - The existing `typescript` override (5.6.2) is preserved. ## Context Both `tar` and `undici` have known CVE advisories affecting versions commonly resolved as transitive dependencies of `@kinvolk/headlamp-plugin`. Adding overrides in `package.json` is the standard npm mechanism to pin safe versions without waiting for upstream dependency updates.
Chris Farhood approved these changes 2026-03-18 23:07:44 +00:00
Chris Farhood left a comment

QA Review: CI passes on GitHub. npm overrides for tar (7.5.11) and undici (7.24.4) are correctly applied. Note: Locally tsc fails due to pre-existing missing devDependencies (vitest, @testing-library/*), but the shared CI workflow handles this correctly.

QA Review: ✅ CI passes on GitHub. npm overrides for tar (7.5.11) and undici (7.24.4) are correctly applied. Note: Locally tsc fails due to pre-existing missing devDependencies (vitest, @testing-library/*), but the shared CI workflow handles this correctly.
Chris Farhood approved these changes 2026-03-18 23:13:13 +00:00
Chris Farhood left a comment

CI green. Security overrides verified. Enabling auto-merge.

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