# NousResearch/hermes-agent · Mask JWT-format and dotted API keys in terminal

## Open now

- Nothing open on GitHub.

These issues and fixes address a gap where API keys containing dots or JWT-style formatting (e.g., sk-xxx.yyy.zzz) were not fully redacted in terminal/tool output. The work extends the redaction logic to cover these key patterns.

## TL;DR

- 4 member(s): 0 open issue(s), 1 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 #114839. Verify it addresses your case.
- **Recommended:** read PR #114839 (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: `resolved` · deciding PR(s): `pr-114839`. 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.

## Closed / duplicate issues

- #106508: \[Security\] Terminal tool fails to mask JWT-format API keys

## Prior & competing PRs

- **#114839: fix(redact): dotted sk- keys and prefix-less Zhipu keys are fully masked in tool output (#113901, #78128, #106508, salvage #113908)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/redact.py`, `tests/agent/test_redact.py`, `tests/tools/test_mcp_tool.py`, `tools/mcp_tool_common.py`
- **#106520: fix(redact): mask JWT-format sk- API keys with dotted bodies**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `dd07510226a1`, `#114839`, `#113901`, `#78128`, `#106508`, `#113908`
- **#106535: fix(terminal): mask JWT-format keys with embedded dots**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`

## Fix status

- Merged to main in PR #114839 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-18`.
