NousResearch/hermes-agent

Optimize dangerous-command detection regex performance

Cluster 108451 · agent. Data as of

1 open item. Fix attempted, not merged.

The short answer

1open issue
0open PRs
3items grouped
Known?
Yes. 3 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 0 PRs.

These items address performance problems in approval/dangerous-command scanning, specifically preventing quadratic or GIL-starving behavior caused by unbounded regex or pipeline patterns on separator-rich or long input strings.

Open issues1

  • Issue#108451perf(approval): dangerous-command detection still starves the GIL for seconds on long commands after #104781

Open PRs0

No open pull requests.

2 PRs closed without merging

From the close comments: duplicate 1 · superseded by another PR 1

  • #108485 fix(approval): bound echo|tr|shell regex to prevent O(n²) on separator-rich input · duplicate → #108451
  • #108548 fix(approvals): bound tr pipeline gaps to keep dangerous-command scan… · superseded by another PR → #108485
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

Subsystem
agent
Closed issues
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.