BE-016 HIGH: the pager emits file-content control bytes verbatim to the tty — ANSI/OSC injection

views/bro/pager.js:145 writes rendered file content to the terminal without neutralizing control bytes, so repo content carrying ESC/CSI/OSC sequences is interpreted by the tty: a hostile (or merely binary) file viewed via cat:/bro/diff can move the cursor, recolor, set the window title, or emit clipboard/OSC-52 sequences. From the 2026-07-07 be/ review (BE/REVIEW), CONFIRMED. Method Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome