unStone / dsh-xray-plugin

已收录

Ask what a DeepSeek Harness plugin can actually do, from inside your agent. Companion to dsh-xray.

master其他 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:unStone/dsh-xray-plugin

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 2baad7d同步于 2026年8月18日

dsh-xray-plugin

Ask what a dsh plugin can actually do — without leaving your agent.

English · 简体中文

Companion plugin for dsh-xray, which statically scans every repository under the dsh-plugin topic and publishes a capability card for each.

Why

A dsh plugin is arbitrary code inside your agent runtime. It can rewrite your system prompt, intercept API traffic, spawn subprocesses, read GITHUB_TOKEN from your environment, or patch the runtime itself — and nothing in the install path tells you which. dsh has no plugin-level permission declaration, so there is nothing to read even if you look.

This plugin puts the answer where the question comes up: in the agent, at the moment you are deciding.

Tools

ToolWhat it does
dsh_xray_checkCapability card for one plugin: injected services, hooks, runtime patches, credential-class env reads, install-time scripts — each with file:line evidence.
dsh_xray_auditSummary across several plugins, e.g. the ones you have installed: how many carry powerful capability, which patch the runtime, which read credentials.

Ask your agent naturally:

Is tt-a1i/archify safe to install?

Audit the plugins I have installed.

Capability levels

C0 no notable surface · C1 ordinary · C2 one powerful capability or sensitive behaviour · C3 both.

Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses, and several of the highest-scoring projects in the ecosystem are among its best-engineered. The distinction that matters is between a plugin that needs strong capability and one that has it without anyone noticing.

This is not malware detection. Static analysis cannot establish intent, and a determined bad actor evades it easily. The gap it addresses is that nobody knows what ordinary plugins do.

Install

dsh plugin add https://github.com/unStone/dsh-xray-plugin/releases/download/v0.1.0/dsh-xray-plugin-0.1.0.tgz

The release carries a prebuilt bundle, so the install skips pnpm's build-script approval step. Installing from source (dsh plugin add unStone/dsh-xray-plugin) also works, but pnpm will ask you to allowlist the build first.

Data

Cards are fetched from data.json, refreshed by a daily scan of the whole ecosystem, and cached for six hours. No telemetry: the plugin sends nothing about you or your setup — it fetches a static file and reads it locally.

Browse the same data on the web: registry · levels explained · ecosystem report

False positives

Every flag cites the file and line it came from, so disputes are checkable. Open an issue — rules are fixed in public and the next daily scan picks up the correction.

Build

npm install
npm run build

Apache-2.0

仓库信息

开发语言
TypeScript
许可证
Apache-2.0
最新发布
v0.1.0
最后更新
2026年8月18日 11:24

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。