# NousResearch/hermes-agent · Child env credential scrub bypass fixes

## Open now

- 1 issue, 0 PRs open on GitHub.
- #125189: \[Bug\]: Spawn sites that spread os.environ into a child env undo the credential scrub (compute host, LSP, raft, buzz)

These issues and fixes address a bug where spawn sites that spread os.environ into child process environments inadvertently undo credential scrubbing, exposing adapter secrets and internal secrets to agent children.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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 #125755. Verify it addresses your case.
- **Recommended:** read PR #125755 (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

- #125189: \[Bug\]: Spawn sites that spread os.environ into a child env undo the credential scrub (compute host, LSP, raft, buzz)

## Prior & competing PRs

- **#125755: fix(child-env): keep declared adapter secrets and Hermes' own secrets out of agent children (salvage #122751, #125191)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/lsp/client.py`, `agent/lsp/install.py`, `gateway/platform_registry.py`, `hermes_cli/config.py`, `hermes_cli/profile_channels.py`, `plugins/memory/openviking/__init__.py`, `plugins/platforms/a2a/plugin.yaml`, `plugins/platforms/buzz/adapter.py`, `plugins/platforms/photon/plugin.yaml`, `plugins/platforms/raft/adapter.py`, `plugins/platforms/teams/plugin.yaml`, `plugins/platforms/telegram/adapter.py`, `plugins/platforms/telegram/plugin.yaml`, `tests/agent/test_subprocess_env_guard.py`, `tests/tools/test_hermes_subprocess_env.py`, `tests/tools/test_local_env_blocklist.py`, `tests/tools/test_modal_snapshot_isolation.py`, `tests/tools/test_spawn_site_child_env.py`, `tools/bot_desktop/runtime.py`, `tools/env_passthrough.py` (+9 more)
- **#125191: fix(child-env): spawn sites that spread os.environ no longer undo the credential scrub**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#125755`

## Fix status

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