unStone/dsh-xray
X-ray for DeepSeek Harness plugins: declared capabilities vs actual behavior. Registry + static scanner + badges.
Project Overview项目介绍
dsh-xray is a static scanner for the DeepSeek Harness plugin ecosystem. It scans every repository under the dsh-plugin topic (10,000+), refreshes daily, and emits a capability card per plugin covering the declared surface, powerful capabilities such as system-prompt injection, API interception, subprocess use, and runtime patches, plus sensitive behavior including exec/eval, base64 decoding, install-time scripts, credential-class env reads, and outbound domains, each flag backed by file:line evidence. Cards are graded C0–C3 by surface and transparency. Use it before installing third-party plugins to spot manifest-vs-code gaps. Caveat: levels measure capability surface, not maliciousness.
dsh-xray 是面向 DeepSeek Harness 插件生态的静态扫描工具,扫描主题 dsh-plugin 下全部仓库(10,000+)并每日刷新。它为每个插件生成"能力卡片",覆盖声明面、强能力(系统提示、API 拦截、子进程、运行时补丁)以及敏感行为(exec/eval、base64、安装脚本、凭据类环境变量读取、出站域名),每条标记都附带 file:line 证据,并按 C0–C3 等级汇总能力面与透明度(不评判恶意性)。安装第三方插件前可用其检查实际代码与清单差异;需注意 C3 仅代表能力强,不代表不安全。
请帮我了解并安装插件:【dsh-xray】【https://github.com/unStone/dsh-xray】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin add https://github.com/unStone/dsh-xray-plugin/releases/download/v0.1.0/dsh-xray-plugin-0.1.0.tgz
把 unStone/dsh-xray 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-xray — capability cards for DeepSeek Harness plugins
What a dsh plugin declares vs. what its code actually does — with file:line evidence.
English · 简体中文
🔍 Registry · 📊 Report · 📈 Levels explained · 📖 How dsh plugins work
Site available in English / 简体中文 / 日本語
90% of scanned plugins carry a powerful capability surface · 80% patch the dsh runtime itself · 10,645 plugins scanned, refreshed daily
Why
The dsh-plugin ecosystem went from ~200 to 10,900+ repos in little over a month. Plugins run arbitrary code inside your agent runtime: they can rewrite your system prompt (system-prompt/assemble), intercept every API call (api/gate), spawn subprocesses, read GITHUB_TOKEN from your env, and even patch the runtime itself (manifest.bundle.patch). Today nothing surfaces any of that before you install.
dsh-xray statically scans every plugin in the ecosystem and publishes a capability card:
| Dimension | Examples |
|---|---|
| Declared surface | manifest, injected services, registered tools, hooks |
| Powerful capabilities | systemPrompt / apiProxy / subprocess injection, tools/pre-execute gate, runtime patches |
| Sensitive behavior | exec / eval / base64 decode in shipped code, install-time scripts, outbound domains, credential-like env reads |
| Transparency gaps | capability used in code but absent from the manifest |
Every flag carries file:line evidence. Levels C0–C3 measure capability surface and transparency — not maliciousness. A C3 plugin can be perfectly legitimate; you just deserve to know before it touches your agent.
Features
- Whole-ecosystem coverage — every repository under the
dsh-plugintopic (10,915), rescanned daily. - Capability cards — injected services, attached hooks, runtime patches, outbound domains, credential-class env reads and install-time scripts, each with
file:lineevidence. - C0–C3 levels — a compact read on how much surface a plugin has, and whether it combines powerful capability with sensitive behavior.
- Shipped vs. unshipped code — risk flags fire only on code that reaches your runtime, so a fixture in
tests/never inflates a rating, and neither does a build script the package's ownfilesallowlist keeps out of the tarball. Both stay on the card as non-counting evidence. - Deterministic manifests — in a monorepo the plugin's own root manifest wins, so two scans of one repo agree.
- Static only — nothing is executed, downloaded code is streamed and read, never run.
- Embeddable badges — plugin authors can publish their own capability card.
- Trilingual site — English, 简体中文, 日本語, plus a crawlable page per plugin.
Capability levels
C0 no notable surface · C1 ordinary (tools, services, outbound domains) · C2 powerful: prompt surface, API interception, subprocess, exec, credential reads or install scripts · C3 powerful capability combined with sensitive behavior.
Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. See the levels explained visually.
Use it inside dsh
dsh-xray-plugin puts the lookup where the question comes up — in the agent, while you are deciding whether to install something.
dsh plugin add https://github.com/unStone/dsh-xray-plugin/releases/download/v0.1.0/dsh-xray-plugin-0.1.0.tgz
Is
tt-a1i/archifysafe to install?
Audit the plugins I have installed.
Badge
Plugin authors: show users your capability card.
[](https://unstone.github.io/dsh-xray/registry.html#<owner>__<repo>)
Run it yourself
python scanner/discover.py all # enumerate topic:dsh-plugin (needs gh auth)
cd scanner && python pipeline.py all 24 # download + scan, no git clone
python render_report.py # inject current figures into the report
python render_pages.py # plugin pages, collections, sitemap, feed
Outputs: data/scans/*.json (full cards), docs/data.json (site data), docs/badge/*.json (shields endpoints), docs/p/*.html (a page per plugin). A daily GitHub Action refreshes all of it.
Methodology & fair play
- Static analysis only; nothing is executed.
- Shipped code and test/dev code are classified separately; risk flags fire on shipped code only.
- False positive? Open an issue — cards link evidence so disputes are checkable, and rules get fixed in public.
Roadmap
- Full-ecosystem coverage — 10,915 repositories, rescanned daily
- Daily diff feed: what changed in the capability surface of plugins you use
-
cordis.patch.ymlruntime-patch audit view - Companion plugin: look plugins up from inside dsh
- Multi-harness: Abu-Cowork & Claude Code plugin formats
- Private registry / org policy engine (enterprise)
License
Apache-2.0 — see LICENSE. The scan data under data/ and docs/ is published under the same terms.
Changelog
What changed and why — method and product changes; scan results refresh daily on their own.

freestylefly/awesome-gpt-image-2
awesome-dsh-plugin/awesome-dsh-plugin
zhu1090093659/dsh-web
dsh-market/dsh-market
AdamPlatin123/dsh-plugin-radar
superdesigndev/treg
0xsline/awesome-deepseek-harness