ADM-ZIP
Reasonable, with limits. 9th of 9 zip and compression.
ADM-ZIP is a pure-JavaScript, Node-only zip library with no dependencies and a simple synchronous API for reading, creating and editing zip files in memory or on disk. It is easy to use for small archives and is widely installed. It loads whole archives into memory, and eight advisories in two years mean it is a weak pick for untrusted or large files. For those, yauzl/yazl, zip.js or fflate are better choices.
Best for: Node scripts and tools that need to read, edit or write small zip files from trusted sources with as little code as possible.
Scores
Overall5.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It is a convenient, widely used, dependency-free zip tool for small, trusted archives in Node, and maintenance has recently picked up. It keeps whole archives in memory, its recent security record is poor, it runs only on Node, and it is growing more slowly than the median. For new work, yauzl/yazl or zip.js handle large and untrusted files better, and fflate is better for cross-platform speed.
- advisories last24Months: 8 advisories in two years
- npm downloads ratio: About 3.6x, below the 4.1 median
- github.com/cthackers/adm-zip/releases: Active 2026 releases with security hardening
- npm-compare.com/adm-zip,extract-zip,node-unzip-2,node-zip,unzipper,yauzl: Third-party comparison suits it to small and medium in-memory work
GPT-6.2 Sol: 5.9, likely 4.8 to 6.9
ADM-ZIP is a reasonable new dependency when a Node.js or Electron project needs simple editing and extraction of small, trusted ZIPs. The recent releases and bundled types help, while the open extraction advisory and whole-archive buffering limit where it fits. Yauzl is a better fit for streaming extraction, and zip.js covers a wider range of ZIP workflows. The recommendation depends mainly on archive size, where the files come from, and how consistently maintenance continues.
- github.com/cthackers/adm-zip/releases: Recent maintenance added types and fixed several longstanding defects.
- github.com/pnpm/pnpm/pull/16228: A production tool switched to yauzl for lower-memory extraction.
- gildas-lormeau.github.io/zip.js/api/index.html: zip.js offers streaming, encryption, and incremental writing.
- security.snyk.io/vuln/SNYK-JS-ADMZIP-21707815: The current release has an extraction advisory with no fixed version.
Needed by many4.5
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Many Node developers need to read or write a zip now and then. This project covers only zip and only Node. It has no tar support, no general compression API and no browser support, so it is narrower than its category.
- github description: Zip implementation for Node.js, in memory or to and from disk
- unpkg.com/adm-zip@0.6.1/README.md: README describes Node-only zip extraction and creation
GPT-6.2 Sol: 3.9, likely 2.8 to 5.0
Node.js is widely used, and ZIP handling comes up in desktop apps, command-line tools, and backend jobs. ADM-ZIP serves the ZIP portion of the category and targets Node.js and Electron. The runtime survey gives a sense of the audience size, while the share that needs a ZIP library remains uncertain.
- 2025.stateofjs.com/en-US/other-tools/#runtimes: Node.js was the most reported runtime.
- github.com/cthackers/adm-zip: ZIP creation, editing, and extraction for Node.js, with an Electron filesystem option.
Helps a lot5.7
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
The API is simple and complete for small archives: read, create, edit, ZipCrypto passwords and, since 0.5.18, zip64 writing. Whole archives sit in memory and much of the API is synchronous, so large files do poorly. The recent string of parsing bugs points to a fragile core. For streaming or speed, yauzl, zip.js and fflate do the job better.
- github.com/cthackers/adm-zip/releases: Releases add zip64 writing and built-in types, and fix many parsing and extraction bugs
- npm-compare.com/adm-zip,extract-zip,node-unzip-2,node-zip,unzipper,yauzl: Third-party comparison says it suits small to medium files, not very large ones
- digitalocean.com/community/tutorials/how-to-work-with-zip-files-in-node-js: Tutorial notes that archiving large files can block the main thread
- npm hasTypes: Ships its own types
GPT-6.2 Sol: 6.4, likely 5.3 to 7.5
The API makes ordinary ZIP edits and extraction straightforward, with bundled types and examples that give developers and coding agents a clear starting point. Benchmarks show good speed on small files, while the buffer-based design uses more memory on large archives. pnpm switched its runtime extractor to yauzl for streaming. Performance varies with the workload, and coding-agent accuracy has little direct evidence.
- github.com/cthackers/adm-zip: Examples cover entry reads, archive editing, and filesystem extraction.
- github.com/cthackers/adm-zip/releases/tag/v0.6.0: Version 0.6.0 introduced bundled TypeScript declarations.
- github.com/gmaclennan/zip-reader#benchmarks: Competitive small-file reads and slower large-file reads than yauzl and unzipper.
- github.com/pnpm/pnpm/pull/16228: pnpm measured lower extraction memory after switching to streaming.
Holds up over time6.0
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Activity in 2026 is real: 50 commits, 4 releases, and quick security releases in 0.6.0 and 0.6.1. It is a 14-year-old project that is still on 0.x with no visible funding, and its maintenance has been uneven in the past. Recent releases include breaking changes.
- github commitsLastYear / releasesLastYear: 50 commits and 4 releases in the last year
- scorecard Maintained: Maintained check scores 10
- github.com/cthackers/adm-zip/releases: 0.6.0 and 0.6.1 list breaking behaviour changes
- github openIssues: 54 open issues against 331 closed
GPT-6.2 Sol: 6.0, likely 4.7 to 7.2
Four releases and 50 commits in the past year mark a return to active maintenance after a long release gap. The 0.6 upgrade changed where some extracted files land and resolved a regression users had reported for years. One account is listed on npm, and the September release is still the latest with an October security fix awaiting merge. Funding and backup release capacity remain unclear.
- github commitsLastYear and releasesLastYear: 50 commits and four releases.
- github.com/cthackers/adm-zip/releases: 2026 releases resumed after the August 2024 release.
- github.com/cthackers/adm-zip/issues/306: Users reported changed extraction behavior from 2020 until the 2026 fix.
- npmjs.com/package/adm-zip?activeTab=dependents: npm lists one collaborator.
- github.com/cthackers/adm-zip/pull/588: The October fix for conflicting extraction paths remains open.
Used widely6.9
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
About 126M downloads per 4 weeks and about 639k dependent repos, close to JSZip's count, show that many projects choose it directly. Its download ratio is about 3.6, below the 4.1 median and below JSZip, fflate, Archiver and unzipper, so it is slowly losing share.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 126.0M vs 34.7M, a ratio of about 3.6, below the 4.1 median
- dependents repos: 638,820 repos and 3,653 packages
- peers: fflate is at 8.0x and unzipper at 7.3x, both growing faster
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
Ecosyste.ms finds roughly 639,000 dependent repositories, close to JSZip and well ahead of Archiver. Four-week downloads grew from 34.7 million to 126 million, or 3.64 times, below the catalog median of 4.1 times and behind JSZip and unzipper. That points to a large installed base losing relative ground. Downloads include automated and transitive installs, and the available counts give limited insight into how many new projects choose it directly.
- dependents repos and packages: 638,820 tracked repositories and 3,653 tracked npm packages.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 126.0 million versus 34.7 million installs.
- medianDownloadsRatio: The 4.1 times baseline exceeds ADM-ZIP's 3.64 times growth.
- peers: JSZip has a similar repository footprint, and JSZip and unzipper grew faster.
- github.com/mozilla/web-ext/blob/master/package-lock.json: Mozilla's tooling lockfile illustrates downstream package installs.
Vouched for5.4
Who stands behind it being good?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
Its wide use in dependent packages is the main sign of trust. There are no recent independent benchmarks, survey results or strong endorsements from known projects, and no Hacker News or Bluesky discussion. Comparison sites describe it as a convenient tool for small archives.
- hackerNews / bluesky: 0 stories and 0 posts
- dependents packages: 3,653 npm packages depend on it
- npm-compare.com/adm-zip,archiver,jszip,yazl,zip-lib,zip-stream: Only generic third-party comparisons were found
GPT-6.2 Sol: 6.2, likely 5.0 to 7.3
Snyk's CLI and Joplin Server use ADM-ZIP, and independent benchmarks show competitive extraction speed on small files. pnpm's switch to yauzl shows where that evidence stops carrying over to larger archives. The available surveys give little direct evidence of satisfaction with ADM-ZIP.
- github.com/snyk/cli/blob/main/package.json: Snyk CLI declares ADM-ZIP as a runtime dependency.
- joplinapp.org/fr/help/about/changelog/server: Joplin Server's changelog records ADM-ZIP updates.
- github.com/yamadashy/nodejs-zip-benchmark/blob/main/results/latest-report.md: An independent comparison puts ADM-ZIP among the faster small-file extractors.
- github.com/pnpm/pnpm/pull/16228: pnpm replaced ADM-ZIP in its runtime fetcher to reduce memory use.
Safe4.6
How safe is it to depend on?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
It has zero dependencies and an MIT licence. It has 9 advisories, 8 of them in the last 24 months. They include a zip-bomb fix that was itself bypassed, SUID/SGID bits kept on extraction, and an async crash. The maintainers fixed them promptly in 0.6.1, but the pattern makes it risky for untrusted input. Scorecard is 5.3, with zero for Code-Review, Token-Permissions, Pinned-Dependencies and Fuzzing.
- advisories: 9 total, 8 in the last 24 months, several rated HIGH
- advisories.gitlab.com/npm/adm-zip/CVE-2026-39244: Crafted zip forces a roughly 4GB allocation and crashes the process
- tuxcare.com/cve-tracker/cve/details/ghsa-rcw4-f5rp-g42v: Bypass of the zip-bomb fix, scored 7.5
- scorecard score: 5.3 overall, Code-Review 0, Fuzzing 0
- npm dependencies: Zero runtime dependencies
GPT-6.2 Sol: 4.7, likely 3.6 to 5.8
The MIT license and zero runtime dependencies keep the install footprint small. Version 0.6.1 shipped fixes for serious decompression and permission bugs by the time those advisories were public. The separate moderate advisory CVE-2026-116137 still affects 0.6.1, and the proposed fix remains open. OpenSSF scores it 5.3, with zeros for code review, workflow token permissions, dependency pinning, and fuzzing.
- npm license and dependencies: MIT license and zero runtime dependencies.
- scorecard score and checks: 5.3 overall, with weak review, workflow, and fuzzing checks.
- github.com/cthackers/adm-zip/releases/tag/v0.6.1: September release fixed decompression crashes and unsafe permission handling.
- vulncheck.com/advisories/adm-zip-through-0.6.1-duplicate-entry-validation-bypass-via-canonically-equivalent-names: October advisory confirms the remaining moderate issue affects 0.6.1.
- github.com/cthackers/adm-zip/pull/588: The proposed patch remains open.
Good
- It has zero dependencies and a very simple API: open a zip, list entries, add files and extract them in a few lines.
- It can both read and modify existing archives, which yauzl and Archiver cannot do on their own.
- Since 0.6.0 it ships its own TypeScript types, so @types/adm-zip is no longer needed.
- Maintenance picked up in 2026, with releases adding zip64 writing and many hardening fixes.
Bad
- It loads whole archives into memory and works mostly synchronously, so large files use a lot of RAM and block the event loop.
- Eight advisories in 24 months, three of them high (zip-bomb bypass, SUID bits, async crash), make it risky to use on untrusted zips.
- It runs only on Node and handles only zip, with no browser, tar or streaming support.
- It is still on 0.x, and 0.6.0 and 0.6.1 changed behaviour, such as rejecting archives with duplicate entry names.
The numbers
- npm downloads, 4 weeks
- 126M ×3.6 in a year
- GitHub stars
- 2.2k
- Commits, 12 months
- 50
- npm version
- 0.6.1 Sept 2026
- Versions, 12 months
- 4
- Advisories, 24 months
- 8 of 9 ever
- OpenSSF Scorecard
- 5.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (cthackers/adm-zip), npm (adm-zip), OSV and the OpenSSF Scorecard.