Clear new pnpm audit advisories (MCP SDK, proxy-addr, undici, vite, markdown-it, …)

Open
#112 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #113 by @taylanpince — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
nodejs, typescript

Research direction

Start by running pnpm audit --audit-level=high to see the current findings, then read pnpm-workspace.yaml, where the overrides and deferred items are documented, plus the package.json files in api, web and mcp. The linked pull request #113 was closed without merging, so check why before repeating its approach. Done means the audit passes except for the listed deferred items, pnpm typecheck and the package tests pass, and pnpm install --frozen-lockfile succeeds.

Written by the indexing model from the issue text.

Description

needs-review P1

`pnpm audit --audit-level=high` fails on master (49 findings: 1 critical, 12 high) from advisories published since the last run. It blocks clean CI on the Railway → dry-dock PRs (#103) and the first production image should not ship them.

Change

Bump direct deps and raise/add transitive overrides to patched versions that already clear the 14-day `minimumReleaseAge` gate (no `minimumReleaseAgeExclude` entries).

  • Direct (api): `@modelcontextprotocol/sdk` ^1.32.0, `markdown-it` ^14.3.2, `sanitize-html` ^2.18.0, `hono` ^4.13.11; `vitest` ^4.1.11 (api/web/mcp).
  • Overrides: `proxy-addr` (critical, GHSA-jqcg-44mw-7w3h), `fast-uri`, `undici`, `ip-address`, `hono`, `qs` (previously deferred, now clear of the gate), `source-map-js`, `fast-copy`, `vite`.

Deferred (documented in pnpm-workspace.yaml)

  • `markdown-it` 14.3.3 (GHSA-gfr2-rv44-r23c high, GHSA-vfgh-jcmw-g37q low): published 2026-10-16, clears the gate 2026-10-30.
  • `@vitest/mocker` 4.1.12 (GHSA-qxg6-89mg-rqv8, dev-only): clears 2026-10-29.
  • `braces` / `sprintf-js`: no patched release exists; dev-only via `@changesets/cli`.

Acceptance criteria

  • `pnpm audit --audit-level=high` passes or only the deferred items remain.
  • `pnpm typecheck` and all package tests pass; lockfile installs with `--frozen-lockfile`.
Dominant language
TypeScript
Stars
2
Forks
1
Avg merge
13h 38m
Merged PRs (30d)
24

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 0xPolygon/primer

All issues in 0xPolygon/primer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.