# NousResearch/hermes-agent · Subprocess shell injection hardening and security fixes

## Open now

- Nothing open on GitHub.

These items address command injection vulnerabilities in subprocess calls, focusing on eliminating shell=True usage, scrubbing environment variables, enforcing path guards, and adding idle timeouts for TTS/STT providers.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #73514. Verify it addresses your case.
- **Recommended:** read PR #73514 (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-73514`. 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.

## Closed / duplicate issues

- #2743: \[Bug\]: Command injection risk via shell=True in subprocess calls

## Prior & competing PRs

- **#2750: fix(security): harden subprocess calls against shell injection**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#5629`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#73514: fix(tools): command TTS/STT provider hardening — idle timeouts, env scrubbing, no-shell, path guards**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_transcription_tools.py`, `tests/tools/test_tts_command_providers.py`, `tests/tools/test_tts_path_traversal.py`, `tests/tools/test_voice_mode_playback_env_scrub.py`, `tools/transcription_tools.py`, `tools/tts_tool.py`, `tools/voice_mode.py`, `website/docs/developer-guide/plugins/index.md`, `website/docs/user-guide/features/tts.md`

## Fix status

- Merged to main in PR #73514 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-29`.
- Subsystem: `environments`
