Skip to content

fix(security): replace adm-zip with node-stream-zip (CVE-2026-76845) [TE-27044] - #60

Open
rachit-lambdatest wants to merge 2 commits into
LambdaTest:masterfrom
rachit-lambdatest:TE-27044-replace-adm-zip
Open

fix(security): replace adm-zip with node-stream-zip (CVE-2026-76845) [TE-27044]#60
rachit-lambdatest wants to merge 2 commits into
LambdaTest:masterfrom
rachit-lambdatest:TE-27044-replace-adm-zip

Conversation

@rachit-lambdatest

@rachit-lambdatest rachit-lambdatest commented Sep 3, 2026

Copy link
Copy Markdown

Summary

adm-zip@^0.6.0 is flagged HIGH (CVE-2026-76845 / SNYK-JS-ADMZIP-19276676) with no fixed release available. This replaces it with the zero-dependency, advisory-clean node-stream-zip@^1.16.0 for extracting the downloaded LambdaTest Tunnel binary.

Jira: TE-27044

Change

  • package.json: adm-zip@^0.6.0node-stream-zip@^1.16.0.
  • lib/tunnel_binary.js (download_): new AdmZip(...).extractAllTo(dir, false)new StreamZip.async({ file }).extract(null, dir), preserving the existing chmod 0755 + callback/retry flow.
  • package-lock.json: refreshed (also resolves axios to 1.20.0, clearing transitive form-data advisories).

Verification

  • Extraction is byte-identical to adm-zip on the macOS/Windows/Linux tunnel binaries; end-to-end download → extract → chmod produces a runnable binary.
  • npm audit --omit=dev reports 0 vulnerabilities; no remaining adm-zip references.

🤖 Generated with Claude Code

@rachit-lambdatest rachit-lambdatest changed the title fix(security): replace adm-zip with extract-zip (CVE-2026-76845) [TE-27044] fix(security): replace adm-zip with node-stream-zip (CVE-2026-76845) [TE-27044] Sep 3, 2026
@rachit-lambdatest
rachit-lambdatest force-pushed the TE-27044-replace-adm-zip branch 3 times, most recently from 2b781e8 to 59bf568 Compare September 3, 2026 11:32
… extraction

adm-zip@^0.6.0 is flagged HIGH (CVE-2026-76845 / SNYK-JS-ADMZIP-19276676) with
no fixed release available. Replace it with the zero-dependency, advisory-clean
node-stream-zip for unzipping the LambdaTest Tunnel binary in lib/tunnel_binary.js,
preserving the chmod + callback/retry flow. Also refresh the lockfile so axios
resolves to 1.20.0, clearing the remaining transitive advisories.

Extraction verified byte-identical to adm-zip on the Mac/Windows/Linux binaries;
npm audit --omit=dev reports 0 vulnerabilities.

TE-27044

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Release the adm-zip -> node-stream-zip security fix (TE-27044).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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