ā Back to list
4/8/2026, 2:58:54 PM
01Issue
BugShippedSwamp CLI
AssigneesNone
evals/promptfoo: bump hono and @hono/node-server to clear 6 dependabot alerts
Opened by stack72 Ā· 4/8/2026Ā· Shipped 4/8/2026
Summary
GitHub Dependabot is reporting 6 open medium-severity alerts against
evals/promptfoo/package-lock.json. All of them are transitive dependencies
pulled in by promptfoo@0.121.3, and all resolve to two underlying packages:
hono4.12.11 ā needs>= 4.12.12@hono/node-server1.19.12 ā needs>= 1.19.13
Affected alerts
| # | Package | Severity | GHSA | Summary |
|---|---|---|---|---|
| 7 | hono | medium | GHSA-r5rp-j6wh-rvv4 | Non-breaking space prefix bypass in cookie name handling in getCookie() |
| 6 | hono | medium | GHSA-xpcf-pg52-r92g | Incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses |
| 5 | hono | medium | GHSA-26pp-8wgv-hjvm | Missing validation of cookie name on write path in setCookie() |
| 4 | hono | medium | GHSA-xf4j-xp2r-rqqx | Path traversal in toSSG() allows writing files outside output dir |
| 3 | hono | medium | GHSA-wmmm-f939-6g9c | Middleware bypass via repeated slashes in serveStatic |
| 2 | @hono/node-server | medium | GHSA-92pp-h63x-v22m | Middleware bypass via repeated slashes in serveStatic |
All 6 alerts are confined to the promptfoo eval harness ā no production swamp code or CLI surface is affected. The risk is low (we only run promptfoo locally/in CI for evals, not as an internet-facing service), but the alerts create noise in the security tab.
Proposed fix
This affects only evals/promptfoo/package.json and its lockfile. The fix
would involve one of the following, in order of preference:
- Bump
promptfooto a newer release that already pulls in patchedhono >= 4.12.12and@hono/node-server >= 1.19.13transitively. Verify the new version is API-compatible with how we call promptfoo from the eval harness. - If no upstream promptfoo release pins the patched versions yet, add
npmoverridesforhonoand@hono/node-servertoevals/promptfoo/package.json(alongside the existing@anthropic-ai/sdkoverride) and regenerate the lockfile. - Re-run the promptfoo eval suite once to confirm nothing regressed.
Verification
evals/promptfoo/package-lock.jsonshould resolvehonoto>= 4.12.12and@hono/node-serverto>= 1.19.13.- All 6 dependabot alerts (#2 through #7) should auto-close after the bump merges.
- The promptfoo eval harness should still run end-to-end against a sample config.
Environment
- Repo: systeminit/swamp
- File:
evals/promptfoo/package-lock.json - Today's promptfoo version:
0.121.3
02Bog Flow
Shipped
Click a lifecycle step above to view its details.
03Sludge Pulse
Sign in to post a ripple.