# NousResearch/hermes-agent · authserv_id default value bug and fix

## Open now

- 1 issue, 0 PRs open on GitHub.
- #98599: \`authserv_id\` defaults to empty, contradicting the comment above it — header-injection defense is silently off by default

The authserv_id configuration option defaults to empty rather than the documented From-domain value, silently disabling header-injection defense. These members track the bug report and subsequent fix attempts to correct the default behavior.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #132255. Verify it addresses your case.
- **Recommended:** read PR #132255 (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 `0.50`: 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

- #98599: \`authserv_id\` defaults to empty, contradicting the comment above it — header-injection defense is silently off by default

## Prior & competing PRs

- **#132255: Email trusts only the topmost auth header and skips unauthorized bodies (salvage #129772)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `plugins/platforms/email/adapter.py`, `tests/gateway/test_email.py`, `tests/gateway/test_email_imap_id_protocol.py`, `tests/gateway/test_email_robustness.py`, `tests/gateway/test_poller_fd_lifecycle.py`, `website/docs/user-guide/messaging/email.md`
- **#98611: fix(email): default authserv_id to the agent From-domain as documented**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `db45b44ab7`, `#132255`, `#88560`
- **#98664: fix(email): default authserv_id to the agent From-domain**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#98611`

## Fix status

- Merged to main in PR #132255 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-03`.
- Subsystem: `gateway`
