Skip to content

fix(security): pin production transitives so weekly npm audit passes - #43

Open
Roarpeng wants to merge 1 commit into
mainfrom
cursor/fix-security-audit-join-aad7
Open

Roarpeng wants to merge 1 commit into
mainfrom
cursor/fix-security-audit-join-aad7

Conversation

@Roarpeng

@Roarpeng Roarpeng commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Why

Monday’s scheduled Security Audit on main (4fa9b3f, run 34823757389) now runs npm audit (the join crash was already fixed on main) and fails with 8 production findings (4 high, 3 moderate, 1 low), all transitives of @modelcontextprotocol/sdk / @huggingface/transformers.

This PR was rebased onto current main. The script/test work from the earlier revision is already shipped; this revision only adds npm overrides.

Changes

package.json / lockfile overrides:

package pin
@hono/node-server 1.19.17
hono 4.13.7
body-parser 2.3.0
fast-uri 3.1.7
ip-address 10.7.0
qs 6.16.0
sharp 0.35.4

Direct dependencies are unchanged. Default embeddings remain FNV; sharp@0.35.4 is above transformers’ ^0.34.5.

Validation

  • npm run security:audit -- --json — exit 0
  • npx vitest run tests/security-audit-script.test.ts — pass
Open in Web Open in Cursor 

@Roarpeng
Roarpeng marked this pull request as ready for review September 7, 2026 08:05
… passes

The join import already landed on main; scheduled Security Audit now
reaches npm audit and fails on MCP SDK / transformers transitives.
Override hono, @hono/node-server, body-parser, fast-uri, ip-address,
qs, and sharp to patched versions. Direct deps unchanged.
@cursor
cursor Bot force-pushed the cursor/fix-security-audit-join-aad7 branch from 0f28941 to 51525b1 Compare September 14, 2026 08:41
@cursor cursor Bot changed the title fix(security): restore weekly npm audit (join import + production overrides) fix(security): pin production transitives so weekly npm audit passes Sep 14, 2026
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.

2 participants