Skip to content

test(plugins): refresh reviewed publish scan baseline - #124185

Merged
fuller-stack-dev merged 1 commit into
openclaw:mainfrom
fuller-stack-dev:fix/plugin-security-scan-reviewed-baseline
Aug 15, 2026
Merged

fuller-stack-dev merged 1 commit into
openclaw:mainfrom
fuller-stack-dev:fix/plugin-security-scan-reviewed-baseline

Conversation

@fuller-stack-dev

Copy link
Copy Markdown
Member

Summary

  • remove obsolete Google Meet source and generated-bundle dangerous-exec review entries
  • review the llama.cpp provider's single managed-binary --version probe at its exact source path and count
  • preserve the release scan's exact-count and unexpected-finding failures

Root cause

The scanner is behaving correctly, but its manually reviewed publishable-plugin census did not follow two producer changes. Google Meet no longer executes a child process from its plugin node host, while the managed llama-server installer now performs one fixed-argument version probe against its verified executable.

Validation

  • PATH=$HOME/.nvm/versions/node/v24.15.0/bin:$PATH OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs src/plugins/npm-install-security-scan.release.test.ts src/plugins/runtime/runtime-llm.runtime.test.ts (124 passed)
  • source-blind behavior validation: 94 security-scan cases and 30 runtime-authority cases passed
  • autoreview: clean, no actionable findings
  • git diff --check

No production code or configuration changes.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 15, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 15, 2026, 10:26 AM ET / 14:26 UTC.

ClawSweeper review

What this changes

Updates the publishable-plugin security-scan baseline by removing retired Google Meet findings and recording the llama.cpp managed-server version probe.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open. This maintainer-owned test-only correction matches the current publishable plugin sources and retains the release scan’s exact-count and unexpected-finding protections; no patch defect was found.

Priority: P3
Reviewed head: f62968c5e7c7ef71af468a1d9abab97ec87903cc

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported test-contract correction with no actionable implementation finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This is a maintainer-authored, test-only release-census update with direct static producer evidence; no user-visible runtime proof is applicable.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is a maintainer-authored, test-only release-census update with direct static producer evidence; no user-visible runtime proof is applicable.
Evidence reviewed 6 items PR baseline and enforcement: The branch removes the two Google Meet entries and adds one llama.cpp source entry; the same test rejects unknown critical findings and compares reviewed finding multiplicities exactly.
Current llama.cpp producer: The npm-published package is named @openclaw/llama-cpp-provider, and its managed installer makes one fixed-argument execFile(command, ["--version"]) probe.
Google Meet owner boundary: Google Meet’s node-host module delegates to the shared meeting adapter and contains no plugin-local child_process call, so its old source and generated-dist approvals are stale.
Findings None None.
Security None None.

How this fits together

The release plugin scan packages each npm-publishable plugin, stages its shipped files, and runs the static security scanner. The reviewed-finding census then rejects both unexpected critical execution sites and mismatched approved counts.

flowchart LR
  A[Publishable plugin manifests] --> B[NPM package dry run]
  B --> C[Staged shipped files]
  C --> D[Security scanner]
  D --> E[Reviewed finding census]
  E --> F[Release validation pass or failure]
Loading

Before merge

  • Complete next step (P2) - No repair lane is needed because this maintained source PR already contains the bounded correction; await ordinary exact-head CI.
Agent review details

Security

None.

PR surface

Tests -1. Total -1 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 2 -1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 2 -1

Review metrics

Metric Value Why it matters
Production versus test LOC production 0; tests -1 (1 added, 2 removed) The change is confined to a release-test approval map and does not alter runtime behavior or configuration.

Merge-risk options

  • Exact-head CI was still in progress at review time; merge should wait for its ordinary required checks.

Maintainer options:

  1. Decide the mitigation before merge
    Keep the exact reviewed census synchronized with the publishable producer paths, preserving failure on both count drift and newly unreviewed critical findings.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the exact reviewed census synchronized with the publishable producer paths, preserving failure on both count drift and newly unreviewed critical findings.

Do we have a high-confidence way to reproduce the issue?

Yes—current-main source makes the drift deterministic: the test still expects a removed Google Meet hit and treats the live llama.cpp execFile probe as unexpected. This read-only review did not execute the suite.

Is this the best way to solve the issue?

Yes. Updating the owning release-test census is the narrow maintainable repair; weakening the scanner or adding a generic exception would reduce the package-security contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 9663cc7edcc3.

Labels

Label changes:

  • add P3: This is a narrow release-test baseline maintenance change with no user-facing runtime impact.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This is a maintainer-authored, test-only release-census update with direct static producer evidence; no user-visible runtime proof is applicable.

Label justifications:

  • P3: This is a narrow release-test baseline maintenance change with no user-facing runtime impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This is a maintainer-authored, test-only release-census update with direct static producer evidence; no user-visible runtime proof is applicable.

Evidence

What I checked:

  • PR baseline and enforcement: The branch removes the two Google Meet entries and adds one llama.cpp source entry; the same test rejects unknown critical findings and compares reviewed finding multiplicities exactly. (src/plugins/npm-install-security-scan.release.test.ts:36, f62968c5e7c7)
  • Current llama.cpp producer: The npm-published package is named @openclaw/llama-cpp-provider, and its managed installer makes one fixed-argument execFile(command, ["--version"]) probe. (extensions/llama-cpp/src/llama-server-install.ts:218, 9663cc7edcc3)
  • Google Meet owner boundary: Google Meet’s node-host module delegates to the shared meeting adapter and contains no plugin-local child_process call, so its old source and generated-dist approvals are stale. (extensions/google-meet/src/node-host.ts:26, 9663cc7edcc3)
  • Scanner contract: The dangerous-exec rule detects direct child_process execFile calls, while the release test is selected on the agentic-plugins CI shard. (src/skills/security/scanner.ts:157, 9663cc7edcc3)
  • Feature-history provenance: Available history identifies Vincent Koc’s reviewed-scan census work and Peter Steinberger’s recent npm-pack normalization work as the closest maintained paths; deeper source history is incomplete in this partial checkout. (src/plugins/npm-install-security-scan.release.test.ts:27, 814d1fdf1aff)
  • NPM packaging contract: The installed npm pack command accepts dry-run and ignore-scripts, and npm-packlist applies package and ignore-file rules before listing packed files; this matches the release test’s package-boundary approach.

Likely related people:

  • vincentkoc: Historical commits added the reviewed npm critical-finding contract and later exact-count handling used by this baseline. (role: introduced reviewed-scan census; confidence: medium; commits: e1a73d380db7, 814d1fdf1aff; files: src/plugins/npm-install-security-scan.release.test.ts)
  • steipete: Recent npm-pack result normalization directly supports the package-file enumeration used by this release test. (role: recent release-test contributor; confidence: medium; commits: 7866ecae4b85; files: src/plugins/npm-install-security-scan.release.test.ts, src/infra/npm-registry-spec.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@fuller-stack-dev fuller-stack-dev self-assigned this Aug 15, 2026
@fuller-stack-dev
fuller-stack-dev merged commit 571009d into openclaw:main Aug 15, 2026
153 of 155 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

1 participant