Anthropic credential leak fix: env token sent to third-party endpoints
Cluster 105774. Data as of
Nothing open on GitHub. Fix merged in #107978 on 11 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #107978. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #107978. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where the ANTHROPIC_AUTH_TOKEN environment variable could be forwarded to non-Anthropic compatible endpoints alongside an api_key, resulting in unintended dual-credential exposure. The fixes ensure only one credential is sent and that the env-derived token is cleared on api-key-style clients.
Open issues0
Open PRs0
Fixes on record
-
#107978 fix(anthropic): a client sends exactly one credential, on copies too (#105774, salvage #105778)
files:
agent/anthropic_adapter.py,contributors/emails/[email protected],tests/agent/test_anthropic_adapter.py,tests/agent/test_anthropic_client_auth.py,tests/agent/test_auxiliary_client_azure_foundry.py,tests/agent/test_nous_portal_anthropic_wire.py
2 PRs closed without merging
From the close comments: duplicate 1 · stale or abandoned 1
Closed issues · 1
- Closed#105774`ANTHROPIC_AUTH_TOKEN` from the environment is sent to third-party Anthropic-compatible endpoints (dual-auth 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.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Merged PRs
- #107978
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 11 Sep 2026