NousResearch/hermes-agent

NUL-padded scripts bypassing lifecycle guard scan

Cluster 77927 · cron. Data as of

Nothing open on GitHub. Fix merged in #93411. Check it covers your case.

The short answer

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

A regression introduced a bypass where NUL-padded text scripts were incorrectly treated as binary and skipped by the lifecycle guard scan. Multiple fixes explore correcting the binary detection logic, such as checking magic bytes instead of bare NUL characters.

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.

  • #93411 fix: dot-sourced and NUL-padded scripts no longer bypass the gateway lifecycle guard (#77925 #77927, salvage #77926 #77928)

    merged to main

    files: cron/lifecycle_guard.py, tests/hermes_cli/test_gateway_restart_loop.py

3 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1 · other 1

  • #77928 fix(cron): close NUL-padded script bypass in lifecycle guard (#77927) · merged via another change → a9e4622, #93411
  • #78083 fix(cron): check binary magic bytes instead of bare NUL for lifecycle guard (#77927) · duplicate → #77928
  • #82637 fix(lifecycle_guard): scan NUL-padded text scripts instead of treating NUL as binary signal (#77927) · other → #93411, #77928, #77927
Closed issues · 1
  • Closed#77927lifecycle_guard: NUL-padded text script bypasses the scan (regression from #76762 binary check)
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.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
#93411
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
24 Aug 2026

For your agent

The same facts, typed.