DeepSeek Harness uploads full session logs by default, and a user now blames it for a wallet drain
The dsh-session-log-deepseek plugin ships enabled and attaches session events to every official DeepSeek API request. Two GitHub reports went unanswered before a user tied it to roughly $1M in crypto losses, a link that is not independently verified.
DeepSeek Harness, the open-source agent framework DeepSeek ships for desktop, web and CLI, sends a running log of each session back to DeepSeek by default whenever it calls the official model API. That behaviour is documented in the project’s own repository and has been flagged twice on GitHub since September with no maintainer reply. On November 29, crypto.news reported that a user who kept wallet keys in a project .env file blames the upload for losses he puts near $1 million. The upload mechanism is confirmed by primary sources. The theft link rests on that user’s own account and has not been independently verified.
What the plugin does, per DeepSeek’s own README
The package is @deepseek-ai/dsh-session-log-deepseek. Its README describes “incremental canonical session-log upload for official DeepSeek LLM API requests” and lists two config keys: enabled, default true, and maxBytes, default 8 MiB. Shipped profiles mount the plugin, so a stock install uploads without the user choosing anything.
Mechanically, the plugin adds a dsh_session_log field to the body of each request to DeepSeek’s API. The field carries the session header plus every complete canonical event since the last accepted upload, and the README names system, user and tool events among them. A cursor advances only when DeepSeek returns an HTTP 2xx, so a failed request resends the same range. The model input itself is unchanged; the log rides alongside it.
Two details are easy to miss:
- Turning it off and on again backfills. The README states that re-enabling “resumes the unaccepted suffix, including events recorded while disabled.” A user who disables upload for a sensitive task and later switches it back on sends that task’s events anyway.
- The README does not say what is inside a tool event. It never states whether file contents or command output are included in the uploaded payload, and it says nothing about retention or training use.
The off switch is at Settings, General, Data management, “Upload session log when using the official model API,” or enabled: false in the plugin config.
Two GitHub reports, zero replies
The gap in the README is what the community reports fill. On September 24, user zhangyan8216 opened discussion #7725, checked against version 0.1.7-rc.1, saying the default was true, that uploads included full tool results and the absolute working directory, and that unknown event types passed through verbatim. The suggested fixes were modest: default to off or ask for consent, redact unknown events, and make the directory path opt-in. The author rated it medium severity.
On November 14, user HJ-chem opened discussion #13328 against 0.2.2-rc.3 with the same finding and a longer list: full user messages, complete file contents from read, write and edit operations, tool commands and their results, session IDs and environment details. The post asks whether default-on is intentional, why complete tool results are needed, and whether users can delete logs already uploaded. The author says they filed a separate deletion request with DeepSeek.
Neither thread has a single reply. The release notes through v0.2.3-alpha.3 on November 28 do not mention session-log upload, consent or redaction. These claims about payload contents come from the two reporters reading the code and are consistent with each other and with the README, but DeepSeek has not confirmed or disputed them.
The theft claim and what is missing from it
According to crypto.news, a user posting as Lee said on November 26 that private keys stored in a .env file inside a project directory were exposed through Harness sessions, and estimated 15 to 20 wallets and about $500,000 affected. A later update said funds had moved to another address and the total approached $1 million. On November 29, 0xAA, founder of WTF Academy, published a collection address tied to the drain. A third account, ScarletKc, reported testing 0.2.2-rc.5 and observing the uploads.
What is not established is the path from DeepSeek’s servers to an attacker. An agent that reads a .env file puts its contents into a tool result, and if tool results are uploaded, the keys leave the machine. That explains exposure to DeepSeek. It does not explain how a thief obtained them. Crypto.news notes that third-party gateways sitting between the client and the API could also receive the field, which is one candidate; a compromise unrelated to Harness is another. Lee is the only named victim and, per the report, could trace only his own exposure. No security firm or on-chain analytics company is cited, and the original X posts could not be read directly for this article. DeepSeek has made no statement.
Treat the $1 million figure as one person’s estimate of his own losses, with the cause unproven.
What to do if you run it
The verified part is enough to act on. If you use Harness with the official DeepSeek API:
- Turn the upload off in settings or config, and leave it off. Re-enabling later sends the backlog.
- Assume anything an agent read, wrote or printed in past sessions was sent. Rotate API tokens, cloud credentials and any keys that lived in files the agent could open.
- Keep secrets out of the working tree. A secrets manager or an environment injected at process start keeps values out of file reads, though a command that echoes them still lands in a tool result.
- If you route through a proxy or gateway, check whether it logs request bodies, since
dsh_session_logis part of the body.
The wider point is about defaults in agent tooling. Coding agents read whatever the task touches, so a telemetry channel that mirrors tool results is a channel for source code and credentials. Attackers know this too: the Injective SDK compromise disguised a key stealer as usage telemetry for the same reason. The questions HJ-chem asked on November 14 are the ones DeepSeek still needs to answer: why default-on, what exactly is kept, for how long, and how to delete it.
Get Insanely Good at AI
The book for developers who want to understand how AI actually works. LLMs, prompt engineering, RAG, AI agents, and production systems.
Keep Reading
How to Choose Between GPT-5.4 Mini and Nano for Coding Agents and High-Volume API Tasks
Learn when to use GPT-5.4 mini vs nano for coding, tool use, subagents, and cost-sensitive API workflows.
Cloudflare: 50+ AI pentest frameworks scanned its customers in three days, and traffic is up 30x since October 1
Cloudflare's November 13 report says taking ARTEX offline produced a hydra effect: hundreds of forks, 50+ framework families and a 30x rise in agentic attack traffic. Here is what the data shows, what it leaves out, and what a stolen CI/CD token looked like in one incident.
ARTEX in the wild: Chainstack's breach and the AntiFox fork show what agentic attack frameworks actually do
Chainstack says an attacker using the ARTEX agent framework went from a default-password Grafana to production secrets in five days, and Arctic Wolf ties an ARTEX fork called AntiFox to AWS secret theft. Here is how the intrusions worked and what defenders should look for.
Operation Snowball: leaked transcripts show a jailbroken DeepSeek agent attacking a European telecom for two weeks
Malbear Labs found an attacker's open workspace with about 70 session transcripts of an autonomous intrusion harness built on DeepSeek Flash. The operator typed a few words at a time while the agent picked exploits and rewrote its tools when defenses blocked them.
Dragos seeded 2 million canary secrets into AI prompts: three breached hosts, logging resellers, and ZDR flags that didn't hold
HD Moore's five-month experiment found attackers inside at least three AI providers and resellers reading prompts despite zero-retention flags. OpenRouter has since off-boarded three providers and pulled 125 endpoints from ZDR.