dsh-dependency-audit
Manifest validDependency Security Audit: OSV.dev vulnerability scanning + npm outdated dependency detection, returning severity level/fix version/upgrade magnitude
dsh-dependency-audit · 依赖安全审计
扫描项目依赖的安全状态:① 通过 OSV.dev 查询每个依赖的已知漏洞;② 对比 npm registry 检测过期依赖。纯 Node 实现,仅需联网访问 osv.dev 与 npm registry。
提供的工具
| 工具 | 作用 |
|---|---|
audit_vulnerabilities | 批量查询 OSV.dev,返回受影响依赖的漏洞 ID、严重级、摘要、修复版本 |
audit_outdated | 对比已安装 vs 最新版本,返回过期依赖与升级幅度(major/minor/patch) |
安装
dsh plugin add dsh-dependency-audit
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-dependency-audit"。
用法示例
帮我审计这个项目依赖有没有已知漏洞
→ 调用 audit_vulnerabilities(root="/workspace")
哪些依赖过期了,升级幅度多大
→ 调用 audit_outdated(root="/workspace")
说明
- 漏洞数据来自 OSV.dev(开源漏洞数据库,覆盖 GitHub Advisory 等来源),查询免费无需 key。
- 只检查已安装(能解析出确切版本)的依赖;
node_modules里解析不到的依赖会跳过。 - 与
dsh-license-guard(许可证合规)、dsh-secret-scan(密钥扫描)构成安全三件套。
安装
dsh plugin add github:uckkk/dsh-dependency-audit
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-dependency-audit
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by feely0208
检查并更新第三方 DSH 插件:对比 npm 最新版本,一条命令精确升级(绕过 pnpm 新版本观察期)
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add @deepwhale-cn/dsh-plugin-updaterby 988hj7tczd-oss
Scan project lockfiles (npm/pnpm/yarn/pip/go/cargo/maven/gradle/...) against the free OSV API and report confirmed dependency vulnerabilities with fix versions and remediation commands.
★ 0
↓ 32/wk
MIT
TypeScript
Aug 24, 2026
dsh plugin --profile web add dsh-dep-vuln-scanby niaccky
npm 安装门禁插件:在 DeepSeek Harness 执行 npm install 前审计漏洞、许可证、体积与包健康度,自动放行/询问/拦截。
★ 0
↓ 88/wk
TypeScript
Aug 19, 2026
dsh plugin --profile web add dsh-install-guardby dongsheng123132
Offline content-addressed proof for supplied vulnerability-remediation closure
★ 0
MIT
JavaScript
Sep 7, 2026
dsh plugin --profile web add dsh-vulnerability-remediation-proofby zoahdev
Dependency supply-chain hygiene audit for dsh projects and profiles: peer-range resolvability, broken dist-tag detection (#2763 class), stale / missing-license / non-registry dependencies, and install
★ 1
↓ 39/wk
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add dsh-dep-auditby YannZhou
About section for the DeepSeek Harness settings: version info, npm latest/next update check with one-click install and auto-restart, and GitHub release history.
★ 6
↓ 198/wk
MIT
JavaScript
Oct 6, 2026
dsh plugin --profile web add @yannzhou/dsh-about