CharlotteN7/dsh-plugin-inspector0

dsh-plugin-inspector

Know what a DeepSeek Harness plugin does before you install it — static pre-install analysis of a plugin directory or tarball

AI Analysis

核心用途是评估第三方插件的安全性。适合在安装未知插件前,需要对其进行静态代码与权限审计的系统管理员或安全人员。

Package
dsh-plugin-inspector
Version
0.2.1
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Usage

dsh-inspect  [options]
dsh-inspect --from-npm [@] [options]

                  A plugin directory, or an npm tarball (.tgz / .tar.gz).

Options
  --from-npm        Fetch a published package from the registry, verify its
                          dist.integrity hash, and analyse it in memory.
  --registry         Registry base URL for --from-npm.
                          (default: https://registry.npmjs.org)
  --json                  Emit the machine-readable JSON document on stdout.
  --fail-on     Exit 1 at or above this severity.
                          critical | high | medium | low | none    (default: high)
  --no-color              Plain text, no ANSI.
  --version, --help

Exit codes, which are the CI contract:

CodeMeaning
0Analysis completed; nothing at or above --fail-on
1Analysis completed; at least one finding at or above --fail-on
2Analysis could not be performed

2 is deliberately distinct from 1. A job that cannot tell "the analyzer broke" from "the plugin is clean" is the failure this split exists to prevent.

Getting a package without installing it

Never pnpm add a package you have not read.