Skip to content

fix(release): review plugin package findings - #188083

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-plugin-security-inventory
Oct 30, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-plugin-security-inventory

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

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 bundle

Change

Extend the shrink-only security inventory with the exact dependency paths and counts. Normalize the generated OpenShell worker-cli filename 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=1
  • pnpm format:check -- scripts/plugin-npm-security-scan.mts
  • git diff --check

Record the exact reviewed runtime findings surfaced by plugin npm preview, including a content-pinned OpenShell setup bundle.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 30, 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 Oct 30, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) October 30, 2026 03:53
@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 30, 2026
@RomneyDa
RomneyDa marked this pull request as draft October 30, 2026 03:53
auto-merge was automatically disabled October 30, 2026 03:53

Pull request was converted to draft

@RomneyDa
RomneyDa marked this pull request as ready for review October 30, 2026 03:53
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 30, 2026
@clawsweeper

clawsweeper Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The fourth finding exceeds the reviewed limit of three and blocks qualification.
  • After: Four findings are allowed at that dependency path; a fifth still blocks qualification.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and has no identified correctness defect, but its changed exact-artifact behavior lacks supplied production-path proof.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release qualification rejects plugin packages containing newly reviewed runtime patterns.
Reason: The maintainer-authored correction restores the intended qualification path using the existing release-scanner owner.

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
Reviewed head: b0d7250105958b00e7bee68ce2d41761d0b96d73

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Show the production scanner rejecting the affected beta tarballs on the base and accepting the same bytes with this change, including rejection of altered OpenShell bundle bytes.
Agent review details

How this fits together

Plugin 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]
Loading

Technical review

Best 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

  • Reviewed dependency finding counts keeps the original intent (8841578: Scan exact publication artifacts while sharing reviewed dependency allowances by dependency path.)
  • Generated bundle normalization and content pinning keeps the original intent (1464bc6: Allow a reviewed generated helper only when its layout, normalized path, rule, count, and full content hash match.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 8841578 adds scripts/plugin-npm-security-scan.mts:90 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 88415783fb41; files: scripts/plugin-npm-security-scan.mts)

PR surface

Other +10. Total +10 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 11 1 +10
Total 1 11 1 +10

Labels

Label changes:

  • add P2: This is a narrow release qualification correction without an established current end-user runtime outage.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This is a narrow release qualification correction without an established current end-user runtime outage.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Provide exact-artifact scanner results for all three affected plugin packages.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 30, 2026, 12:08 AM ET / 04:08 UTC.

@RomneyDa
RomneyDa merged commit 22a0caf into main Oct 30, 2026
164 of 194 checks passed
@RomneyDa
RomneyDa deleted the fix/release-plugin-security-inventory branch October 30, 2026 04:27
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

RomneyDa added a commit that referenced this pull request Oct 30, 2026
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)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 31, 2026
Record the exact reviewed runtime findings surfaced by plugin npm preview, including a content-pinned OpenShell setup bundle.

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants