DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-license-guard

f

dsh-license-guard

Manifest valid

Open Source License Compliance Check: Scan the dependency tree to identify risks such as GPL/AGPL copyleft contagion, unknown licenses, and more — run it before release, before open sourcing, and whenever you're under audit.

hasBundlePatchMachine translated

@deepwhale-cn/dsh-license-guard

Listed on dsh-plugin.org

关键词:开源许可 · 开源协议 · 许可证合规 · 许可风险 · GPL 传染 · AGPL · 开源合规 · 许可证 Keywords: open source license · license compliance · GPL · AGPL · copyleft · license risk 开源许可合规检查 —— 扫依赖树,找出 GPL/AGPL 传染、许可未知等风险。

发布前、开源前、被审计时跑一遍。退出码可挂 CI。

不装它会怎样

你的产物里混进了一个 GPL 依赖,你没发现,打包发出去了。

半年后客户审计问:「你用了 GPL 代码,为什么没开源?」—— GPL 的义务从「分发」那一刻就触发了,而分发在半年前。

这个检查跑一次几秒钟。

它查什么

级别内容
🔴 高GPL / AGPL —— 强传染
🟡 中许可未知(没写许可证 ≠ 随便用)· 项目缺 LICENSE
🟢 低LGPL / MPL / EPL · package.json 缺 license 字段

安装

# DSH 插件(推荐)
dsh plugin --profile web add @deepwhale-cn/dsh-license-guard

# 或纯 CLI(不依赖 DSH)
npx @deepwhale-cn/dsh-license-guard

用法

dsh-license-guard                # 扫当前目录
dsh-license-guard --demo         # 用内置样本看效果
dsh-license-guard --html r.html  # 输出 HTML 报告

dsh-license-guard 检查报告示例

dsh-license-guard 演示模式输出

dsh-license-guard 规则与依据

覆盖范围

5 条规则,覆盖依赖树的许可风险 + 项目基础文件。

不覆盖:专利条款、商标、出口管制、SSPL/BUSL 等非 SPDX 自定义协议。 依赖声明的许可证值可能不准(维护者写错),本工具不校验其真实性。

为什么和其他工具不同

它不只看依赖,也看你自己:项目缺 LICENSE、package.json 缺 license 字段 —— 这两条会让别人(和你自己的下游)无法判断能不能用你的代码。

边界

本插件是一个工具。使用者必须遵守所在地区法律法规,对使用本项目造成的任何后果自行承担责任。

开发

npm install
bash tests/run.sh     # 双向验证(正例必须报 + 反例必须不报)

深鲸网安守护系列(共 22 个)

一个插件做一件事。安全问题是链式的 —— 配套用才完整。

国内合规 | 等保对照 · 日志留存 · 备案公示 · 用户同意 · 个人信息权利 · 未成年人保护 · 影响评估 · 数据分类分级 · 算法备案 · 数据出境

AI 与 Agent 治理 | AI 输出信任 · 外部内容信任 · MCP 安全 · Agent 权限

数据与凭据 | 敏感数据 · 密钥轮换

供应链与构建 | 开源许可 · 依赖投毒 · CI 安全

权限与应急 | 最小权限 · 告警外发 · 应急证据包

都在 DSH 插件市场(dsh-plugin.org)和 npm 上,dsh plugin --profile web add <包名> 即可安装。

License

MIT © 深鲸 DeepWhale

Comments

Loading…

Similar plugins

dsh-provenance

Pre-install supply-chain checks for DeepSeek Harness plugins: verify the tarball you are about to install matches the source you read, before any code runs.

Security & AuditDevelopment & InfrastructureManifest valid

★ 0

↓ 164/wk

dsh plugin --profile web add dsh-provenance

by uckkk

项目体检:检查 README/LICENSE/.gitignore/测试/CI/锁文件等最佳实践并返回体检报告

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-repo-health

by Web0926

DeepSeek Harness plugin that validates and ranks 3/5 independent coding-agent patches before approval-gated apply.

Security & AuditDevelopment & InfrastructureManifest valid

★ 3

↓ 818/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-llm-verifier

by 863683348

Verification toolkit for DSH agents: evidence-based claim checking against workspace files with line citations, config validation (JSON/YAML), and read-only URL/npm/GitHub submission-readiness probes.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-plugin-verify

by uckkk

依赖安全审计:OSV.dev 漏洞扫描 + npm 过期依赖检测,返回严重级/修复版本/升级幅度

Manifest valid

★ 0

↓ 35/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-dependency-audit

by dongsheng123132

Evidence-only DSH plugin for license obligation delivery closure

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 7, 2026

dsh plugin --profile web add dsh-license-obligation-proof