fix(matrix): use fixed crypto bootstrap command#97181
Conversation
Dependency graph guard clearedThis PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh
|
|
Codex review: needs maintainer review before merge. Reviewed June 29, 2026, 11:53 PM ET / 03:53 UTC. Summary PR surface: Source -10, Tests -3. Total -13 across 2 files. Reproducibility: yes. from source inspection: current main exposes Review metrics: 2 noteworthy metrics.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the source-only hardening after current-head Matrix or secops review, keeping package metadata unchanged until the normal Matrix publish flow. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current main exposes Is this the best way to solve the issue? Yes: after the metadata revert, using the existing fixed command runner with AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 72f837a4a478. Label changesLabel justifications:
Evidence reviewedPR surface: Source -10, Tests -3. Total -13 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
/allow-dependencies-change reviewed dependency report: 0 added, 0 removed, 0 changed resolved packages; Matrix version and shrinkwrap metadata bump is intentional for @openclaw/[email protected] ClawHub republish. |
|
@openclaw/openclaw-secops approval needed for the current head SHA Fresh proof from this head:
Dependency Guard is expected to stay red until a listed repo admin or secops reviewer posts the override command for this exact SHA. After that, I can rerun Dependency Guard and continue with merge plus Matrix-only publish/rescan. |
What Problem This Solves
The Matrix plugin's packaged crypto bootstrap surfaced as suspicious in ClawHub because the source exposed an injectable Node executable / command-runner path around the native Matrix crypto dependency repair command.
Why This Change Was Made
The runtime only needs to run the package-local
download-lib.jswith the current Node executable. This removes the test-only command and executable injection seam from production code while keeping the same fixed argv, cwd, timeout, bounded output, retry, and incomplete-binding cleanup behavior.Per maintainer direction, this PR no longer bumps the Matrix plugin package version or shrinkwrap root metadata. It now carries the source hardening only, with zero dependency-file changes relative to
origin/main.User Impact
Matrix users keep the same automatic native crypto runtime repair behavior. Future Matrix package artifacts built from this source will no longer expose the injectable bootstrap command path that triggered the scanner concern; publishing a new immutable ClawHub package artifact can happen in the normal follow-up release flow.
Evidence
Dependency report after reverting release metadata: