The npm package @trylle/trylle-cli 1.3.2 depends on adm-zip 0.6.0, which has 7 high advisories (symlink-following extraction, kept SUID bits, a way around the decompression-bomb check, and more). 0.6.1 (2026-09-11) fixes all of them.
-
adm-zip 0.6.1 is pinned in two places:
packaging/npm/base.package.json.tmpl, which is what the published package uses;- the wrapper's
package.jsonand lockfile.
npm auditnow reports 0 vulnerabilities. -
install.ts uses only
new AdmZip,getEntryandgetData, and writes the binary itself with mode 0755. The only 0.6.1 changes that affect it reject malformed archives: duplicate entry names and truncated data. -
Smoke test: the built installer, run against a zip made the way the release workflow makes one and served locally over HTTPS, installed and ran the binary. A zip with a duplicate entry and a truncated zip were both rejected without writing a binary.
-
Postinstall fallback URL: it pointed at
github.server_url(api.trylle.com) and returned 404. It now points athttps://trylle.com/<repo>/releases/download, where the release API says the assets are served. Anonymous requests still get 404 there, because this repo is private. -
chore: prepare v1.3.3changes the same files as v1.3.2's prepare commit.
To release: merge, tag the merge commit v1.3.3, push the tag, and approve the crates, npm and pypi environments. Optionally, deprecate 1.3.2 on npm afterwards.
Activity
6The version metadata is updated consistently, the adm-zip dependency and lockfile agree, and the release URL change matches the existing packaging defaults. No regressions or actionable defects were identified.
Review: pin adm-zip 0.6.1 and prepare v1.3.3
Reviewed the diff against the surrounding install/index code, the release workflow, and the asset-naming paths the postinstall URL depends on.
Verdict
Safe to merge. No blocking correctness or security issues found. This is a well-scoped dependency-security bump plus a real fix to the postinstall fallback URL.
What I verified
packaging/npm/base.package.json.tmpl(what npm install actually installs) and the wrapper'spackage.json+package-lock.json. The lockfile'sresolved/integrityalso move to 0.6.1, so the runtime pin is real, not just a manifest edit.install.tsuses onlynew AdmZip,getEntry, andgetData, and writes the binary itself withwriteFileSync(…, { mode: 0o755 })— it never callsextractAllTo/extractEntryTo. The 0.6.1 advisory fixes (symlink-following extraction, kept SUID bits, decompression-bomb bypass) are all extraction-path vulnerabilities that this code does not reach, so no new exposure is introduced by the update.github.server_urlon Trylle CI resolves toapi.trylle.com, which 404s every release download; the newhttps://trylle.com/<repo>/releases/downloadmatches the release API'sdownloadUrl. I traced the path:install.tsbuilds<releaseBaseUrl>/<releaseTag>/<asset>, the workflow uploadstrylle-cli-${ARTIFACT_VERSION}-${platform}.zipwithartifact_version == tagforv1.3.3, andinstall.tsbuilds that exact asset name — so the URL lines up.${{ github.repository }}here resolves totrylle/trylle-cli, consistent with theMakefile/docker-bake.hcldefaults..toml+.lock), npm base template + wrapper + lockfile, PyPIpyproject.toml+__init__.py,Makefile, anddocker-bake.hcl. The two remaining1.3.2hits inCargo.lockare the transitivebitflags 1.3.2crate, not a stale pin.Non-blocking follow-up
One thing worth keeping in mind (already acknowledged in the PR body): the fallback download is anonymous and this repo is private, so users of the public npm package still get a silent 404 on the fallback path and are served by the optional platform package instead. That's a pre-existing limitation, not a regression — but leaving a hard-coded
https://trylle.comorigin that diverges from thegithub.*context (which this PR does keep for the repo segment) is worth a comment in the workflow when this host raises another 404: the fallback just warns and continues. If the web host's release-download routing ever stops mirroring GitHub's path layout, this fallback will silently no-op. A quickreleaseBaseUrlsanity check in CI after first publish would catch it.