Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
chore(deps): drop @types/adm-zip (redundant with adm-zip 0.6.0 types) (#746)
Yudhi Armyndharis113c4207a08b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 537a83df3..46f277f35 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -51,6 +51,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0message category after picking a file now clears it so stale bytes aren't routed to the wrongendpoint.+### Security++- **Plugin archive extraction hardened against CVE-2026-39244 (adm-zip declared-size zip-bomb OOM).**+ The `adm-zip` bump to `0.6.0` in #728 brings upstream's fix for CVE-2026-39244: a crafted archive+ declaring a huge entry size could drive an unbounded `Buffer.alloc` and exhaust memory during+ extraction. This closes the declared-size allocation vector on the plugin marketplace install path+ (`src/modules/plugins/plugin-installer.ts`), complementing the project's own `readEntryData()` guard+ that already caps *decompressed* bytes via zlib `maxOutputLength`. The two adm-zip 0.6.0 behavior+ changes (`extractEntryTo` subdirectory preservation, non-fatal `utimes`) touch APIs this project does+ not use. The now-redundant `@types/adm-zip` devDependency is dropped as well — adm-zip 0.6.0 ships its+ own `types.d.ts`.+## [0.8.17] - 2026-07-13### Addeddiff --git a/package-lock.json b/package-lock.jsonindex 9431467d5..fd971efec 100644--- a/package-lock.json+++ b/package-lock.json@@ -54,7 +54,6 @@"@nestjs/cli": "^11.0.24","@nestjs/schematics": "^11.0.0","@nestjs/testing": "^11.1.28",- "@types/adm-zip": "^0.5.8","@types/archiver": "^8.0.0","@types/dockerode": "^4.0.1","@types/express": "^5.0.0",@@ -4375,16 +4374,6 @@"tslib": "^2.4.0"}},- "node_modules/@types/adm-zip": {- "version": "0.5.8",- "resolved": "https://registry.npmjs.org/@types/adm-zip/-/adm-zip-0.5.8.tgz",- "integrity": "sha512-RVVH7QvZYbN+ihqZ4kX/dMiowf6o+Jk1fNwiSdx0NahBJLU787zkULhGhJM8mf/obmLGmgdMM0bXsQTmyfbR7Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "@types/node": "*"- }- },"node_modules/@types/archiver": {"version": "8.0.0","resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-8.0.0.tgz",diff --git a/package.json b/package.jsonindex b482ea6ab..85c09eaf5 100644--- a/package.json+++ b/package.json@@ -100,7 +100,6 @@"@nestjs/cli": "^11.0.24","@nestjs/schematics": "^11.0.0","@nestjs/testing": "^11.1.28",- "@types/adm-zip": "^0.5.8","@types/archiver": "^8.0.0","@types/dockerode": "^4.0.1","@types/express": "^5.0.0",