Repository navigation
Screen echo: words the owner said first and known terms do not count - #4
Merged
Merged
Conversation
ScreenEcho flagged any 20-character shingle of a send seen on a screen, so a short phrase with one project term the owner had said first (then used by Claude Code in its answer) was marked as coming from a screen. Confirmed, typed text sends now record keyed hashes of their words (five or more letters) as the owner's, unless a screen showed the word in the last 24 hours. remote.send.knownTerms plus configured machine and plain session names are known terms. A send is echoed when at least 20 of its screen-covered characters are not explained by those words; without explained words the result is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh
Records the decision in DESIGN.md (why owner-introduced words and known terms do not weaken the screen echo invariant), the exact rule and bounds in SWITCHBOARD.md, the new setting in REFERENCE.md and config.example.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh
Red team fixes for owner-first provenance: - A screen word now also counts when it appears inside a token: letter runs split at digits, underscores and other non-letters, and CamelCase parts split before casefolding. Owner words still match whole tokens, so a word shown first inside an identifier stays screen-originated. - No owner words are recorded in the first hour after the process starts, since screen-first records do not survive a restart. - Machine and session names become known terms only at 5 or more characters; explicit knownTerms keep the 3-character minimum. - Regression tests for the attacks, and a pasted_no_enter confirm that records no owner words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh
What a screen showing a word means, the restart grace, the 5-character minimum for implicit names, the text ScreenEcho never observes as an accepted risk and threat model residual, and a generic knownTerms example. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh
…en words The screen side of the owner-first check missed some forms of a word: format characters inside it (zero-width space, ZWNJ, soft hyphen, BOM) and an upper-case run followed by lower case (CREDENTIALSexfil). Record the letter runs and CamelCase parts of the text with category Cf removed too, and the parts at an upper-to-lower boundary. Both are supersets, so screen-first only gets stricter. DESIGN.md now names the recognised forms and accepts obfuscated ones (glued lower-case words, words split across lines), which the old shingle rule never caught either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The screen-echo check marked a voice send as "these words came from a screen" because of "GreenArrays" and "fringes", words the owner had said first in earlier sends; Claude Code then repeated them on screen. A short phrase of common words plus one such term was enough (20-character shingles).
Rule now (same normalised form as before):
sent, and only if no screen showed the word in the previous 24 h; never in the first hour after start), known terms (remote.send.knownTerms, plus machine and fixed session names from the hub config), and a space between two explained characters.Screen words include identifier parts, CamelCase and capital runs, and the text with format characters (zero-width, soft hyphen, BOM) removed, so a word a screen showed in disguise cannot become the owner's. Prepared, refused, expired, replaced, unknown-outcome and key sends record nothing. Accepted residual risks are listed in docs/DESIGN.md ("Screen echo provenance").
Review: a red team, a correctness and a docs reviewer; one major (identifier words) and the minors fixed. pytest 1813 passed / 9 skipped, ruff, ruff format, mypy --strict clean.
After merge: update the hub on ornio; optional
knownTermsin its config.🤖 Generated with Claude Code
https://claude.ai/code/session_011moV3EPNNknRWZQ686AChh