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
Privacy: telemetry FULL mode exports complete prompts/tool results/error text with zero shipped redaction; /feedback releases the whole session prefix
#4100
Two related disclosure paths in the telemetry seam:
FULL mode exports everything with zero shipped redaction. Ledger records capture structuredClone(event.data) of every session event, plus session.cwd, plus raw error.message. The redaction waterfall ships empty — "with no listener mounted records reach the backend as captured." My PoC dump of an OTLP export contained: user prompt text including a planted API key, full tool results including a planted SSH private key block, and error strings embedding bearer tokens from provider messages. Transport POSTs these to the configured collector.
One /feedback command releases the ENTIRE session prefix in FEEDBACK_ONLY mode.captureSession(session, event.seq) starts from the empty handoff cursor, so replay covers all events since session start — proven by appending feedback "the diff view flickers" and receiving the prior user prompt plus a tool result containing a planted private key. The disclosure exists in docs, but users plausibly equate "feedback" with their one remark, not every file their tools read.
Mitigations acknowledged honestly: default mode is DISABLED, no shipped profile mounts the backend, both modes are policy-disclosed. The defect is that choosing either mode without hand-authoring redaction listeners exports maximal content, when the natural expectation of "telemetry" and "feedback" is metadata-plus-the-named-thing.
Suggested directions
Ship default redaction listeners for known-sensitive shapes (key-like strings, PEM blocks) applied before backend write.
In FEEDBACK_ONLY, default the release window to a bounded tail around the feedback event rather than session start; make whole-prefix an explicit flag.
Surface a one-line summary at first FULL-mode boot naming what will be exported.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Packages:
@deepseek-ai/dsh-session-telemetry(coordinator),session-telemetry-otelSeverity: medium-high (opt-in surfaces) · Confidence: high — FULL-mode payload dump captured planted secrets end-to-end
Problem
Two related disclosure paths in the telemetry seam:
structuredClone(event.data)of every session event, plussession.cwd, plus rawerror.message. The redaction waterfall ships empty — "with no listener mounted records reach the backend as captured." My PoC dump of an OTLP export contained: user prompt text including a planted API key, full tool results including a planted SSH private key block, and error strings embedding bearer tokens from provider messages. Transport POSTs these to the configured collector./feedbackcommand releases the ENTIRE session prefix in FEEDBACK_ONLY mode.captureSession(session, event.seq)starts from the empty handoff cursor, so replay covers all events since session start — proven by appending feedback "the diff view flickers" and receiving the prior user prompt plus a tool result containing a planted private key. The disclosure exists in docs, but users plausibly equate "feedback" with their one remark, not every file their tools read.Mitigations acknowledged honestly: default mode is DISABLED, no shipped profile mounts the backend, both modes are policy-disclosed. The defect is that choosing either mode without hand-authoring redaction listeners exports maximal content, when the natural expectation of "telemetry" and "feedback" is metadata-plus-the-named-thing.
Suggested directions
All reactions