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 分析

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

パッケージ
dsh-plugin-inspector
バージョン
0.2.1
ライセンス
MIT
最終更新
2026/08/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.