fix(deps): resolve open Dependabot alerts in the lockfile
Clears the open Dependabot alerts on main by moving the lockfile to patched versions. Every fixed version is older than the repo's 7 day minimumReleaseAge, so the supply-chain gate still holds.
Published consumers of @stackone/ai resolve their own dependency versions, so this changes what CI, the tests, the examples and the mock MCP server run against, not what users install.
What changed
zoddev catalog:^4.3.0to^4.6.7(direct, GHSA-mrhx-c7xc-m3w5).- Re-resolved within existing ranges:
proxy-addr,body-parser,fast-uri,qs,ajv,path-to-regexp,undici,js-yaml,smol-toml,source-map-js,picomatch. vite,postcss,rollupandnanoidsit under peer-resolved packages (vite under vitest, rollup under unplugin), sopnpm updateleaves them alone. Fouroverridesinpnpm-workspace.yaml, each scoped to the vulnerable range only, move them. Each can be dropped once the parent packages require the fix.
| Package | main | this PR |
|---|---|---|
| proxy-addr (critical) | 2.0.7 | 2.0.8 |
| fast-uri | 3.1.0 | 3.1.9 |
| body-parser | 2.2.1 | 2.4.0 |
| path-to-regexp | 8.3.0 | 8.4.2 |
| qs | 6.14.0 | 6.17.1 |
| ajv | 8.17.1 | 8.20.0 |
| zod | 4.3.5 | 4.6.7 |
| undici | 7.29.0 | 7.30.2 |
| vite | 7.2.6 | 7.3.7 |
| rollup | 4.53.3 | 4.67.5 |
| postcss | 8.5.6 | 8.5.32 |
| nanoid | 3.3.11 | 3.3.20 |
| js-yaml | 4.1.1 | 4.3.2 |
| smol-toml | 1.5.2 | 1.9.1 |
| source-map-js | 1.2.1 | 1.2.2 |
| picomatch | 2.3.1 / 4.0.3 | 2.3.2 / 4.0.7 |
Proof
A script checks every open alert's vulnerable range (from the Dependabot API) against every version of that package in the lockfile:
main: critical 1/1, high 28/28, medium 23/23, low 9/9 still vulnerable
this PR: critical 0/1, high 0/28, medium 0/23, low 1/9 still vulnerable
STILL 46 low esbuild >= 0.27.3 < 0.28.1 -> 0.27.7
The one left is low severity, affects only esbuild's dev server (not used here), and is held at 0.27 by tsx@4.21's ~0.27.0 range. Fixing it means a tsx minor bump, which is out of scope here.
Local run on Node 24.22.3 and pnpm 11.17.0 at the PR head:
| Check | Result |
|---|---|
pnpm install --frozen-lockfile | clean |
pnpm peers check | no peer dependency issues |
pnpm lint (oxfmt, oxlint type-aware, knip) | clean (knip's existing @typescript/native-preview hint only) |
pnpm build | built, publint no issues |
pnpm test | 47 files, 1324 passed, 4 skipped, no type errors |
No runtime change to the library, so there is no demo beyond the checks above.
Gates
| Gate | Result |
|---|---|
| /forge:forge | slop meter: no source files, 0 findings; config diff reviewed by hand |
| Security scan with Aikido | Aikido PR check runs on this head; alert check script above |
| Codex security pass | not run: no source code changed (lockfile and pnpm config only) |
| /security-review | not run: no source code changed |
| /code-review | self-review of the diff; frozen install and peers check clean |
May conflict in pnpm-lock.yaml with #399. Whichever merges second needs pnpm install --lockfile-only after taking either side.
Post-merge validation
After merge, the Dependabot alert list should show 0 critical, 0 high and 0 medium open, with esbuild #46 as the only one left. CI on main should stay green.
Requested by guillaume@stackone.com in Slack (repo audit thread)
š¤ Generated with Claude Code
Summary by cubic
Clears open Dependabot alerts on main by moving the lockfile to patched versions. Published consumers of @stackone/ai resolve their own dependency versions, so this changes only what CI, tests, and the examples run against ā not what users install.
Scope
- Bumps the dev catalog
zodto^4.6.7and re-resolves transitive deps (proxy-addr,body-parser,fast-uri,qs,ajv,path-to-regexp,undici,js-yaml,smol-toml,source-map-js,picomatch) within their existing ranges. - Adds overrides scoped to vulnerable ranges for
vite,postcss,rollup, andnanoid, which sit under peer-resolved packages. Each can be dropped once the parent package requires the fix. - Every fixed version is older than the repo's 7-day
minimumReleaseAge.
Validation
- Frozen install, peers check, lint, build, and all 1324 tests pass.
- Script check of every open alert's vulnerable range: 0 critical/high/medium remain. The one low (esbuild, dev server only) is held at 0.27 by
tsx's~0.27.0range and is out of scope here. - May conflict in
pnpm-lock.yamlwith #399; the second merge needspnpm install --lockfile-onlyafter taking either side.