# NousResearch/hermes-agent · Extending credential redaction to state.db and OAuth tokens

## Open now

- 3 issues, 1 PR open on GitHub.
- #39654: Hardening: extend secret redaction to state.db persistence + add Google OAuth (ya29./1//) prefixes
- #43666: Redaction gaps at the persistence boundary: tool output file dumps, compaction blocks, DB URIs (split from #43083)
- #54027: Credential redaction not applied to state.db session store (only logs + optional JSON snapshots)
- PR #54038: fix(state): redact credentials in state.db before INSERT (#54027)

These issues and pull requests address gaps in secret redaction coverage, specifically adding Google OAuth token prefixes (ya29./1//) to the scrubber and applying redaction at the state.db persistence boundary, which was previously missed. Tool output file dumps, compaction blocks, and DB URIs are also noted as related redaction gaps.

## TL;DR

- 6 member(s): 3 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.27`: 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

- #39654: Hardening: extend secret redaction to state.db persistence + add Google OAuth (ya29./1//) prefixes
- #43666: Redaction gaps at the persistence boundary: tool output file dumps, compaction blocks, DB URIs (split from #43083)
- #54027: Credential redaction not applied to state.db session store (only logs + optional JSON snapshots)

## Prior & competing PRs

- **#39697: fix(security): redact Google OAuth token prefixes (ya29., 1//) in secret scrubber**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#40092: fix(security): add Google OAuth ya29./1// prefixes to secret redactor**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#39697`
- **#54038: fix(state): redact credentials in state.db before INSERT (#54027)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `bbe1bf404`, `#63875`
  - files: `hermes_state.py`, `tests/test_hermes_state.py`

## Fix status

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