Skip to content

Upgrade giget to v3 to drop vulnerable tar@6.2.1 dependency - #54

Open
fallenprogrammr wants to merge 1 commit into
supermemoryai:mainfrom
fallenprogrammr:fix/upgrade-giget-drop-vulnerable-tar
Open

fallenprogrammr wants to merge 1 commit into
supermemoryai:mainfrom
fallenprogrammr:fix/upgrade-giget-drop-vulnerable-tar

Conversation

@fallenprogrammr

Copy link
Copy Markdown

Summary

  • giget@1.2.5 (declared in dependencies) pulls in tar@6.2.1, which has multiple published high/critical advisories (path traversal via hardlinks/symlinks, decompression DoS, etc.) — npm prints a deprecation/security warning for it on every install.
  • giget@3.3.1 (current latest) dropped its tar dependency entirely (zero runtime deps), so bumping the version requirement removes the vulnerable transitive dependency from every npx install-mcp invocation.
  • giget does not appear to be imported anywhere under src/ currently, so this should be behaviorally a no-op — happy to also just drop the dependency instead if that's preferred, but kept this as a version bump per the ask.

Changes

  • package.json: giget ^1.2.5 → ^3.3.1
  • bun.lock / package-lock.json: regenerated accordingly (tar@6.2.1 no longer present anywhere in the resolved tree apart from an unrelated npm-bundled copy pulled in transitively by semantic-release, which is out of scope here)

Test plan

  • bun install — resolves cleanly, tar no longer present under giget
  • bun run compile — typechecks
  • bun run build — builds successfully
  • bun run test — 7/7 pass
  • bun run lint — passes (Biome clean)

giget@1.2.5 depends on tar@6.2.1, which has multiple high/critical
advisories (path traversal, hardlink/symlink escapes, DoS). giget@3.x
dropped the tar dependency entirely (zero runtime deps), so bumping
removes the vulnerable code path from every `npx install-mcp` run.

giget doesn't appear to be imported anywhere in src/, so this should
be a no-op behaviorally; build, typecheck, and test suite all pass.
@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
Updatedgiget@​1.2.5 ⏵ 3.3.1100 +4100100 +186 -180 -19

View full report

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