Strip PYTHONPATH leak from tool subprocesses
Cluster 74817 · environments. Data as of
Nothing open on GitHub. Fix merged in #84500. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #84500. 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 issues and PRs address a bug where PYTHONPATH leaks into terminal-tool subprocesses on macOS/Linux, potentially crashing unrelated third-party apps. The fixes selectively strip Hermes-venv or all PYTHONPATH entries from subprocess environments to prevent the leak.
Open issues0
Open PRs0
Fixes on record
-
#84500 fix(tools): isolate external project environments (salvage #81201)
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)
files:
contributors/emails/[redacted:email],contributors/emails/[redacted:email],tests/tools/test_local_env_blocklist.py,tools/code_execution_tool.py,tools/environments/local.py
2 PRs closed without merging
From the close comments: done elsewhere 1 · merged via another change 1
Closed issues · 1
- Closed#74817PYTHONPATH leaks into terminal-tool subprocesses on macOS/Linux, can crash unrelated third-party apps
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.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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