GitHub stars won't vet an agent plugin: what 659 DeepSeek Harness plugins can actually touch
Picking agent plugins by GitHub stars won't keep your keys safe: stars measure popularity, not permissions. In AgentGuard's audit of 659 DeepSeek Harness plugins, 81% can read env vars and 63% can run shell. What works: read the permissions, pin the commit, isolate the run.
Picking plugins for an agent by GitHub stars, then installing them with a plugin installer, won't keep your API keys safe. Stars measure popularity. They tell you nothing about what the code may do on your machine, and they can be bought. They are a fair hint that a repository is worth a look. They are not a security review.
What works is slower and boring. Read what each plugin is allowed to touch, pin the exact commit you reviewed, and run it somewhere your production keys are not. The five-step check is at the end of this post.
The promise, and why it fails
The advice going around for DeepSeek Harness runs roughly like this: there is a huge base of plugins on GitHub, sort them by stars, use a plugin that installs plugins, and everything you need is on GitHub. That is our paraphrase, not a quote. As a reader hears it, popularity does the filtering and the installer does the rest.
Two facts break it.
There is no official marketplace. DeepSeek Harness plugins don't come through a first-party store. You pick them off GitHub. In our view, that leaves the review to you.
Stars can be farmed. A Carnegie Mellon study accepted at ICSE'26, "Six Million (Suspected) Fake Stars on GitHub", found about 6 million suspected fake stars. A filter you can buy is a weak filter.
So the filter measures the wrong thing, and it can be gamed.
What the plugins can actually touch
The numbers that matter come from AgentGuard's security audit of the DeepSeek Harness plugin ecosystem. They sampled 659 of 2,916 plugins, which together make up 90% of downloads over 30 days, and fully scanned 590.
AgentGuard audit, DeepSeek Harness plugins
sample: 659 of 2,916 plugins (90% of 30-day downloads), 590 fully scanned
risk level High or Critical by permission surface 94.7%
can read local files 91%
can read environment variables 81%
can reach the network 74%
can run shell commands 63%
contain an AUTO_UPDATE pattern 32 pluginsA caveat belongs here, and it is ours: a High or Critical rating by permission surface does not mean 94.7% of plugins are malicious, and an AUTO_UPDATE pattern is not a vulnerability by itself. Permission surface is reach, not intent.
But reach is what matters. Environment variables are a common place to keep model-provider and cloud keys. A plugin that can read env vars, open a network connection and run shell has everything it needs to send those keys somewhere else, whether its author means to or a later update does. That is our reading of the numbers. A star count tells you none of it.
Why reach is what breaks production
Eon reviewed 33 public incidents where AI agents damaged production. In every one, the cause was access to live credentials. That is exactly what a plugin with env-var permissions gets.
Our take, and it is ours: the fix is the same for agents and for plugins. Narrow what the code can reach. We wouldn't count on asking it to behave.
We missed this too
We found the same gap in our own product. In Kindling, six database functions stayed callable by any signed-in user. We had missed it.
Migration 0050 left EXECUTE on those functions to service_role only. A guard test now fails if the permissions widen again. On 21 November 2026 it passed 22 of 22 checks.
-- the shape of the fix, not the full migration
-- (example_fn is a placeholder name, not one of our functions)
revoke execute on function example_fn(uuid) from authenticated;
grant execute on function example_fn(uuid) to service_role;What we took from it: a test checks permissions, and trust doesn't. That goes for our own code, and in our view it goes double for a stranger's plugin with 10,000 stars.
What would change our mind
Suppose DeepSeek Harness ships an official marketplace with a real permission review: each plugin's declared reach shown before install, and undeclared access refused at runtime. Then stars plus the installer would be a reasonable default for low-risk plugins. Nothing like that exists today. If it ships, we will update this post.
The five-step check
This is what we do before an agent plugin touches a machine with keys on it. It takes time for every plugin. We think that time is the real cost of the promise.
1. Read the permissions
files, env vars, network, shell: which does it ask for,
and does the plugin's job need each one?
2. Read the code paths that use them
grep for env access, outbound requests, subprocess/shell calls,
and anything that downloads and executes (AUTO_UPDATE-style).
3. Pin the commit
install from the exact hash you reviewed, never from a branch;
an update is a new review.
4. Isolate the run
container or separate user, no production .env mounted,
scoped keys with spend limits, network egress allow-listed.
5. Keep the blast radius small
dev keys for the agent, production keys out of reach,
backups the agent cannot touch.FAQ
Does a High or Critical rating mean the plugin is malicious? No. It means the plugin has the reach to do damage. Steps 1 and 2 are how you find out whether it uses that reach.
I'm a founder, not an engineer. What's the minimum? Keep production keys off the machine where the agent runs, and give the agent scoped keys with spend limits. In our experience that is the cheapest step with the biggest payoff. The rest needs someone who reads code.
Will an official marketplace solve this? Only if it reviews permissions, not just listings. See "What would change our mind" above.
Related case
The permission fix above comes from Kindling, our product that helps specialists turn their own reaction into a LinkedIn post without a model inventing their opinion. The case is at iloblique.com/kindling, with its numbers and invariants.
If you have something worth building, we'd like to hear about it.
Sources
- AgentGuard, security audit of the DeepSeek Harness plugin ecosystem (659 of 2,916 plugins, 590 fully scanned)
- Carnegie Mellon University, "Six Million (Suspected) Fake Stars on GitHub", ICSE'26
- Eon, review of public AI-agent production incidents (33 incidents)
- Kindling, migration 0050 and its guard test, verified 21 November 2026