# NousResearch/hermes-agent · Bind clarify resolution to owning session key

## Open now

- 1 issue, 1 PR open on GitHub.
- #87780: security: resolve_gateway_clarify() accepts a forged/guessed clarify_id with no session/chat/profile binding
- PR #130816: fix(gateway): bind clarify resolution to the owning session

These items address a security issue where clarify resolution in the gateway could be triggered using a forged or guessed clarify_id without verifying session, chat, or profile ownership. The fixes enforce that clarify resolution is bound to the owning session key.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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

- #87780: security: resolve_gateway_clarify() accepts a forged/guessed clarify_id with no session/chat/profile binding

## Prior & competing PRs

- **#87791: fix(gateway): bind clarify resolve to owning session_key**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#130816: fix(gateway): bind clarify resolution to the owning session**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `gateway/platforms/base.py`, `gateway/relay/adapter.py`, `gateway/run_inbound.py`, `gateway/session_authority.py`, `gateway/session_pending_controls.py`, `plugins/platforms/discord/adapter.py`, `plugins/platforms/slack/adapter.py`, `plugins/platforms/telegram/adapter.py`, `plugins/platforms/whatsapp_cloud/adapter.py`, `tests/gateway/relay/test_relay_interactive.py`, `tests/gateway/test_authority_principal.py`, `tests/gateway/test_clarify_card_retire_on_timeout.py`, `tests/gateway/test_clarify_delivery_fallback.py`, `tests/gateway/test_clarify_session_binding.py`, `tests/gateway/test_clarify_thread_followup_not_swallowed.py`, `tests/gateway/test_slack_clarify_buttons.py`, `tests/gateway/test_whatsapp_cloud.py`, `tests/tools/test_clarify_gateway.py`, `tools/clarify_gateway.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
