Case · DiggingBeagle record

Hermes Agent lost MCP tool discovery when a tool-list event exceeded one MiB

Large MCP tools/list events caused Hermes Agent tool discovery to fail after successful initialization, with a decoder size limit distinct from total HTTP body limits.

Scope

Hermes Agent issue reported in October 2026, including reproduced v0.22.2 configurations and unusually large MCP tool registries. The final Hermes release fix was not confirmed in the provided evidence.

Assessment profile

Assessment method
Setting
controlled live
Exploitation
demonstrated
Impact
Band 1 of 4
Evidence
Grade B
AI role
AGAINST AI
Basis and provenance

Hermes issue #138329 includes reporter reproduction on Docker and macOS and describes an httpx2 decoder 1 MiB per-event limit, with larger Cloudflare and Higgsfield tool lists. It does not establish a released, retested Hermes fix; third-party error translation obscured the underlying size problem.

Impact basis: A large MCP tools/list SSE frame could make an otherwise initialized integration fail and be disabled by retries. Impact is tool availability for affected client/dependency combinations, not attacker execution or exfiltration.

Assessed Oct 19, 2026 using diggingbeagle.assessment/1.

At a glance

Claims & evidence

CLM-HERMES-MCP-SSE-TOOLS-LIMITA Hermes Agent issue describes successful MCP initialization followed by a failed tools/list response when a large SSE event exceeded a new one MiB decoder cap.supported

Basis: reported finding

Link to claim

Implications

The reported Cloudflare listing had thousands of tools, while smaller but still oversized responses also failed. The root issue is protocol event framing and error reporting, not a prompt injection or unauthorized tool effect.

Controls and mitigations

  • Make SSE event size configurable with explicit resource bounds, paginate large tool listings and expose the actual size error to callers.

Unknowns and contradictions

  • The reporter reproduced the issue on specified Docker and macOS setups. A Hermes project patch or universal fixed release was not confirmed in the cited thread; changing all limits to unbounded values would introduce a separate denial-of-service hazard.

Sources and citation

Material revision history

  1. Oct 19, 2026 · Published version · first publication · revision 174
  2. Oct 19, 2026 · Canonical change recorded · material revision · revision 175Public fields changed: assessment_profile