Repository navigation
fix: unblock CI with patched source-map-js - #165902
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. |
|
Codex review: needs maintainer review before merge. Reviewed October 5, 2026, 11:37 PM ET / October 6, 2026, 03:37 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR pins source-map-js to patched version 1.2.2 for CSS and build tooling and exempts that exact version from the seven-day dependency cooldown. Merge readiness✅ Ready for maintainer review This remains a useful, focused dependency repair: current main and the latest release still resolve the vulnerable version. No introduced correctness defect was found, and the current admin-author dependency guard supersedes the earlier draft-specific approval blocker. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s workspace dependency policy controls the packages pnpm installs. The lockfile supplies source-map processing to CSS and build tooling and feeds the production security audit. flowchart TD
A[Package requirements] --> B[Workspace dependency policy]
B --> C[Version pin and cooldown admission]
C --> D[Resolved lockfile]
D --> E[CSS and build tooling]
D --> F[Production security audit]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceConfig +4, Other +20. Total +24 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Use the verified patched package through the existing dependency owner and remove the exact-version cooldown exception after its documented admission date. Do we have a high-confidence way to reproduce the issue? Yes, at the source level: current main resolves a version explicitly covered by the verified advisory, and the production audit rejects HIGH findings. No audit or exploit was executed during this review. Is this the best way to solve the issue? Yes: the existing override consistently selects the compatible patched release without suppressing the audit or adding another implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 14fe10d01c75. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
|
Fixed: production dependencies now resolve patched source-map-js 1.2.2. With thanks to @steipete. |
Resolve the source-map-js security finding in the audited dependency graph by pinning the patched release with a version-specific release-age exception. Reviewed-by: @shakkernerd (cherry picked from commit 9c66e8f)
Resolve the source-map-js security finding in the audited dependency graph by pinning the patched release with a version-specific release-age exception. Reviewed-by: @shakkernerd (cherry picked from commit 9c66e8f)
Resolve the source-map-js security finding in the audited dependency graph by pinning the patched release with a version-specific release-age exception. Reviewed-by: @shakkernerd
CI run 37417552972 tested cacf0d67a63e, whose main parent predates the source-map-js fix in #165902. Merge current main to include that fix without rebasing. The PR patch is unchanged; 160 focused UI tests and the production dependency audit pass.
Preserve the contributor commit while incorporating the already-landed source-map-js security fix from main (openclaw#165902). The resulting PR delta remains the WhatsApp image-document normalization and its regression test. Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Takhoffman <[email protected]>
What Problem This Solves
The production dependency audit resolves
[email protected], which is affected by GHSA-68fv-2mgg-jv7q. Its HIGH finding failssecurity-fastonmainand causes PR fail-fast handling to cancel the remaining CI jobs.User Impact
The dependency graph now selects the patched
[email protected], allowing the affected security audit to pass. Source-map consumers receive the upstream protections against excessive or malformed indexed offsets and pathological source-map processing.Why This Change Was Made
The existing workspace override applies the same patch release to CSS-tree, Magicast, and PostCSS. All three accept this version within their declared ranges. The lockfile changes their resolved dependency and integrity record; its remaining changes refresh registry deprecation metadata without moving other package versions.
A release-age exception admits only
[email protected]. That release was published on September 30, 2026. The comment records manual removal of the exception after its normal seven-day admission time,2026-10-07T14:08:09.382Z. Integrity checks, the security audit, and the cooldown for other versions remain enforced.Evidence
The same advisory failure is recorded on
mainand the blocked updater-compatibility PR. Review of the published package verified the lockfile integrity, unchanged license and dependency/install-script surface, and compatibility with all three parent ranges.On Blacksmith, the exact PR head passes frozen installation with pnpm 12.5.1, workspace formatting, and
node scripts/ci-production-audit.mjswith no HIGH findings. CSS-tree, Magicast, and PostCSS resolve[email protected]. Focused checks pass for valid source-map generation and consumption, invalid and excessive nested offsets, and PostCSS/CSS-tree source-map output. Full selected hosted CI remains required before landing.