NousResearch/hermes-agent

Fix deny rules bypassed by shell command prefixes

Cluster 76037 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
4items grouped
Known?
Yes. 4 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 1 PR.

These issues and PRs address a bug where approval deny rules could be evaded by prepending shell prefixes (e.g., 'cd repo &&') to commands, because fnmatch matching was anchored and did not check individual command segments.

Open issues1

  • Issue#76037[Bug]: approvals.deny rules are bypassed by any command prefix — fnmatch is anchored, so 'cd repo && git push --force' is allowed

Open PRs1

  • PR#76063fix(approval): enforce deny rules after command prefixes

2 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1

  • #76178 fix(tools): match deny-rule segments to bypass shell prefix evasion (#76037) · duplicate → #76063
  • #76551 fix(tools): deny rules now match command segments, not just full variants (#76037) · done elsewhere → #76063
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
agent
Closed issues
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.