Skip to content

fix(release): record openshell worker-cli review for the current bundler - #192489

Merged
RomneyDa merged 1 commit into
mainfrom
fix/openshell-reviewed-hash-tsdown
Nov 4, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/openshell-reviewed-hash-tsdown

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 4, 2026

Copy link
Copy Markdown
Member

Problem

2026.11.5-beta.1 publication fails before any registry mutation (publish runs 41757100833 and 41759831231). The plugin npm child repacks @openclaw/openshell-sandbox with the publisher (P = main) toolchain, and scripts/plugin-npm-security-scan.mts rejects it:

@openclaw/openshell-sandbox: unreviewed critical findings in exact npm artifact:
[{"contentSha256":"c5050d40…","line":127,"path":"dist/.setup/worker-cli-<hash>.mjs","ruleId":"dangerous-exec"}]

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 to c5050d40… 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-cli bundle is 11 lines, all bundler cosmetics:

  • import chunk name ./config-BFHm9T4X.mjs → ./config-xMr6yx5f.mjs
  • //#region <path> / //#endregion markers → // <path> comments

The 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.mts with 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.
  • Release blocker for 2026.11.5-beta.1 publication (P-only repair; candidate and FRV 41732921061 unchanged).

#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.
@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Nov 4, 2026
@clawsweeper

clawsweeper Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 4, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 4, 2026
@RomneyDa
RomneyDa merged commit ed1bb72 into main Nov 4, 2026
100 checks passed
@RomneyDa
RomneyDa deleted the fix/openshell-reviewed-hash-tsdown branch November 4, 2026 02:53
@RomneyDa

RomneyDa commented Nov 4, 2026

Copy link
Copy Markdown
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant