Repository navigation
fix(release): record openshell worker-cli review for the current bundler - #192489
Merged
Merged
Conversation
#188576 moved tsdown to 0.23.2 and rolldown to 1.2.15. The reviewed `dangerous-exec` finding in @openclaw/openshell-sandbox dist/.setup/worker-cli-<hash>.mjs now bundles to different bytes, so the security scan rejects every current build, including main's own package. The only differences from the reviewed bytes are the imported chunk hash (config-BFHm9T4X -> config-xMr6yx5f) and `//#region` markers becoming `// path` comments; the reviewed spawn(worker.nodeCommand, ...) logic at line 127 is byte-identical. Record the new content hash.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 4, 2026
…ler (openclaw#192489) openclaw#188576 moved tsdown to 0.23.2 and rolldown to 1.2.15. The reviewed `dangerous-exec` finding in @openclaw/openshell-sandbox dist/.setup/worker-cli-<hash>.mjs now bundles to different bytes, so the security scan rejects every current build, including main's own package. The only differences from the reviewed bytes are the imported chunk hash (config-BFHm9T4X -> config-xMr6yx5f) and `//#region` markers becoming `// path` comments; the reviewed spawn(worker.nodeCommand, ...) logic at line 127 is byte-identical. Record the new content hash.
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
2026.11.5-beta.1publication fails before any registry mutation (publish runs 41757100833 and 41759831231). The plugin npm child repacks@openclaw/openshell-sandboxwith the publisher (P = main) toolchain, andscripts/plugin-npm-security-scan.mtsrejects it:The reviewed content hash
799a34cf…was recorded on 2026-10-29 (#188083). On 2026-10-30, #188576 bumped tsdown 0.23.1 → 0.23.2 and rolldown 1.2.14 → 1.2.15, which changes the emitted bytes of that file. Main's own openshell build hashes toc5050d40…too, so main's scanner rejects main's own package as well.Review of the new bytes
Diff between the reviewed (
799a34cf…) and current (c5050d40…)worker-clibundle is 11 lines, all bundler cosmetics:./config-BFHm9T4X.mjs→./config-xMr6yx5f.mjs//#region <path>///#endregionmarkers →// <path>commentsThe reviewed
spawn(worker.nodeCommand, args, { env, stdio: "inherit" })logic at line 127 and the rest of the file are byte-identical.Solution
Record the new reviewed content hash. The finding count limit is unchanged.
Evidence
plugin-npm-security-scan.mtswith this change passes main's own openshell pack and the 2026.11.5-beta.1 pack (both built with main's toolchain): 6 critical findings, all reviewed.test/scripts/plugin-npm-security-scan.test.ts: 7 passed.