Repository navigation
Conversation
The live GHSA-xcx6-jx8p-x3h5 range is >=5.0.0-beta.0 <7.1.0. This active extended-stable graph resolves Teams apps 2.1.0 to 5.6.0 and Azure Identity 4.13.3 to 6.0.1; do not force unaffected 3.x/4.x consumers across majors. Use the mature 7.1.1 package containing Microsoft upstream fix f550958586475dbfeb1cd44be14a2d653728850e (AzureAD/microsoft-authentication-library-for-js#8901, Robbie-Microsoft). No upstream source was copied or cherry-picked. The scoped pnpm integration is local implementation; retain the real-SDK regression originally authored in aggregate 8e6f7bd by roboclaw-bot. Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs real behavior proof before merge. What this changesPins MSAL Node 7.1.1 for two affected credential consumers and preserves those scoped overrides in managed npm installs. Example: An extended-stable Teams installation uses @microsoft/teams.apps 2.1.0.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this maintainer-authored security repair remains useful, and the previous scoped-pin finding is resolved; no definite introduced code defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherWorkspace dependency policy enters the managed npm override adapter, which writes installer manifests; Teams and Azure Identity then use the resolved MSAL dependency for token acquisition. flowchart TD
A[Workspace overrides] --> B[pnpm dependency resolution]
A --> C[Managed npm override adapter]
C --> D[Plugin install manifest]
B --> E[Teams and Azure Identity]
D --> E
E --> F[MSAL token acquisition]
F --> G[Microsoft authority]
Technical reviewBest possible solution: Retain the scoped pins and shared npm translation, then qualify credential routing and installed-state compatibility on this release train. Do we have a high-confidence way to reproduce the issue? The base lockfile establishes affected MSAL resolutions and upstream confirms the vulnerable authorization-code contract; this does not reproduce an OpenClaw credential exploit. Is this the best way to solve the issue? Exact-consumer pins plus translation in the existing override producer address both installation paths without globally upgrading unrelated consumers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e125921a28eb. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: No introduced bypass was identified, but the changed credential-routing boundary still needs final-effect qualification. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +29, Tests +254, Config +2, Other -7. Total +278 across 6 files. Added test files: 2. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 29, 2026, 2:36 AM ET / 06:36 UTC (Revision 2). |
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Align extended-stable installer coverage with the exact-parent override normalization from #187287. Keep strict first-install ownership and alias-free retry assertions. Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Release adaptation: carry the npm companion from #187287 onto the existing stable override owner. Translate exact-parent, unversioned-child selectors without widening other scopes or carrying the donor’s old dependency graph. #187294 contains the equivalent companion; no separate pick is needed. (cherry picked from commit a768c14) Co-authored-by: RomneyDa <[email protected]>
Release adaptation: target Teams Apps 2.1.1 and MSAL 7.1.2, already used by Azure Identity. Keep Azure Identity and other selectors unchanged. Verify the installed SDK edge and normal client-credentials token acquisition using synthetic HTTP fixtures. Companion audit: the release-only donor and sibling carriers are outside the pinned main scan; exact PR and topic searches found no main follow-up. This branch carries the managed npm translation from #187287; #187294 is equivalent. The beta carrier c0b1a23 confirms the same scoped version and needs no separate pick. (cherry picked from commit ea375ff) Co-authored-by: RomneyDa <[email protected]>
Summary
Scope MSAL Node 7.1.1 only to affected Teams apps 2.1.0 and Azure Identity 4.13.3 consumers. Minimal lock regeneration and real-SDK regression. Unaffected 3.x/4.x consumers remain untouched.
Necessity and source
Extended stable resolves vulnerable MSAL 5.6.0 and 6.0.1, within GHSA-xcx6-jx8p-x3h5 (>=5.0.0-beta.0 <7.1.0). A mocked baseline demonstrates response-controlled routing entering attacker discovery, while 7.1.1 ignores it. This does not establish an end-to-end OpenClaw credential exploit: inspected production app/certificate token flows use client_credentials.
Microsoft upstream PR #8901, commit f550958586475dbfeb1cd44be14a2d653728850e, authored by Robbie-Microsoft, restricts instance-aware inputs and sanitizes authorization-code responses. This is an explicit local dependency integration, not a source cherry-pick. Regression preserved from aggregate 8e6f7bd by roboclaw-bot; requested RomneyDa trailer retained. Maintained consumer releases still request affected MSAL majors; selecting 7.1.1 avoids the too-new 7.1.2 release without weakening release-age gates.
Validation
31 tests passed, including real Teams/Azure adapters and synthetic malicious-routing checks. Full extension-test typecheck, focused lint, formatting, frozen install, dependency graph and diff checks pass. No live-tenant credentials used. Audit removes this advisory; unrelated findings remain.
Train and gates
Base extended-stable/2026.9.33 at e93b50a. Stable/beta adaptations are separate work. DRAFT, not RFR: full-context independent canonical review, required hosted checks and live-tenant/broader qualification remain outstanding.