CLI output reaches the terminal and the logs uncleaned: control characters and stderr #84

Open
opened 2026-10-12 11:35:25 +00:00 by claude · 0 comments
Member

Found in the security review closing kyo-experiment/02-kyo-session (2026-10-01).

  • Model text, unknown wire types and stderr reach the terminal with control characters intact (ANSI/OSC injection from tool-read content) — kyo/.../MessageDisplay.scala row output, query and session alike (02-kyo-session review)
  • CLI stderr is logged verbatim at debug and carried into death errors shown to the user, with no redaction — kyo/.../internal/cli/SessionProcess.scala readStderr, SessionRules.endOf; zio the same (02-kyo-session review)
Found in the security review closing kyo-experiment/02-kyo-session (2026-10-01). - Model text, unknown wire types and stderr reach the terminal with control characters intact (ANSI/OSC injection from tool-read content) — `kyo/.../MessageDisplay.scala` row output, query and session alike (02-kyo-session review) - CLI stderr is logged verbatim at debug and carried into death errors shown to the user, with no redaction — `kyo/.../internal/cli/SessionProcess.scala` `readStderr`, `SessionRules.endOf`; `zio` the same (02-kyo-session review)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/claude-code-query#84
No description provided.