Skip to content

ci(security): audit hono and nestjs package.json changes - #43

Merged
muralx merged 1 commit into
mainfrom
fix/security-audit-paths-hono-nestjs
Jul 27, 2026
Merged

ci(security): audit hono and nestjs package.json changes#43
muralx merged 1 commit into
mainfrom
fix/security-audit-paths-hono-nestjs

Conversation

@muralx

@muralx muralx commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Problem

security.yml (the npm-audit gate) only triggers its per-PR / per-push run when sdk, mcp, or fastmcp package.json changes. hono and nestjs were added later and ship as published packages, but were never added to the paths: filters — so a PR changing only their dependencies would merge without an audit check. (The weekly scheduled run audits the whole tree, so nothing is unaudited long-term; this closes the per-PR gap.)

Change

Add packages/hono/package.json and packages/nestjs/package.json to both the pull_request and push paths: lists. Workflow-only, no dependency changes.

Note

Today both packages declare zero runtime dependencies (everything is peerDependencies), so there is nothing for the audit to flag in their trees right now — this is parity/future-proofing so the gate fires if a runtime dep is ever added.

Companion PR handles the actual high-severity advisories (axios/undici/fast-uri) in fastmcp/mcp.

@muralx
muralx requested a review from a team as a code owner July 27, 2026 11:52
security.yml only re-ran npm audit on PRs touching sdk/mcp/fastmcp
package.json. hono and nestjs ship too, so a PR changing only their
dependencies would bypass the high/critical audit gate (the weekly
scheduled run still covers the whole tree, but not per-PR). Add both
package.json paths to the pull_request and push triggers for parity.
@muralx
muralx force-pushed the fix/security-audit-paths-hono-nestjs branch from 4c424d7 to 0acabdd Compare July 27, 2026 12:47
@muralx
muralx merged commit a9fbb5f into main Jul 27, 2026
8 checks passed
@muralx
muralx deleted the fix/security-audit-paths-hono-nestjs branch July 27, 2026 12:49
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