dsh-license-guard
Manifest valid★ 1Dependency License Compliance: Scan node_modules licenses, normalize SPDX, classify, and perform pre-release compliance checks
dsh-license-guard · 依赖许可证合规
扫描项目 node_modules 中每个依赖的许可证,归一化为 SPDX 标识,按「宽松 / 弱传染 / 强传染 / 未知 / 未授权」分类,并支持发布前的允许/禁止策略校验。纯 Node 实现,无网络、无外部服务。
提供的工具
| 工具 | 作用 |
|---|---|
license_scan | 扫描全部依赖许可证,分类汇总 |
license_check | 按允许/禁止策略校验,返回违规依赖 |
安装
dsh plugin add dsh-license-guard
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-license-guard"。
用法示例
看看这个项目依赖的许可证构成
→ 调用 license_scan(root="/workspace")
发布前做一次合规门禁
→ 调用 license_check(root="/workspace", deny=["AGPL-3.0"])
默认策略
- 默认允许:MIT、Apache-2.0、ISC、BSD、0BSD、Zlib、Unlicense、CC0-1.0 等宽松许可证。
- 默认禁止:GPL-3.0、AGPL-3.0、SSPL-1.0、GPL-2.0 等强传染许可证。
- 未知 / 未授权许可证默认计入违规(可用
includeUnknown: false关闭)。
说明
- 许可证识别基于各依赖
package.json的license/licenses字段,识别不到的会标记为「未知」。 - 这属于启发式合规筛查,正式商用/发布前请以法律复核为准。
安装
dsh plugin add github:uckkk/dsh-license-guard
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-license-guard
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
From the same category
DeepSeek Harness 破甲插件「无限二代」:v5 稳定化破甲提示词(含拒绝对抗增强),客户端在对话框上方显示「破甲已开启」状态条。
★ 3.3k
MIT
C#
Aug 22, 2026
dsh plugin --profile web add dsh-infinite-gen-2System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status bad
★ 3.3k
MIT
C#
dsh plugin --profile web add dsh-infinite-gen-4by toby-bridges
Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.
★ 874
↓ 333/wk
AGPL-3.0
Python
Aug 24, 2026
dsh plugin --profile agent add dsh-api-relay-auditby SeaOf0
基于dsh web实现的多种模式,目的是服务于redteam进行授权的安全研究,覆盖渗透测试、红队评估、代码审计等范围领域,请勿用于非法行为。(允许二开,赋予模块各位自己的业务逻辑,方法论只有自己熟练的才好用,好的方法论=好的生态)
★ 741
MIT
Python
Aug 25, 2026
dsh plugin --profile web add @dsh-external/dsh-redteam-modelby agentic-os-org
ANOLISA (Agentic Nexus Operating Layer & Interface System Architecture) | Agentic OS with runtime, security, observability, and Tokenless response compression for lower token usage and cost.
★ 662
Apache-2.0
Rust
Nov 10, 2026
by xiaods
k8e.sh - OpenSource Agentic AI Sandbox Matrix
★ 514
↓ 19/wk
Apache-2.0
Go
Aug 24, 2026
dsh plugin --profile agent add @k8e-sandbox/dsh-k8e-sandbox-bundle