Attributed metadata history
Up to 100 retained publisher events per page for a1aaa019aace2c09c3fff1b5fcf754730f46e3105bbea95e30da5429cc468964. Withdrawals and unavailable references remain attributed to their publishers.
intelligence_src_1653fbf8e2da6d59a7
observed · 2026-10-12 07:00:04 UTC
Hermes Agent - Pre-Authentication Memory Exhaustion In Hermes Agent the dashboard's public authentication routes (/auth/native/token, /auth/native/refresh, and /auth/password-login) read and parse the entire JSON request body before any authentication check, with no application-level size limit.The gated_auth_middleware in hermes_cli/dashboard_auth/middleware.py lets these paths through via _GATE_PUBLIC_PREFIXES before checking for a session. The handlers in routes.py rely on Pydantic models whose string fields have no size bound, and the pinned web stack (FastAPI 0.133.1, Starlette 1.3.1, Uvicorn 0.41.0) buffers the full body before the handler runs. Uvicorn's configuration in start_server (hermes_cli/web_server.py) caps WebSocket message size but sets no HTTP body limit.As a result, an unauthenticated client can send oversized payloads that are fully loaded into memory before being rejected. Testing confirmed that a ~1 MB body to /auth/native/refresh returned 401 instead of 413, and that chunked uploads of 32 MiB and 128 MiB, sent without Content-Length, still reached /auth/password-login's application-level rejection (404). Keeping eight concurrent 32 MiB uploads op
Fingerprint: 8961738ae664777acc837a5135baf54dd5c7758a4e7df45edac5a7d27b855073
intelligence_src_1653fbf8e2da6d59a7
observed · 2026-10-12 07:00:03 UTC
available
Fingerprint: 86702f643ebd0674703e932c4c1a03894af3a9384cc8440601f4446331d97e15