NousResearch/hermes-agent

Bang shell env leak fix when sanitizer fails

Cluster 116878. Data as of

Nothing open on GitHub. Fix merged in #117585 on 21 Sep 2026. Check it covers your case.

The short answer

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

These issues and PRs concern a bug where the bang shell fallback exposes the full process environment, including API keys, when the sanitizer module cannot be imported. The work focuses on making the failure mode safe by closing rather than leaking secrets.

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.

  • #117585 fix(cli): bang shell fails closed instead of leaking the full env when the sanitizer is unimportable (#116878, salvage #116955)

    merged to main

    files: hermes_cli/bang_shell.py, tests/hermes_cli/test_bang_shell_mode.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #116955 fix(cli): prevent secret leaks when bang shell sanitization fails · merged via another change → 7df20a6, #117585
Closed issues · 1
  • Closed#116878[Bug]: bang_shell fallback leaks full process env (all API keys) when sanitizer unimportable
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.67: 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

Merged PRs
#117585
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
21 Sep 2026

For your agent

The same facts, typed.