Skip to content

[auto] Bump hono to 4.12.12 and vite to 8.0.5 in aegis-oss (8 dependabot alerts)#22

Open
stackbilt-admin wants to merge 1 commit intomainfrom
auto/7f40f7c8
Open

[auto] Bump hono to 4.12.12 and vite to 8.0.5 in aegis-oss (8 dependabot alerts)#22
stackbilt-admin wants to merge 1 commit intomainfrom
auto/7f40f7c8

Conversation

@stackbilt-admin
Copy link
Copy Markdown
Member

Autonomous Task

Task ID: 7f40f7c8-5421-4309-9488-6ce1ad03e6d4
Authority: auto_safe
Exit code: 0

Task Prompt

Bump hono to 4.12.12 and vite to 8.0.5 across the aegis-oss monorepo to clear 8 open dependabot alerts.

Context

Dependabot alerts on Stackbilt-dev/aegis-oss:

  • 5x hono medium severity — fixed in 4.12.12
    • Cookie name bypass in getCookie() via non-breaking space prefix
    • setCookie() missing cookie name validation
    • ipRestriction() incorrect IPv4-mapped IPv6 matching
    • serveStatic middleware bypass via repeated slashes
    • toSSG() path traversal writing outside output directory
  • 3x vite (2x high, 1x medium) — fixed in 8.0.5
    • server.fs.deny bypassed with queries (high)
    • Arbitrary file read via dev server WebSocket (high)
    • Path traversal in optimized deps .map handling (medium)

Vite is dev-only (dev server), so the "high" severity is dev-tool risk, not production. Hono is on the production request path — that's the real priority.

Scope

  1. Find every package.json in the monorepo (workspace root + all packages) that pins hono or vite.
  2. Bump hono pins to ^4.12.12 (or 4.12.12 exact if the existing style is exact).
  3. Bump vite pins to ^8.0.5 (or 8.0.5 exact if the existing style is exact).
  4. Run npm install (or pnpm install — use whichever lockfile exists) to update the lockfile.
  5. Run npm run typecheck (or workspace equivalent) — Hono 4.12.x shouldn't have type breaks from current 4.x, but verify.
  6. Run the test suite if one exists (npm test or pnpm test). If tests pass, you're done. If they fail, diagnose — Hono 4.12 may have minor API tweaks; check the release notes at https://github.com/honojs/hono/releases.
  7. Commit with a conventional-commits message: fix(deps): bump hono to 4.12.12 and vite to 8.0.5 for CVE fixes. List the alert numbers in the commit body (hono: chore(ci): bump actions/checkout from 4 to 6 #12-16, vite: feat: trajectory compression — learn from own best executions #9-11).

Safety

  • DO NOT bump any other dependencies. If npm update or pnpm update would touch anything beyond hono and vite, use explicit npm install hono@4.12.12 vite@8.0.5 instead.
  • If the typecheck or test fails

Result Summary

Commit landed. Bumped hono from 4.12.8 to 4.12.12 and added vite ^8.0.5 (resolved 8.0.8) in web/package.json. Typecheck clean, all 1473 tests pass.

TASK_COMPLETE


Generated by AEGIS task runner. Review before merging.

Addresses 8 dependabot security alerts on aegis-oss:

hono (medium severity, #12-#16):
- Cookie name bypass in getCookie() via non-breaking space prefix
- setCookie() missing cookie name validation
- ipRestriction() incorrect IPv4-mapped IPv6 matching
- serveStatic middleware bypass via repeated slashes
- toSSG() path traversal writing outside output directory

vite (2x high, 1x medium, #9-#11):
- server.fs.deny bypassed with queries (high)
- Arbitrary file read via dev server WebSocket (high)
- Path traversal in optimized deps .map handling (medium)

Resolved versions: hono 4.12.12, vite 8.0.8 (satisfies ^8.0.5).
Typecheck and all 1473 tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stackbilt-admin stackbilt-admin added the auto-generated Created by AEGIS task runner label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-generated Created by AEGIS task runner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant