Repository navigation
fix(release): preserve plugin scan provenance - #164789
Conversation
|
🦞👀 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. |
|
Post-push focused proof on exact head The first run correctly exposed one stale package-wide-layout test assumption. The pushed follow-up moved its finding into No full local CI was run. |
Security-sensitive guard clearedCurrent revision: This PR no longer changes files in the maintainer security-review tier. Separate CODEOWNERS requirements still apply to security policy and enforcement files. |
|
Codex review: needs maintainer review before merge. Reviewed October 4, 2026, 5:27 AM ET / 09:27 UTC (Revision 12). ClawSweeper reviewWhat this changesThe PR classifies plugin release security findings by each file’s location and binds one reviewed iMessage helper exception to its exact file bytes. Merge readiness✅ Ready for maintainer review This PR remains useful: current main still assigns one layout to the entire package. The earlier scanner findings are resolved by removing those changes, and the narrowed patch has no identified blocking defect. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s plugin release gate scans the exact npm tarball before uploading it as an immutable publication artifact. It compares critical findings with reviewed allowances and rejects unexpected findings. flowchart TD
A[Plugin npm tarball] --> B[Validate package and archive]
B --> C[Scan runtime files]
C --> D[Classify each finding by file location]
D --> E[Check reviewed limits and required digest]
E --> F[Reject unexpected findings]
E --> G[Qualify immutable release artifact]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +53, Other +19. Total +72 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep release qualification in the existing exact-tarball scanner, with file-specific allowances and byte-bound exceptions while preserving critical detection. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the layout defect: a tarball containing a setup chunk assigns setup layout to a reviewed dist file. The mixed-layout regression exercises that trigger; this review did not run tests. Is this the best way to solve the issue? Yes. Repairing classification in the existing release scanner and binding the helper allowance to exact bytes avoids changing shared detection or creating a competing qualification path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0986d87938b1. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
|
Addressed the two ClawSweeper blockers at
Focused proof after the push: @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Completed the remaining ClawSweeper cutover at
Focused proof after the push: @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Resolved the latest syntax-coverage findings at
Focused proof on the current head: @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Exact-head proof for The pushed follow-up addresses the exact Revision 8 delimiter gap: namespace-destructured method collection accepts a following declaration-list comma, so No full local CI was run. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Exact-head proof for The PR is now narrowed to the release-tooling owner. Shared scanner source/tests are byte-identical to the PR merge base, eliminating the false-negative syntax risk from Revisions 1–8. The remaining change classifies each finding by its own file layout and qualifies exactly one observed iMessage finding at No full local CI was run. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Exact-head proof for
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* fix(release): preserve plugin scan provenance * test(release): align plugin scan layout proof * fix(release): preserve scanner coverage * fix(security): complete process import provenance * fix(security): cover inline process imports * fix(security): preserve compact process syntax * fix(security): retain inline process receivers * fix(security): preserve member execution detection * fix(security): preserve extracted process calls * fix(security): narrow complex exec receivers * fix(security): preserve namespace destructuring * fix(security): cover declaration lists * fix(release): qualify exact helper finding * fix(release): bind helper finding to artifact bytes
* fix(release): preserve plugin scan provenance * test(release): align plugin scan layout proof * fix(release): preserve scanner coverage * fix(security): complete process import provenance * fix(security): cover inline process imports * fix(security): preserve compact process syntax * fix(security): retain inline process receivers * fix(security): preserve member execution detection * fix(security): preserve extracted process calls * fix(security): narrow complex exec receivers * fix(security): preserve namespace destructuring * fix(security): cover declaration lists * fix(release): qualify exact helper finding * fix(release): bind helper finding to artifact bytes (cherry picked from commit 1464bc6)
Problem
Exact plugin npm artifact qualification in FRV 37178811468 rejected two reviewed shipped files:
dist/mcp-proxy.mjswas assigned the package-widesetuplayout because the tarball also contains.setupchunks.dist/.setup/sanitize-outbound-3MLljgtY.mjsreported one bundled helperexec()finding already reviewed from the failed artifact.Solution
source,dist, ordist/.setup) instead of assigning one package-wide layout.Shared scanner behavior is unchanged from main. The 2026.9.9 candidate SHA remains unchanged, and changed bytes at the reviewed path fail closed.
Evidence
Exact-head focused proof is posted in the PR comments: scripts types pass, 11/11 owner tests pass, and the exact frozen-candidate iMessage tarball scan passes. No full local CI was run.