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

@dsh-toolbox/plugin-preflight

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

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.