CharlotteN7/dsh-plugin-inspector ↗★ 0
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 分析
核心用途是评估第三方插件的安全性。适合在安装未知插件前,需要对其进行静态代码与权限审计的系统管理员或安全人员。
インストール
検証済み 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:
| Code | Meaning |
|---|---|
0 | Analysis completed; nothing at or above --fail-on |
1 | Analysis completed; at least one finding at or above --fail-on |
2 | Analysis 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.