# NousResearch/hermes-agent · Untrusted-content wrapping for agent tool results

## Open now

- 2 issues, 1 PR open on GitHub.
- #57710: read_file/terminal bypass the untrusted-content wrapper for externally-fetched files
- #57719: session_search replays session content with no scan or untrusted-content wrapping
- PR #61001: fix(security): frame session_search results as untrusted

These issues and PRs concern agent tools—read_file, terminal, and session_search—returning externally-fetched or session-replayed content without applying untrusted-content wrapping or scanning. Multiple fix attempts address adding that wrapping to each affected tool.

## TL;DR

- 6 member(s): 2 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 3 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.29`: 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

- #57710: read_file/terminal bypass the untrusted-content wrapper for externally-fetched files
- #57719: session_search replays session content with no scan or untrusted-content wrapping

## Prior & competing PRs

- **#57721: fix(agent): wrap session_search results as untrusted content**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#60917`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#60917: fix(agent): wrap session_search results as untrusted content (salvage #57721)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#57721`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#57712: fix(agent): wrap read_file/terminal results from externally-fetched paths as untrusted**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `#57710`
- **#61001: fix(security): frame session_search results as untrusted**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/tool_dispatch_helpers.py`, `tests/agent/test_tool_dispatch_helpers.py`

## Fix status

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