hono

npm

Is hono safe to use?

The latest brin safety scan flagged hono v4.11.7 with risk indicators that warrant review. 6 known CVE vulnerabilities. Trust score: 65/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

hono Has Warnings

Warnings detected due to potential concerns

warning
CVEs

6

Threats

0

Install Scripts

0

Risk Indicators

  • Can spawn child processes

hono CVE Vulnerabilities (6)

Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass

Fixed in: 4.11.4

Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)

Fixed in: 4.11.4

Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

Fixed in: 4.11.7

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.
  • Update to a patched version to address 2 high-severity CVEs.

Install with brin add hono to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

hono Capabilities & Permissions

What hono can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

admin.example.comapi.comapp.comapp.example.combackend-service.comdatatracker.ietf.orgdeveloper.mozilla.orgdevelopers.cloudflare.comdocs.aws.amazon.comexample.com+7 more
Protocols: http, https

Process Spawning

This package can spawn child processes.

AGENTS.md for hono

Good instructions lead to good results. brin adds hono documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

hono Documentation & Source Code

For the full hono README, API documentation, and source code, visit the official package registry.

Frequently asked questions about hono safety

Weekly Downloads

14.2M

Version

4.11.7

License

MIT

Last Scanned

Jan 31, 2026

Trust Score

65/100·Legitimacy signals, not safety

CVEs (6)

CVE-2026-22817

Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass

Fixed in: 4.11.4

CVE-2026-22818

Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)

Fixed in: 4.11.4

CVE-2026-24398

Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

Fixed in: 4.11.7

CVE-2026-24472

Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception

Fixed in: 4.11.7

CVE-2026-24473

Hono has an Arbitrary Key Read in Serve static Middleware (Cloudflare Workers Adapter)

Fixed in: 4.11.7

CVE-2026-24771

Hono vulnerable to XSS through ErrorBoundary component

Fixed in: 4.11.7

Capabilities

Network

Connects to: admin.example.com, api.com, app.com...

Process

Spawns child processes