# NousResearch/hermes-agent · Custom Codex base URL leaks credentials to chatgpt.com

## Open now

- 1 issue, 0 PRs open on GitHub.
- #121486: openai-codex behind a custom Codex base URL still calls chatgpt.com with the resolved credential, and fast mode is gated to chatgpt.com

These issues and fixes address a bug where credentials intended for a custom Codex gateway are incorrectly sent to chatgpt.com, and fast mode is improperly restricted to chatgpt.com only.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #121751. Verify it addresses your case.
- **Recommended:** read PR #121751 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #121486: openai-codex behind a custom Codex base URL still calls chatgpt.com with the resolved credential, and fast mode is gated to chatgpt.com

## Prior & competing PRs

- **#121751: fix(codex): keep custom-gateway Codex credentials off chatgpt.com**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/account_usage.py`, `agent/auxiliary_client.py`, `agent/credential_pool.py`, `agent/model_metadata.py`, `hermes_cli/auth.py`, `hermes_cli/auth_codex.py`, `hermes_cli/auth_nous.py`, `hermes_cli/cli_model_switch_mixin.py`, `hermes_cli/codex_models.py`, `hermes_cli/model_setup_flows.py`, `hermes_cli/models.py`, `plugins/image_gen/openai-codex/__init__.py`, `tests/agent/test_astra_baseline_runtime.py`, `tests/agent/test_auxiliary_client.py`, `tests/agent/test_codex_cloudflare_headers.py`, `tests/agent/test_codex_usage_attribution.py`, `tests/agent/test_model_metadata.py`, `tests/agent/test_provider_parity.py`, `tests/hermes_cli/test_codex_credential_host_binding.py`, `tests/hermes_cli/test_codex_models.py` (+1 more)
- **#121508: fix(agent): keep custom-Codex-base credentials off chatgpt.com**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `5260e42521`, `#121751`, `#121486`, `#121497`

## Fix status

- Merged to main in PR #121751 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-25`.
- Subsystem: `agent`
