Plugin directory / Developer / dsh-dependency-audit
dsh-dependency-audit
Verified · install-tested on dsh uckkk
What it does
依赖安全审计:OSV.dev 漏洞扫描 + npm 过期依赖检测,返回严重级/修复版本/升级幅度
Works — verified, early-stage project
依赖安全审计:OSV.dev 漏洞扫描 + npm 过期依赖检测,返回严重级/修复版本/升级幅度 It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
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
安装即在本机运行第三方代码,请自行审阅源码。
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-dependency-audit for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:uckkk/dsh-dependency-audit Headless (CLI) profile:
dsh plugin --profile headless add github:uckkk/dsh-dependency-audit Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.