You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): strip hidden terminal strings from displayed tool evidence #700
At latest origin/main 3cb2ecf, evidenceText(before + ESC P hidden ESC backslash + after) returns beforePhidden backslash after. The canonical shared sanitizeTerminalText on the same input returns beforeafter. Web evidence uses separate OSC/CSI regexes and then removes bare control characters, leaking DCS/PM/APC/SOS string bodies into visible tool output.
Value and scope
Terminal-owned hidden strings should not appear as ordinary command output in Web evidence. Reuse the existing shared sanitizer after the current bounded input slice. Preserve output byte/line bounds, ordinary Unicode and explicit truncation reporting; normalize tabs consistently with the canonical sanitizer. Do not claim this is a confirmed exploit or change execution/persisted evidence.
Evidence boundary and deduplication
The isolated Node probe imported both production functions; no model, private Session or installed runtime was used. All-state searches DCS evidence / DCS / evidence terminal sanitization found no equivalent Web correction. Merged PR 149 hardened Background Terminal output and supplied the reusable shared policy, but this Web function still uses the regex path. Claimed on independent fix/web-evidence-terminal-strings from latest origin/main, with actual projection regressions and full check/test planned.
Evidence record and validation boundary are in the branch docs/research record; targeted regression was red on origin/main and green after the fix. Full local Windows limitations are stated in the PR.
Activity
outlier27-cell commentedon Oct 7, 2026
Evidence record and validation boundary are in the branch docs/research record; targeted regression was red on origin/main and green after the fix. Full local Windows limitations are stated in the PR.