NewsAI

DeepSeek Harness uploads session logs even with telemetry off

DeepSeek's coding agent uploads session logs, tool output included, by default. Crypto users suspect it in wallet thefts, a link still unproven.

Since September 14, 2026, DeepSeek Harness, DeepSeek’s open-source AI coding agent, has by default attached a session log to every request it sends to DeepSeek’s models. The company’s documentation says the log can carry commands, tool output and the agent’s working folder, and that switching off telemetry, a separate monitoring upload, does not stop it.

In posts on X on November 26 and 29, two users said the upload may have exposed private keys, the secrets that control crypto wallets, stored in .env settings files. Their loss estimates reach nearly $1 million. The link is unproven, DeepSeek had not responded publicly as of November 30, and the upload was still on by default in the November 28 release.

A session log on every DeepSeek request

DeepSeek Harness runs on the developer’s computer, where it reads files, runs commands and loads plugins. Its npm package was downloaded 698,688 times in the week of November 22 to 28, and its GitHub repository had 288,769 stars on November 30. The same team released a super-agent prototype on October 31, a proactive coding agent for a single repository.

The upload comes from a plugin, @deepseek-ai/dsh-session-log-deepseek, that adds a dsh_session_log field to each request. Per the plugin’s README, each request carries the session events recorded since the server last accepted a batch, up to 8 MiB, and the field adds no tokens to the model’s input.

DeepSeek’s technical reference on request fields says the log may expose, among other things, the agent’s working folder, system-prompt snapshots (the model’s instructions), the conversation, failed-attempt output, tool inputs and results, and feedback.

The API keys that let the agent use DeepSeek “are not Session events and therefore do not enter the field.” But whatever a tool reads, such as a file or a command’s output, comes back as a tool result, which the log includes.

The plugin was off by default until a code change, commit 2389b65246, turned it on by default for every installation on September 14, 2026. The default-setting line enabled: z.boolean().default(true).volatile() is unchanged in dsh-v0.2.3-alpha.3, tagged November 28, whose release notes say nothing about the session log.

Telemetry is a separate setting

Telemetry is built on OpenTelemetry (OTel), an open standard for monitoring data. In its default mode, FEEDBACK_ONLY, it sends the session so far to a DeepSeek collector whenever the user gives feedback, such as rating a message.

The command-line reference says DSH_TELEMETRY_MODE=DISABLED “disables OTel delivery.” The same paragraph states: “These OTel settings do not enable or disable the DeepSeek contribution,” meaning the session-log upload.

Two other uploads are on by default: a dsh_plugin_packages field listing active plugins and their versions, and Desktop app analytics, sent “without a user-facing control,” with a device ID, the user’s DeepSeek account ID and hardware details. DeepSeek says prompts, responses and API keys stay out of them.

In a November 11 blog post, tech executive Trevor Lasn counted those four default-on uploads and wrote that the documented opt-out stops only the feedback upload. His verdict: “A telemetry switch that leaves three of four uploads running is not an off switch.”

For the session log, DeepSeek’s documentation names a switch in the Web app, labeled “Upload session log when using the official model API” under Settings > General > Data management. Lasn writes that the Desktop app has the same switch. For the command-line tool and the SDK, a programming toolkit, DeepSeek’s docs say to set the plugin’s enabled key to false.

Turning it back on releases the backlog: “Re-enabling resumes the unaccepted suffix, including events recorded while disabled,” the plugin’s README says.

A researcher’s test, then two theft reports

Security researcher ScarletKc tested version 0.2.2-rc.5 by reading its bundled source code and watching outbound traffic, then posted the results on X on November 24, crypto.news reported. In the outlet’s words, requests to DeepSeek models carried chat histories, system prompts, “file contents retrieved by its tools, command results, and local project directory information.”

The researcher also found that chats with Claude or GPT models could end up in a later upload if the user switched back to a DeepSeek model in the same session. The test turned up no third-party API keys or server addresses in that data.

On November 26, a user identified as Lee (@wqw_lee on X) said a wallet private key kept in a local environment configuration file had been exposed. According to crypto.news, the agent “reportedly failed to conceal the private key, leaving it visible in the tool’s output.”

Lee first put the losses at about $500,000 across 15 to 20 wallets, then said they had approached $1 million. “I suspect the issue is with DSH: dsh-session-log-deepseek is enabled by default,” Lee wrote, in crypto.news’s translation, using the agent’s short name, DSH. Lee could link only their own suspected key exposure to the agent and asked other victims whether they had used it.

On November 29, TokenPost reported a post on X by WTF Academy founder 0xAA: a friend’s wallet was allegedly drained after a private key stored in an .env file appeared in data handled by DeepSeek Harness.

According to crypto.news, 0xAA’s investigation named the agent “a possible source of the private key exposure.” TokenPost put the suspected exposure at “dozens of wallets” and “about $500,000 in assets.”

Documented default, unproven link

DeepSeek’s code and documents show the default and what the log can carry. The thefts are claims: TokenPost wrote that “the claim connecting the theft to the plugin has not been confirmed,” and no outlet has shown that the plugin caused the losses.

As of November 30, 2026, no blockchain analysis tying the stolen funds to data received by a server had been published. No DeepSeek statement had been found on GitHub or in either report by that date.

In GitHub discussion #7725, opened on September 24, its author rated the default a “Medium” severity issue and proposed: “Default to false, or require explicit consent before the first send.” It still had no replies on November 30.

The author also gauged the exposure: “the provider already receives the message bodies themselves; against the official endpoint the incremental exposure is the non-message events + cwd metadata.” By that reading, the log adds the rest of the session’s record and the working folder.

The project’s safety notice calls the agent “experimental developer-preview software” that “has not undergone a security audit,” and warns that it may “disclose data or credentials.”

DeepSeek’s privacy policy, last updated September 20, 2026, says DeepSeek collects “the session logs generated during your interaction with DeepSeek Harness.” It allows their use “to train and improve our technology” and says personal data is stored in China. Whether uploaded logs have been used for training is unknown.

Local models and third-party gateways

For teams that run open models on their own hardware, DeepSeek’s documentation draws a boundary at its adapter, dsh-llm-deepseek, the module that talks to DeepSeek’s models. The technical reference says this adapter adds the session log and the plugin list to requests sent through DeepSeek’s official API or a DeepSeek account, and that the generic interface other providers use does not add them.

The privacy policy adds that with custom models used through a user’s own third-party API, “DeepSeek Harness does not store or process your Input and Output on the server side.” By DeepSeek’s documents, requests to a local model through that generic interface carry neither field. We have not tested that on a working installation, and no independent audit has checked it.

Desktop analytics fall outside that boundary, and so does telemetry, which the command-line reference says “applies to all users and providers.” By default, a rating or other feedback sends the session so far to DeepSeek’s collector even when a local model wrote the replies, unless the user sets DSH_TELEMETRY_MODE=DISABLED.

Gateways, third-party services that relay requests to a model, are a different case. The technical reference says “a gateway selected through baseURL receives the same values as the official endpoint,” meaning the same extra fields.

Such services can themselves be breached. In November, an intruder replaced a DeepSeek model with an altered copy for 53 hours at Prime Intellect, a company that hosts open-weight AI models.

What it means

DeepSeek Harness works where developers keep credentials: it looks for its own API keys in .env files, among other places. Those keys stay out of the log, but a file a tool opens becomes a tool result. Since September 14, that log has gone to DeepSeek whenever the agent calls a DeepSeek model, unless the user turns it off.

The project’s main README does not mention the upload, and the safety notice puts the burden on users: “Do not expose sensitive credentials or data unless you accept the risk.” How many users have left the upload on is unknown.

Two posts say a private key showed up in data the agent handled before wallets were drained. Neither shows that the key left through the upload. The #7725 author’s point also suggests a key printed in a tool’s output during a DeepSeek-model session could reach DeepSeek in the message itself, log or no log.

For local-model users, the adapter boundary rests on DeepSeek’s own documents, untested in public. It covers neither the feedback upload nor a session that switches back to a DeepSeek model.

A reply from DeepSeek in discussion #7725, unanswered since September 24, would be the company’s first public answer to the criticism. A release that ships with the session-log upload switched off would end the default upload. A blockchain analysis could show whether the stolen funds trace back to data a server received, or rule that out.

Sources

Join r/TechByTheNumbers on Reddit: technology and science, one number at a time, each with its primary source.

Leave a Comment