Commit d1129c4
fix(deps): override undici to patched 7.28.0 to close GHSA-vmh5-mc38-953g (#2044)
CI's "Validate Package Dependencies" gate (pnpm audit --audit-level=high)
fails on GHSA-vmh5-mc38-953g — undici TLS certificate validation bypass via
dropped requestTls in the SOCKS5 ProxyAgent (vulnerable >=7.23.0 <7.28.0).
undici 7.27.2 is pulled transitively through the VS Code extension's publish
tooling: packages/vscode-objectstack > @vscode/vsce > cheerio > undici.
Pin via pnpm-workspace.yaml `overrides` (the repo's canonical location — pnpm
v10 ignores package.json `pnpm.overrides`). cheerio@1.2.0 declares undici
^7.19.0, so the override targets only the vulnerable range and forces ^7.28.0
(resolves to 7.28.0) — staying inside the 7.x major cheerio supports rather
than jumping to undici 8.x.
After the change `pnpm audit --audit-level=high` reports 0 high (exit 0) and
`turbo run build --filter=objectstack-vscode` still succeeds.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent fd2e1a2 commit d1129c4
2 files changed
Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
0 commit comments