Files
hermes-agent/hermes_cli/dashboard_auth
unsupportedpastels ed4c35076b fix(dashboard-auth): cap request bodies on the public auth routes
The pre-auth POST routes under /auth/ buffered the whole JSON body before validation, with no size limit, so anonymous clients could hold large uploads in memory. A pure-ASGI middleware now answers 413 when Content-Length exceeds 64 KiB, and counts the bytes actually received so chunked or understated bodies are cut off at the same limit. Authenticated routes and WebSockets are unchanged.

Reported-by: Tenable Research
2026-10-05 12:51:22 -04:00
..
…
…