dshbase

插件目录 / Security / dsh-xray-plugin

dsh-xray-plugin

已验证 · 实测可装 unStone

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-18最近推送
跨平台平台

功能简介

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

✅
我们的评价
可用 — 实测通过,早期项目

Ask what a DeepSeek Harness plugin can actually do, from inside your agent. Companion to dsh-xray. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

Tool What it does
dsh_xray_check Capability card for one plugin: injected services, hooks, runtime patches, credential-class env reads, install-time scripts — each with file:line evidence.
dsh_xray_audit Summary 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-xray-plugin」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:unStone/dsh-xray-plugin

Headless(CLI)profile:

dsh plugin --profile headless add github:unStone/dsh-xray-plugin

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Security 里更多

浏览全部 7819 个插件 →