{"repo":"NousResearch/hermes-agent","public_id":"126218","display_label":"API key leaking to unintended origins via hostname match","summary":"A bug where an API key bound to a specific OPENAI_BASE_URL could be incorrectly sent to other services sharing the same hostname but using a different scheme or port. The associated fix and follow-up work tighten key routing so each key is sent only to its exact origin.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":130508,"merged_at":"2026-10-03T11:00:28+00:00"},"resolution":{"state":"resolved","by":"pr-130508"},"freshness":{"state":"verified","last_verified_at":"2026-10-03T11:00:28+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":126104,"pr_number":130508,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-03T11:00:28+00:00"},{"issue_number":126218,"pr_number":130508,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-03T11:00:28+00:00"}],"members":[{"kind":"issue","number":126218,"title":"[Bug]: an OPENAI_BASE_URL-bound OPENAI_API_KEY reaches an OpenRouter mirror on the same hostname over http:// or another port","url":null,"state":"closed"},{"kind":"pr","number":126222,"title":"fix(runtime_provider): an OPENAI_BASE_URL-bound OPENAI_API_KEY follows its origin, not its hostname","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#130508","number":130508}],"category":"uncategorized","implication":"needs_llm"},"merged":false},{"kind":"pr","number":130508,"title":"Auxiliary clients and the OpenRouter mirror send the main or OPENAI_BASE_URL-bound API key only to its exact origin (#126104, #126218, salvage #126108, #126222)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/auxiliary_client.py","hermes_cli/runtime_provider_backends.py","tests/agent/test_auxiliary_client.py","tests/agent/test_auxiliary_ollama_local_provider.py","tests/hermes_cli/test_runtime_provider_resolution.py","website/docs/reference/environment-variables.md","website/docs/user-guide/configuration.md","website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/environment-variables.md","website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/configuration.md"]}],"trust":{"default_tier":"verified","includes_suggested":false}}