Text a terminal hides or overwrites
Escape sequences, backspaces and carriage returns that a terminal obeys: show the file in a terminal and one document appears, hand the bytes to a model and it reads another.
How the text is hidden
A terminal does not display a file; it carries it out. ESC[8m conceals everything after it, a colour pair can set the text to the background, ESC[2K erases a line already drawn, cursor movement climbs back up the screen, and a backspace or a carriage return lets the next words be written over the last. A log, a README or a pasted transcript can carry any of these, and anyone who reads it with cat sees only what survived.
Why a model still reads it
A model is handed the bytes, not the screen. Every concealed and overwritten word is in the file, and the control sequences are noise the model reads past, while the reviewer who looked at the file in a terminal saw a different document.
What we do about it
Since 0.282.0 a text file holding control characters is read rather than refused. The terminal reading finds every control a terminal acts on and marks the text each one may hide: back to the start of the line for a backspace, a carriage return with words after it or an erase within the line; back 200 lines, more than any screen holds, for a movement up the screen; back to the start of the file for a cleared scrollback or a reset. Colour is judged in seven common themes, and text counts as hidden if it is unreadable in any of them, since the reader's theme is not the file's; colours the file redefines apply over all seven. A sequence it does not recognise is treated as one that reaches up the screen. Every span is reported as txt.terminal-control, informational, action disclose, and the text in it is what instruction-shape matching reads, so an instruction there escalates to high. No sequence is excused, not even a colour, because a carve-out by sequence is a list an attacker reads. The text itself is kept as a text editor shows it.
How often it fires
0.91% of 879 real text files — 384 public-sector text files (GovDocs1) and 495 developer documentation files (README, changelog, licence), measured 2026-10-02.
This is an alert-volume number and nothing else. It says how often the alarm sounds on documents as found — not how often it is right, and not whether what it found was harmless. Documents as found may themselves carry concealment. Read it against the population named above rather than as a property of documents in general.
Check your own file
Three commands: a key, credit, a verdict.
Start with the API