NousResearch/hermes-agent

Preventing OpenAI/OpenRouter API key leakage to custom provider endpoints

Cluster 28660. Data as of

Nothing open on GitHub. Fix merged in #29606 on 21 May 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 #29606. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #29606. That is separate from the fix event.
Still open
Nothing open on GitHub.

The members concern OPENAI_API_KEY and OPENROUTER_API_KEY environment variables being used as a fallback when a custom provider base_url points to a non-OpenAI host. One issue describes the cross-provider credential leak, and two pull requests propose security changes to limit key use to appropriate hosts.

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.

  • #29606 fix(security): gate OPENAI_API_KEY / OPENROUTER_API_KEY env fallback on host (#28660)

    merged to main

    files: hermes_cli/runtime_provider.py, scripts/release.py, tests/hermes_cli/test_runtime_provider_resolution.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #28884 fix(security): prevent API key leakage to non-authoritative custom endpoints · merged via another change → #29606
Closed issues · 1
  • Closed#28660OPENAI_API_KEY / OPENROUTER_API_KEY leak to non-OpenAI custom-provider base_urls (cross-provider credential leak)
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

Merged PRs
#29606
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
21 May 2026

For your agent

The same facts, typed.