Anthropic OAuth security and race condition issues
Cluster 87888 · agent. Data as of
Nothing open on GitHub. Fix merged in #98245 on 30 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #98245. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #98245. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern multiple related OAuth vulnerabilities: a missing cross-process lock on token refresh, a CSRF gap, stale API keys silently overriding OAuth credentials, and mishandling of single-use tokens during shared-credential refreshes.
Open issues0
Open PRs0
Fixes on record
-
#98245 Anthropic OAuth: shared-credential refreshes stop burning single-use tokens; dashboard PKCE removed (salvage #87891)
files:
agent/anthropic_adapter.py,agent/anthropic_credentials.py,agent/anthropic_endpoints.py,agent/anthropic_message_convert.py,agent/auxiliary_client.py,agent/credential_persistence.py,agent/credential_pool.py,hermes_cli/auth.py,hermes_cli/web_server.py,tests/agent/test_anthropic_adapter.py,tests/agent/test_anthropic_borrowed_row_authority.py,tests/agent/test_anthropic_credential_persist_failure.py,tests/agent/test_anthropic_keychain.py,tests/agent/test_anthropic_oauth_stress.py,tests/agent/test_anthropic_spent_rotation_verdict.py,tests/agent/test_anthropic_token_scope_isolation.py,tests/agent/test_auxiliary_client.py,tests/agent/test_credential_pool.py,tests/agent/test_credential_pool_anthropic_refresh_race.py,tests/agent/test_credential_pool_oat_authtype.py(+9 more)
1 PR closed without merging
From the close comments: merged via another change 1
-
#87891 fix(auth): close Anthropic OAuth CSRF gap, cross-process refresh race, and API-key shadowing · merged via another change →
b4403a9,#98245,#95434
Closed issues · 1
- Closed#87888Anthropic OAuth refresh not protected by cross-process lock; stale ANTHROPIC_API_KEY silently shadows OAuth login
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
1.00: 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
- Subsystem
- agent
- Merged PRs
- #98245
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 30 Aug 2026