Repository navigation
feat(security): add Endor evidence to plugin ClawScan profiles - #3896
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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs real behavior proof before merge. Reviewed October 1, 2026, 11:30 PM ET / October 2, 2026, 03:30 UTC (Revision 2). ClawSweeper reviewWhat this changesAdds Endor dependency-reachability evidence to plugin security reviews, saved reports, and audit pages, with isolated scanner containers and guarded Test dispatch. Merge readiness⛔ Blocked before merge - 6 items remain Keep open: both previously reported P2 defects remain, and the new container authority boundary still lacks final-effect proof. Current main does not implement the Endor integration. Priority: P2 Review scores
Verification
How this fits togetherClawHub’s security workers consume queued plugin releases and combine scanner evidence into one moderation verdict. Stored results feed plugin audit pages, APIs, and downloadable reports. flowchart LR
A[Plugin release] --> B[Scan queue and lease]
B --> C[Isolated Endor scanner]
B --> D[Other scanner evidence]
C --> E[Single security judge]
D --> E
E --> F[Atomic release completion]
F --> G[Moderation and audit reports]
Before merge
Findings
Agent review detailsSecurityNeeds attention: Pinned image inputs and restricted environments are positive safeguards, but unconfirmed cleanup and unproven resolver isolation prevent clearance. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the single-judge pipeline and additive result contract, with fatal unconfirmed cleanup, truthful Test acceptance, and demonstrated resolver isolation. Do we have a high-confidence way to reproduce the issue? Yes, the two patch defects have clear source paths: exhaust late-create polling, or assign a publication/completed plugin job that the bulk worker cannot claim. Neither scenario was executed during this read-only review. Is this the best way to solve the issue? The single-judge integration is a reasonable approach using ClawScan’s existing custom-profile API, but the submitted implementation is not yet correct. A separate queue or competing verdict engine would add unnecessary policy drift. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 01839ac5814a. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
Plugin scans now run Endor's reachable-function analysis alongside bundled SkillSpector, then supply both results and static evidence to one ClawScan judge through a ClawHub-owned custom profile. Publication queues background work. Reachable dependency vulnerabilities are advisory; the existing AI verdict still controls quarantine.
Review and validation
One simplification pass removed 56 net lines. Two independent reviews covered the full intended diff. The standards review reproduced a concurrent fatal-result/refill race; it is fixed and the caller regression fails before/passes after. Correctness probes verified legacy stored results, persistence, API/schema readers and downloaded ZIP contents.
actionlint. Fixed GitHub's rejected worker guard by adding its missing closing parenthesis. Three inherited Markdown files received formatting-only corrections for main's native formatter; no instruction permissions or dependency versions changed.The full intended diff against main is 52 files, 4,063 lines added / 611 removed, including generated schemas, tests and scanner isolation fixtures.
The earlier real trial completed 94 official and 13 additional community full profiles. It found 14 reachable dependency findings, separate from AI moderation. That trial predates the latest lifecycle repairs. The large Google OAuth artifact resolved 622 dependencies before a bounded diagnostic timeout; this is not completed reachability proof.
Test rollout remaining
No exact-head hosted Test scan or production enablement has occurred. GitHub's Test environment must first allow
codex/endor-plugin-scan-main-20261001. Patrick can then deploy reviewed head62479122ef178d82c464d6e60b214fade1401fdaand run three explicitly assigned Test plugin jobs: Discord, Codex and Google OAuth. Pause Test's automatic scan dispatch while preparing/running that bounded batch, then restore its previous setting. Require completed Endor and judge results from that exact workflow, saved audit/download evidence, and a successful large-plugin Linux run before enabling production. Access to the configuredopenclaw-nfr.clawhubnamespace must be proved there; local corpus scans usedopenclaw-nfr. Production Endor remains disabled throughout this Test trial.