fix(deps): upgrade adm-zip to 0.6.0 to fix GHSA-xcpc-8h2w-3j85 (#2643)
adm-zip <0.6.0 allows a crafted ZIP to trigger a ~4GB memory allocation (GHSA-xcpc-8h2w-3j85). Bump the dependency in the web and vscode packages to ^0.6.0. The new AdmZip(buffer) and extractAllTo(dir, overwrite) APIs are unchanged, so no call-site adaptation is needed. Add a vitest regression test for the ClawdHub install path that builds a real ZIP with adm-zip and asserts extractAllTo restores files (including nested subdirectories) into the target skill dir.
This commit is contained in:
@@ -245,7 +245,7 @@
|
||||
"dependencies": {
|
||||
"@openchamber/ui": "workspace:*",
|
||||
"@opencode-ai/sdk": "1.18.12",
|
||||
"adm-zip": "^0.5.16",
|
||||
"adm-zip": "^0.6.0",
|
||||
"jsonc-parser": "^3.3.1",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1",
|
||||
|
||||
Reference in New Issue
Block a user