Repository navigation
fix(release): review plugin package findings - #188083
Conversation
Record the exact reviewed runtime findings surfaced by plugin npm preview, including a content-pinned OpenShell setup bundle. Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 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. |
Pull request was converted to draft
|
Codex review: needs maintainer review before merge. What this changesThis PR updates reviewed plugin security findings and pins the generated OpenShell worker bundle to an exact SHA-256. Example: A plugin tarball contains four dangerous-exec findings in node_modules/playwright-core/lib/coreBundle.js.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused release-scan correction absent from current main, with no concrete introduced defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherPlugin publication passes exact npm tarballs into the security scanner, which rejects unexpected critical findings before immutable artifact upload. flowchart TD
A[Packed plugin tarball] --> B[Runtime qualification]
B --> C[Critical finding scanner]
C --> D[Reviewed paths counts and hashes]
D --> E[Reject unexpected findings]
D --> F[Upload qualified artifact]
Technical reviewBest possible solution: Keep the correction in the existing scanner inventories while preserving exact paths, count ceilings, and the OpenShell content pin. Do we have a high-confidence way to reproduce the issue? Current-main source deterministically rejects the newly listed paths and a fourth Playwright coreBundle execution finding, but the reported beta tarballs were not supplied for independent inspection. Is this the best way to solve the issue? The patch is the smallest complete correction within the established scanner design: it updates inventory data and normalization without adding machinery or changing shared scanning rules. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8dad19d8b7b2. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther +10. Total +10 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 30, 2026, 12:08 AM ET / 04:08 UTC. |
|
Merged via squash.
|
Record the exact reviewed runtime findings surfaced by plugin npm preview, including a content-pinned OpenShell setup bundle. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 22a0caf)
Record the exact reviewed runtime findings surfaced by plugin npm preview, including a content-pinned OpenShell setup bundle. Co-authored-by: RomneyDa <[email protected]>
Problem
The 2026.11.1 beta plugin npm preview scanned the exact package artifacts and stopped on newly shipped but reviewed critical patterns in three plugins:
@openclaw/diffs: Playwright 1.64.1 profiling/process helpers@openclaw/memory-lancedb: Apache Arrow generated predicates and OpenAI audio helpers@openclaw/openshell-sandbox: the bounded worker launcher setup bundleChange
Extend the shrink-only security inventory with the exact dependency paths and counts. Normalize the generated OpenShell
worker-clifilename and pin that package-owned bundle to the exact observed content SHA-256.This does not lower scan severity, skip files, or broaden an existing wildcard.
Verification
node scripts/run-vitest.mjs test/scripts/plugin-npm-security-scan.test.ts --maxWorkers=1pnpm format:check -- scripts/plugin-npm-security-scan.mtsgit diff --check