NousResearch/hermes-agent

Cap inbound media download size to prevent memory exhaustion

Cluster 13145 · gateway. Data as of

Nothing open on GitHub. Fix merged in #50321 on 21 Jun 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #50321. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #50321. That is separate from the fix event.
Still open
Nothing open on GitHub.

These members address a vulnerability where inbound media downloads (image, audio, video) had no size limit, risking memory exhaustion. The work involves adding a byte cap on inbound media attachments in the gateway.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #50321 fix(gateway): cap inbound media download size to prevent memory exhaustion

    merged to main

    files: gateway/platforms/base.py, hermes_cli/config.py, plugins/platforms/discord/adapter.py, tests/gateway/test_media_download_retry.py, tests/gateway/test_platform_base.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #13341 fix(gateway): cap inbound media attachment bytes · merged via another change → #50321
Closed issues · 1
  • Closed#13145No size cap on inbound media downloads (image/audio/video) — potential memory exhaustion
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Merged PRs
#50321
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
21 Jun 2026

For your agent

The same facts, typed.