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

@dsh-toolbox/plugin-preflight

Read-only DeepSeek Harness bundle validation, capability policy, SBOM, fingerprint, and audit reporting.

包名
@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.