dsh-license-guard
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-license-guard
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-license-guard in DeepSeek Harness to install the plugin; source is at https://github.com/uckkk/dsh-license-guard
About this plugin
A typical Node.js project silently pulls in hundreds of transitive dependencies, each carrying a different license. Shipping an npm package or delivering an enterprise build can turn dangerous the moment a copyleft license slips in unnoticed. Manually paging through every package.json is slow and error-prone, which is exactly the gap dsh-license-guard fills.
Its approach is straightforward: it scans the license or licenses field of every package under node_modules, normalizes the values into SPDX identifiers, then buckets them into five categories — permissive, weak-copyleft, strong-copyleft, unknown, and unlicensed. The built-in policy allows MIT, Apache-2.0, ISC and other permissive terms by default while automatically blocking GPL-3.0, AGPL-3.0, SSPL-1.0 and similar strong-copyleft licenses. Unknown or unlicensed entries count as violations out of the box, though you can relax that with the includeUnknown flag. The license_check tool also accepts a custom allow or deny list and reports exactly which dependencies are in breach, making it easy to wire into a CI gate before every publish.
It is aimed at solo developers, open-source maintainers, and front-end teams who need a fast compliance snapshot before release. The entire pipeline runs locally in plain Node with zero network calls and no external service dependency, so it drops straight into offline environments and CI pipelines. One caveat: this is a heuristic screening tool, not legal advice — for commercial distribution or formal legal sign-off, a qualified attorney review is still the authoritative last step.
Use Cases
- Quickly confirm no strong-copyleft licenses before publishing an npm package
- Gate a CI build by blocking on any policy violation
- Generate a license-category snapshot for legal review during enterprise delivery
Best For
- Solo developers maintaining open-source libraries and publishing npm packages regularly
- Front-end teams managing multi-dependency projects who need a compliance snapshot
- DevOps engineers integrating license checks into CI pipelines
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.