# NousResearch/hermes-agent · Anthropic OAuth auth fixes and concurrency issues

## Open now

- 1 issue, 0 PRs open on GitHub.
- #87889: _auth_store_lock() can raise an unhandled PermissionError under real concurrency on Windows

These items address several bugs in the Anthropic OAuth implementation, including a CSRF vulnerability, a cross-process token refresh race, API-key shadowing, misuse of single-use tokens, and an unhandled PermissionError in the auth store lock under Windows concurrency.

## 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 #98245. Verify it addresses your case.
- **Recommended:** read PR #98245 (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 `1.00`: 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

- #87889: _auth_store_lock() can raise an unhandled PermissionError under real concurrency on Windows

## Prior & competing PRs

- **#98245: Anthropic OAuth: shared-credential refreshes stop burning single-use tokens; dashboard PKCE removed (salvage #87891)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - 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)
- **#87891: fix(auth): close Anthropic OAuth CSRF gap, cross-process refresh race, and API-key shadowing**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `b4403a942a55`, `#98245`, `#95434`

## Fix status

- Merged to main in PR #98245 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-30`.
- Subsystem: `agent/secret_sources`
