# NousResearch/hermes-agent · Unbounded HTTP response body reads need caps

## Open now

- 2 issues, 2 PRs open on GitHub.
- #54757: CLI enrollment helpers read JSON response bodies without a cap
- #54780: Nous billing client reads response bodies without a cap
- PR #54758: fix(cli): bound enrollment response reads
- PR #54781: fix(nous): bound billing response reads

These issues and PRs concern HTTP response bodies being read without size limits in CLI enrollment and billing client code. Fixes involve bounding those reads to prevent uncapped memory consumption.

## TL;DR

- 6 member(s): 2 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.25`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #54757: CLI enrollment helpers read JSON response bodies without a cap
- #54780: Nous billing client reads response bodies without a cap

## Closed / duplicate issues

- #54953: Nous billing client reads portal JSON responses without a body cap

## Prior & competing PRs

- **#56501: fix(cli): bound enrollment response reads**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#54758`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#54758: fix(cli): bound enrollment response reads**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/relay/__init__.py`, `hermes_cli/_http_response_limits.py`, `hermes_cli/dashboard_register.py`, `hermes_cli/gateway_enroll.py`, `tests/gateway/relay/test_self_provision.py`, `tests/hermes_cli/test_cli_response_limits.py`
- **#54781: fix(nous): bound billing response reads**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/nous_billing.py`, `tests/hermes_cli/test_billing_portal_url.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
