HiWhaleW/dsh-toolbox--packages-plugin-preflight29

@dsh-toolbox/plugin-preflight

只读的 DeepSeek Harness 插件包验证、能力策略、SBOM、指纹和审计报告工具。

AI 分析

核心用途是在安装前对本地 DSH 插件目录进行安全与规范审计。适合注重系统安全、需要验证插件依赖(SBOM)和合规性的系统管理员或开发者。

包名
@dsh-toolbox/plugin-preflight
版本
0.2.1
许可证
NOASSERTION
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HiWhaleW/dsh-toolbox#0324df10da261f690b962b0e29fce4c2c43dd5bc&path:packages/plugin-preflight

Plugin Preflight

Read-only MVP for reviewing a local DSH plugin directory before installation.

plugin_preflight_scan checks the package manifest, DSH Profile Bundle patch semantics, exported/packed files, license declaration, lifecycle scripts, dependency names, symlinks, file sizes, and capability signals in JavaScript/TypeScript. It returns structured findings, a deterministic packed-content SHA-256 fingerprint, a dependency SBOM, and Markdown. plugin_preflight_report writes private Markdown and self-contained HTML receipts.

Operators can configure policy with allowedLicenses, allowedPackageScopes, blockedCapabilities, and maxRiskScore. Policy violations are additional findings; they do not execute or quarantine the plugin.

The scanner does not execute package scripts, install dependencies, follow symlinks, contact registries, or change DSH configuration. The DSH tool defaults to the active session working directory; operators may configure explicit allowedRoots in the bundle config. A clean result is not a security guarantee; inspect source and dependency provenance before installing untrusted code.

License

Source-available under the PolyForm Noncommercial License 1.0.0. Commercial use is not permitted; see the packaged LICENSE file.