# NousResearch/hermes-agent · Fix sudo password and RPC token handling in managed modal

## Open now

- 1 issue, 1 PR open on GitHub.
- #126389: \[Bug\]: managed Modal pipes the sudo password into the first pipeline only (sudo after && fails, caller stdin dropped)
- PR #126390: fix(managed-modal): send the sudo password in stdinData, not a pipe into the first pipeline (salvage #122440)

These items address two security and correctness issues: sudo passwords being incorrectly piped rather than sent via stdinData, and RPC tokens leaking into remote process arguments while kernel directories lack access controls.

## TL;DR

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

- #126389: \[Bug\]: managed Modal pipes the sudo password into the first pipeline only (sudo after && fails, caller stdin dropped)

## Prior & competing PRs

- **#124262: fix(code-execution): keep the RPC token out of remote argv and lock down kernel dirs**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/_child_env_fixtures.py`, `tests/tools/test_code_execution.py`, `tests/tools/test_code_execution_file_rpc.py`, `tests/tools/test_code_kernel_remote.py`, `tests/tools/test_tool_result_storage.py`, `tools/code_execution_rpc.py`, `tools/code_execution_tool.py`, `tools/code_kernel_remote.py`, `tools/environments/base_session_env.py`, `tools/tool_result_storage.py`
- **#126390: fix(managed-modal): send the sudo password in stdinData, not a pipe into the first pipeline (salvage #122440)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `ed9ee1ed27`
  - files: `tests/tools/environments/test_managed_modal_sudo_stdin.py`, `tools/environments/managed_modal.py`

## Fix status

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