René's URL Explorer Experiment


Title: [APS-22106] replace decompress@4.2.1 with adm-zip@0.6.1 by Raghav11-11 · Pull Request #1184 · browserstack/browserstack-cypress-cli · GitHub

Open Graph Title: [APS-22106] replace decompress@4.2.1 with adm-zip@0.6.1 by Raghav11-11 · Pull Request #1184 · browserstack/browserstack-cypress-cli

X Title: [APS-22106] replace decompress@4.2.1 with adm-zip@0.6.1 by Raghav11-11 · Pull Request #1184 · browserstack/browserstack-cypress-cli

Description: decompress@4.2.1 has an unpatched CVSS-9.1 Zip Slip vulnerability (GHSA-mp2f-45pm-3cg9 + two related advisories). The package is unmaintained (last release Feb 2020); no upstream fix is coming. Replacement: adm-zip@0.6.1. Why adm-zip@0.6.1: Zero known CVEs (verified via npm audit — see below). CJS package; direct require() works, no ESM incompat. Node engine >= 14.0 — safe for the CLI's practical Node 14+ floor. (The @xhmikosr/decompress fork was rejected because it is ESM-only from 5.0.0 and requires Node 20+ at 11.x — either blocker breaks existing customers.) No transitive dependencies (self-contained; supply-chain surface limited to adm-zip itself). 19M+ weekly downloads. Actively maintained: 0.6.1 was published 2026-09-11 specifically to close two prior advisories (GHSA-xcpc-8h2w-3j85 memory exhaustion and GHSA-vwc7-r8mq-g2x9 symlink Zip Slip). The fix commits are real code work — eaa35fa7 ("Blocked extraction from writing through symlinks inside the target"), plus stripped setuid/setgid/sticky bits, rejected duplicate entry names, enforced decompression size caps. Also considered and rejected: extract-zip@2.0.1: two unpatched HIGH symlink Zip Slip advisories (GHSA-jmr9-qjv8-65gv, GHSA-7pqw-9j4j-h8q3), last publish June 2020, fixAvailable:false. Same class of unmaintained-with-open-CVEs problem as decompress. @xhmikosr/decompress@11.1.3: ESM-only across all versions (type: module) and requires Node >= 20; either breaks CJS require or breaks existing customers on Node 14/16/18. Flow preserved: both call sites keep the existing "primary + unzipper.Extract fallback" pattern. Only the primary lib changes. API swap: decompress(zipPath, targetDir) -> Promise new AdmZip(zipPath).extractAllToAsync(targetDir, /*overwrite*/ true) -> Promise Both call sites already discarded the Files[] return value, so the shape difference is a no-op. Local verification: node --check on both changed source files: OK npm ls adm-zip: adm-zip@0.6.1 present npm ls decompress: empty (vulnerable pkg gone; the remaining decompress-response is an unrelated HTTP-body decompressor). grep decompress in source (excl. lockfile/node_modules): 0 hits npm audit — adm-zip subtree: 0 vulnerabilities. Other pre-existing tree vulns unchanged: 10 (identical to master). npm test: 723 passing / 2 pending / 16 failing — byte-identical to master baseline (the 16 failures are pre-existing flakes, unrelated to this PR). Summary by CodeRabbit Bug Fixes Downloaded artifacts continue to be extracted when the primary extraction method fails, using a fallback method. HTML report archives are extracted into the target folder with existing files overwritten. Extraction failures are reported and set an error exit status.

Open Graph Description: decompress@4.2.1 has an unpatched CVSS-9.1 Zip Slip vulnerability (GHSA-mp2f-45pm-3cg9 + two related advisories). The package is unmaintained (last release Feb 2020); no upstream fix is coming. Rep...

X Description: decompress@4.2.1 has an unpatched CVSS-9.1 Zip Slip vulnerability (GHSA-mp2f-45pm-3cg9 + two related advisories). The package is unmaintained (last release Feb 2020); no upstream fix is coming. Rep...

Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/pull/1184

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:39bebf0f-e971-5619-181e-d49a8ad017d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9694:1C1B6D:6C8DA3:99105C:6B044C9A
html-safe-nonce53096023c901d7cada4f559efc3b8924cfc7bfb70d91bec8806b900076f8128a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njk0OjFDMUI2RDo2QzhEQTM6OTkxMDVDOjZCMDQ0QzlBIiwidmlzaXRvcl9pZCI6IjkwODE0MDY3MDUwNDQzMTExOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf85571cb4b998578be1a73d70f737d36153b9d3db83d331467cbfac6cc2c4544
hovercard-subject-tagpull_request:4568817287
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
twitter:imagehttps://avatars.githubusercontent.com/u/210357699?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/210357699?s=400&v=4
og:image:altdecompress@4.2.1 has an unpatched CVSS-9.1 Zip Slip vulnerability (GHSA-mp2f-45pm-3cg9 + two related advisories). The package is unmaintained (last release Feb 2020); no upstream fix is coming. Rep...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id242935045
octolytics-dimension-repository_nwobrowserstack/browserstack-cypress-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242935045
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-cypress-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release059f24c781e3a0d7df3f27a97da0e93fab06ae39
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1184%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1184%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=browserstack%2Fbrowserstack-cypress-cli
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
browserstackhttps://github.com/browserstack
browserstack-cypress-clihttps://github.com/browserstack/browserstack-cypress-cli
Codehttps://github.com/browserstack/browserstack-cypress-cli
Issues28 (28)https://github.com/browserstack/browserstack-cypress-cli/issues
Pull requests47 (47)https://github.com/browserstack/browserstack-cypress-cli/pulls
Actionshttps://github.com/browserstack/browserstack-cypress-cli/actions
Projectshttps://github.com/browserstack/browserstack-cypress-cli/projects
Security and quality1 (1)https://github.com/browserstack/browserstack-cypress-cli/security
Insightshttps://github.com/browserstack/browserstack-cypress-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
karanshah-browserstackhttps://github.com/karanshah-browserstack
masterhttps://github.com/browserstack/browserstack-cypress-cli/tree/master
APS-22106-replace-decompress-with-adm-ziphttps://github.com/browserstack/browserstack-cypress-cli/tree/APS-22106-replace-decompress-with-adm-zip
Conversation 19 https://github.com/browserstack/browserstack-cypress-cli/pull/1184
Commits 2 https://github.com/browserstack/browserstack-cypress-cli/pull/1184/commits
Checks 5 https://github.com/browserstack/browserstack-cypress-cli/pull/1184/checks
Files changed https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
[APS-22106] replace decompress@4.2.1 with adm-zip@0.6.1 https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#top
Show all changes 2 commits https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
5cdce16 [APS-22106] replace decompress@4.2.1 with adm-zip@0.6.1 Raghav11-11 Sep 18, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1184/commits/5cdce16e92852e71cdf2e60a3cbb484a66c127b2
adc6c2b Merge branch 'master' into APS-22106-replace-decompress-with-adm-zip karanshah-browserstack Sep 23, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1184/commits/adc6c2b57212db080ec962d2b0af0f4b7d569161
Clear filters https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
buildArtifacts.js https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
reporterHTML.js https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
package-lock.json https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
package.json https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
buildArtifacts.js https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b14c5f1d57a499f73b6164e95f2d0e2718e4fdc7cf3e0cc261c0463b925b6533
reporterHTML.js https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-a1939a7ede2c7b275d244ee9441711fe8542e7807895ba9cd84ee2a99e8b6781
bin/helpers/buildArtifacts.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
View file https://github.com/browserstack/browserstack-cypress-cli/blob/adc6c2b57212db080ec962d2b0af0f4b7d569161/bin/helpers/buildArtifacts.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
avinash-bhartihttps://github.com/avinash-bharti
Oct 1, 2026https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#r4152895877
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
coderabbitaihttps://github.com/apps/coderabbitai
Sep 23, 2026https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#r4082065991
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
avinash-bhartihttps://github.com/avinash-bharti
Oct 1, 2026https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#r4152895892
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-52f9b172d577a0d9d032799405f56470c2a022cd39841f443246f497fb195ac6
bin/helpers/reporterHTML.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
View file https://github.com/browserstack/browserstack-cypress-cli/blob/adc6c2b57212db080ec962d2b0af0f4b7d569161/bin/helpers/reporterHTML.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
avinash-bhartihttps://github.com/avinash-bharti
Oct 1, 2026https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#r4152895870
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
https://github.com/browserstack/browserstack-cypress-cli/pull/1184/files#diff-b700376726f6d1f5d78d2adc4d6d17b261b95ef8660b95df9f9967432933ea0b
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1184/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.