# NousResearch/hermes-agent · Security fix: /root SSH path approval bypass

## Open now

- 1 issue, 2 PRs open on GitHub.
- #84639: \[Bug\]: SSH sensitive-path approval bypass for single-segment POSIX home (e.g. /root)
- PR #84674: fix(security): stop absolute /root SSH key writes from bypassing persistence approval
- PR #98868: fix(security): fold single-segment POSIX homes so /root writes are flagged

A bug where single-segment POSIX home directories like /root could bypass sensitive-path approval checks for SSH key writes. Multiple related fixes address the detection and flagging of these depth-1 paths in dangerous-command and persistence approval logic.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 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.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

- #84639: \[Bug\]: SSH sensitive-path approval bypass for single-segment POSIX home (e.g. /root)

## Prior & competing PRs

- **#84674: fix(security): stop absolute /root SSH key writes from bypassing persistence approval**. open
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`
  - files: `tests/tools/test_approval.py`, `tools/approval.py`
- **#98868: fix(security): fold single-segment POSIX homes so /root writes are flagged**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `d87097d28`, `#84674`
  - files: `tests/tools/test_approval_home_paths.py`, `tools/approval_detection.py`
- **#112281: fix(approval): fold a depth-1 user home (e.g. /root) in dangerous-command detection**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `eaef52371`, `de36b82e4b00b93028aa142d44d2f1247182a4c9`, `7d44a789a66f7cfcc6ddbf6ad36c5064`

## Fix status

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