
0326/dsh-plugin-market
dsh-plugin-market
A secure, trusted, curated plugin marketplace for DeepSeek Harness.
Install
npx @deepseek-ai/dsh plugin --profile web add github:owner/repo#<scanned_commit_sha>Restart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/0326-dsh-plugin-market)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from 0326/dsh-plugin-market, cleaned of badges and images.
DSH Plugin Market
English | 简体中文
Discover. Verify. Install with confidence.
面向 DeepSeek Harness 生态的可信插件注册、发现与安装平台。
本项目面向 DeepSeek Harness 生态。DeepSeek Harness 本身处于 Developer Preview,插件规范和兼容性规则可能快速变化,本项目的扫描规则会随之演进。
为什么做这个项目?
DeepSeek Harness 的核心理念是 Everything is a Plugin。官方目前通过 GitHub dsh-plugin Topic 帮助社区发现插件。
但 GitHub Topic 只能回答:
“哪些仓库声称自己与 DSH Plugin 有关?”
它不能回答用户安装前更重要的问题:
- 这个仓库真的是符合规范的 DSH Plugin / Bundle 吗?
- 它和我当前使用的 DSH / Cordis 兼容吗?
- 它最近还在维护吗?
- 安装时会不会执行
prepare/postinstall等脚本? - 它有哪些需要关注的安全和供应链风险?
- 我应该安装哪个版本 / commit,才能和市场扫描的代码保持一致?
DSH Plugin Market 不只是 GitHub Topic 的展示层,而是把候选仓库转换为结构化、可验证、可追溯的 Plugin Registry。
核心价值
Discover
持续从 GitHub 等公开来源发现 DSH 插件候选仓库,而不是依赖人工维护一份静态清单。
Verify
自动分析插件结构,包括:
package.jsondsh.bundle.patchcordis.patch.yml- DSH / Cordis dependencies 与 peerDependencies
- Plugin entry / exports
- Node.js engine
- Client / Web platform metadata
候选仓库通过明确的生命周期逐步升级:
Candidate
↓
Detected
↓
Format Verified
↓
Featured (curated)
Assess
为每个插件生成独立的 Trust Profile:
Format Verification
Compatibility
Security Scan
Maintenance
Publisher Trust
例如:
✓ Format Verified
✓ Compatible with current DSH baseline
⚠ prepare script detected
✓ Active maintenance
○ Publisher not verified
Install with confidence
扫描结果绑定具体 commit SHA。对于 GitHub 安装,优先推荐安装已扫描的 commit:
dsh plugin --profile web add github:owner/repo#<scanned_commit_sha>
这样用户实际安装的代码,可以和市场展示的扫描结果一一对应。
“Verified”代表什么?
这是本项目最重要的设计原则之一:
Format Verified ≠ Safe
Format Verified 只表示仓库符合当前 Scanner 所理解的 DSH Plugin / Bundle 结构规则。
安全相关信息独立展示,包括:
- 安装脚本;
- 依赖风险信号;
- Shell / process execution;
- 文件系统 / 网络访问特征;
- 动态代码执行等静态风险信号;
- 后续接入的公开漏洞数据源。
即使 Security Scan 没有发现高风险信号,也不代表第三方插件绝对安全。
为什么安装脚本特别重要?
DeepSeek Harness 支持直接从 GitHub 安装插件:
dsh plugin --profile web add github:owner/repo
对于需要构建的 Git dependency,作者可能通过 prepare 脚本生成产物。允许该脚本意味着第三方代码会在安装阶段执行。
因此 DSH Plugin Market 会把以下信息作为一等信息展示:
Install scripts
Build required
Scanned commit
Recommended pinned install
而不是只展示 Stars、Language 和 License。
功能特性(当前已实现)
Registry MVP
- GitHub
dsh-plugintopic 候选发现 + 增量同步(SHA 增量 + ETag + rate-limit / 429 退避) - D1 Registry(6 张核心表 + 版本化迁移)
- Scanner v1 纯函数:manifest / bundle / compatibility / security / maintenance / semver
- Cron 定时发现 + Cloudflare Queue 异步扫描(幂等键
repo_id + sha + scanner_version) - 公共 API + internal API(secret 守卫)
- 首页 / Explore / Plugin Detail / Submit 页面
Trust Layer
- DSH / Cordis 兼容性 baseline(从 npm registry 同步,每小时 cron,缺省回退内置 baseline)
- 安装脚本检测 + 静态安全信号 + 维护信号
- commit 绑定的扫描历史(Versions Tab +
GET /api/plugins/:owner/:repo/scans) - pinned-commit 安装命令(InstallCard)
Discovery Experience
- Capability taxonomy + Plugin Type 双维度(详情展示 + 筛选)
- 高级筛选(capability / pluginType / compatibility / risk / verified / search / sort)
- Featured(internal 置顶接口 + 首页区块)/ Trending / New & Verified / Popular
- Registry 统计(
GET /api/stats:candidates / verified / updated-this-week) - Publisher 页(
GET /api/publishers/:owner+/publisher/:owner) - SEO / OpenGraph / Twitter meta
- AI Search(可选增强,后置,不阻断主体)
其他
…
