NousResearch/hermes-agent

PYTHONPATH venv pollution in subprocess environments

Cluster 75018 · cron. Data as of

Nothing open on GitHub. Fix merged in #88182 on 17 Aug 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #88182. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #88182. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items concern Hermes or Gateway venv environment variables (PYTHONPATH, VIRTUAL_ENV) leaking into child subprocesses or cron jobs that use different Python interpreters. The work involves selectively stripping these variables to prevent non-venv processes from being poisoned.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #84500 fix(tools): isolate external project environments (salvage #81201)

    merged to main

    files: tests/tools/test_code_execution_modes.py, tools/code_execution_tool.py

  • #88182 fix(tools): selectively strip Hermes-venv PYTHONPATH from subprocess envs (#74817, #78917 salvage)

    merged to main

    files: contributors/emails/[redacted:email], contributors/emails/[email protected], tests/tools/test_local_env_blocklist.py, tools/code_execution_tool.py, tools/environments/local.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #78917 fix(tools): selectively strip Hermes-venv PYTHONPATH from subprocesses (#74817) · merged via another change → 7a2ad9a, #88182, #84500, #61028, #82581
Closed issues · 1
  • Closed#75018Gateway exports PYTHONPATH/VIRTUAL_ENV to no_agent cron children, poisoning non-venv Python interpreters
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
cron
Merged PRs
#84500, #88182
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
17 Aug 2026

For your agent

The same facts, typed.