NousResearch/hermes-agent

ANSI CSI sequence stripping in redaction masking

Cluster 81012 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
6items grouped
Known?
Yes. 6 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 4 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 pull requests address a bug where incomplete ANSI CSI/SGR escape sequence stripping allows terminal control characters to defeat prefix and token-split masking in the redact logic. Multiple fix approaches target different masking code paths affected by the same underlying problem.

Open issues1

  • Issue#81012redact: complete CSI/SGR sequences defeat prefix masking (ESC-byte-only stripping leaves 'm'-glue)

Open PRs1

  • PR#81121fix(redact): strip complete ANSI CSI sequences before control-split masking

4 PRs closed without merging

From the close comments: superseded by another PR 3 · partial fix 1

  • #81060 fix(redact): strip complete CSI/SGR sequences in token-split shadow (#81012) · partial fix → #81121, #81012
  • #81062 fix(redact): strip complete CSI sequences before prefix masking (#81012) · superseded by another PR → #81060
  • #81079 fix(redact): strip complete CSI/SGR sequences from shadow copy (#81012) · superseded by another PR → #81060
  • #81083 fix(redact): strip complete CSI sequences before prefix-mask scan · superseded by another PR → #81060
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.33: 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
4 PRs closed without merging

For your agent

The same facts, typed.