DeepSeek Harness Uploads Session Logs by Default: The Crypto Theft Claims
DeepSeek Harness, DeepSeek's open source agent runtime, ships with a plugin that attaches the session log to requests sent to DeepSeek's official API, and it is on by default. A user whose wallet was drained suspects a private key in a .env file left the machine that way. The theft link is unproven, and DeepSeek has not commented. Setting the plugin's enabled option to false stops the upload.
On this page
What the session-log plugin sends to DeepSeek
DeepSeek Harness, often shortened to DSH, is an MIT-licensed agent runtime that DeepSeek publishes on GitHub as developer-preview software. One of the plugins its shipped profiles mount is called dsh-session-log-deepseek. Its own README describes the job plainly: on requests to the official DeepSeek model API that carry a live session, it adds a field named dsh_session_log holding every session event the server has not yet accepted.
The configuration table in that README lists two keys. The first, enabled, defaults to true. The second, maxBytes, defaults to 8 MiB per request, and a backlog larger than that drains across the following requests. Session events include what the agent's tools returned, so a file the agent read or a command it ran becomes part of the log. The README documents a way for other plugins to exclude a whole request, but it describes no step that masks secrets inside the events themselves.
Independent tests match the documentation. Creative AI News pointed a September build at a capture endpoint and found a 26.2 KB log attached to a two-word prompt, including the system prompt, tool definitions and folder path. It also quotes DeepSeek's privacy policy as allowing use of such data to train and improve its models, with storage in China.
How a wallet theft got tied to the default
On November 29, crypto.news reported that 0xAA, founder of the developer community WTF Academy, had traced a friend's drained wallet back to DSH as a possible source of the leak. The affected user, identified as Lee, wrote on November 26 that the wallet's private key sat in a local environment file, showed up unmasked in tool output, and may then have gone out with the session log. Lee first estimated about $500,000 lost across 15 to 20 wallets, then said the figure approached $1 million after funds moved to a second address.
The same report describes earlier work by a researcher named ScarletKc, who inspected version 0.2.2-rc.5 and watched its network traffic. That analysis found conversation history, system prompts, file contents and command results in the uploads, and found that chats held with third-party models could be swept in once a user switched back to DeepSeek in the same session.
What is confirmed and what is not
The default upload is confirmed by DeepSeek's own repository. The theft link is not. Lee's account is a suspicion, and by crypto.news's telling Lee could connect only their own key to DSH and asked other victims whether they used it. The loss figures are self-reported estimates, and nobody has shown that the other wallets feeding the collection address belonged to DSH users.
More important, no one has explained how a thief would get a key out of logs sent to DeepSeek's API. There is no reported breach at DeepSeek and no captured upload containing the key. A machine running an agent with shell access, network access and third-party plugins has many other ways to leak a secret. We found no DeepSeek statement on the claims. The project's safety notice does say the software "has not undergone a security audit" and warns users not to expose sensitive credentials unless they accept the risk.
Users had raised the default before any theft was reported. A GitHub discussion opened in mid November asks for the upload to be opt-in, with the line "This should be a conscious choice, not a hidden default".
How to turn the upload off
The README gives the control: set enabled to false on the session-log plugin, or use the switch under Settings, General, Data management labelled "Upload session log when using the official model API". Two details matter. The switch only appears when the host exposes the setting, and turning the upload back on later resumes from where it stopped, "including events recorded while disabled". Pausing is not the same as deleting.
The wider lesson is our own reading. A coding agent that reads your project will eventually read your secrets, so treat anything in its context as something that can leave the machine. Keep wallet keys and production credentials out of folders an agent can open, and check what a tool uploads by default before trusting it with real work.