Skip to content

Conversation

Copy link

Copilot AI commented Jan 22, 2026

Addresses two CVEs in tar 7.4.3:

  • Race condition in path reservations via Unicode ligature collisions on macOS APFS (fixed in 7.5.4)
  • Arbitrary file overwrite and symlink poisoning via insufficient path sanitization (fixed in 7.5.3)

Changes

  • package.json: Bump tar from ^7.4.3 to ^7.5.6
  • tsconfig.json: Add skipLibCheck: true to resolve type incompatibility between tar's transitive dependency (minizlib 3.1.0) and @types/node@16 (references ZstdCompress/ZstdDecompress types unavailable in Node 16 types)

The tar library is used in SEA (Single Executable Application) functionality for extracting Node.js binaries from tar.gz archives via lib/sea.ts.

Original prompt

Bump tar dep to latest to fix security issues


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: robertsLando <11502495+robertsLando@users.noreply.github.com>
Copilot AI changed the title [WIP] Update tar dependency to latest version for security fixes Bump tar to 7.5.6 to fix security vulnerabilities Jan 22, 2026
Copilot AI requested a review from robertsLando January 22, 2026 08:07
@robertsLando robertsLando changed the title Bump tar to 7.5.6 to fix security vulnerabilities fix: bump tar to 7.5.6 to fix security vulnerabilities Jan 22, 2026
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.

2 participants