# NousResearch/hermes-agent · SSH ControlPath temp directory permission hardening

## Open now

- 1 issue, 1 PR open on GitHub.
- #80284: Security: SSH ControlPath created world-writable in /tmp without 0700
- PR #127863: fix(tools): refuse shared-tmp socket dirs we do not own

These items address a security issue where the SSH ControlPath directory was being created in /tmp with overly permissive world-writable permissions. The fixes enforce 0700 mode on directory creation and add a check to refuse shared temp socket directories not owned by the current user.

## TL;DR

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

- #80284: Security: SSH ControlPath created world-writable in /tmp without 0700

## Prior & competing PRs

- **#80299: fix(ssh): create ControlPath directory as 0o700**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#127863: fix(tools): refuse shared-tmp socket dirs we do not own**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `58d4fb1caf`, `#133436`
  - files: `tests/tools/test_browser_headed_mode.py`, `tests/tools/test_browser_lightpanda.py`, `tests/tools/test_shared_tmp_private_dirs.py`, `tests/tools/test_ssh_environment.py`, `tools/browser_tool.py`, `tools/browser_tool_lifecycle.py`, `tools/browser_tool_session.py`, `tools/browser_use_cli.py`, `tools/environments/ssh.py`, `tools/spill_safety.py`

## Fix status

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