Skip to content

build(deps): fix audit failures with parent-scoped overrides - #151

Merged
semics-tech merged 2 commits into
mainfrom
agent/audit-parent-bumps
Oct 27, 2026
Merged

semics-tech merged 2 commits into
mainfrom
agent/audit-parent-bumps

Conversation

@semics-tech

@semics-tech semics-tech commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Supersedes #149 (closed). Merging this unblocks #148.

Oli asked to fix main's Dependency audit failures by upgrading parent dependencies rather than overriding. I checked the registry: no parent release fixes either advisory, so a narrow override is the only option for both.

Advisory Parent Latest parent Why no bump helps
dompurify <=3.4.16 (critical + high) monaco-editor 0.57.0 (rc: 0.57.0-rc.2) pins dompurify to exactly 3.4.15
@azure/msal-node <7.1.0 (high) @azure/identity (via the worker's mssql/tedious chain) 4.14.0 (beta 4.15.0-beta.1) depends on @azure/msal-node ^6.0.0

Changes vs #149:

  • The global dompurify and @azure/msal-node overrides are replaced by overrides scoped to the parent: monaco-editor>dompurify ^3.4.17 and @azure/identity>@azure/msal-node ^7.1.0. Nothing else in the tree is touched.
  • Lockfile: dompurify 3.4.17, msal-node 7.1.1 (major bump 6 to 7), msal-common 16.14.3.
  • Remove each override once monaco-editor / @azure/identity release with the fixed ranges.

Checks:

  • CI: all checks pass on the latest head, including Integration (SQL Server + Postgres) and the demo compose stack. The compose "enrols" check failed once on the first run and passed on an unchanged re-run (empty commit), so treated as a flake.
  • Local: pnpm audit --audit-level high exit 0, pnpm lint, pnpm typecheck pass; worker bundle builds and --rsagent-selftest passes.

The msal-node 6 to 7 major isn't exercised by any test (it only runs for Azure AD auth to SQL), so worth a manual Azure auth check if you use that path.

🤖 Generated with Claude Code

…and msal-node

No released parent fixes either advisory: monaco-editor (0.57.0 and rc) pins
dompurify 3.4.15 exactly, and @azure/identity (4.14.0 and 4.15.0-beta.1)
depends on @azure/msal-node ^6. Overrides are scoped to those parents.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@semics-tech
semics-tech marked this pull request as ready for review October 26, 2026 13:35
@semics-tech
semics-tech merged commit ed018a2 into main Oct 27, 2026
14 checks passed
@semics-tech
semics-tech deleted the agent/audit-parent-bumps branch October 27, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant