NousResearch/hermes-agent

Profile and secret scope token binding fixes

Cluster 119485. Data as of

Nothing open on GitHub. Fix merged in #120128 on 23 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #120128. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #120128. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address bugs where HERMES_HOME overrides and secret tokens could leak out of their intended scope when setup raised before the reset path was reached. Fixes move bindings inside the protective try blocks and tighten foreign-home and borrow behavior to fail closed.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #120128 fix(secret-scope): bound scopes carry their home; foreign-home misses fail closed, setup raises release tokens, readers never borrow os.environ

    merged to main

    files: agent/auxiliary_client.py, agent/secret_scope.py, cron/scheduler.py, gateway/kanban_watchers_dispatcher.py, gateway/pairing.py, gateway/run.py, gateway/run_turn.py, gateway/session.py, hermes_cli/config.py, hermes_cli/kanban_db_dispatch.py, hermes_cli/nous_auth_keepalive.py, hermes_cli/web_routers/audio.py, hermes_cli/web_server_mcp.py, hermes_cli/web_server_profiles.py, tests/agent/test_secret_scope.py, tests/agent/test_secret_scope_tier1_migration.py, tests/gateway/test_multiplex_pairing_stores.py, tests/gateway/test_proxy_mode.py, tests/gateway/test_session.py, tests/hermes_cli/test_audio_router_scope.py (+16 more)

1 PR closed without merging

From the close comments: merged via another change 1

  • #119486 fix(profile-scope): bind home and secret tokens inside the try that resets them · merged via another change → b88b3de, #120128
Closed issues · 1
  • Closed#119485[Bug]: Profile-scope binders leak HERMES_HOME override when scope setup raises before the try that resets it
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.67: the share of item 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.

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 Lab

At a glance

Merged PRs
#120128
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
23 Sep 2026

For your agent

The same facts, typed.