全部插件

dsh-cve-audit

@dsh-plugins/dsh-cve-audit · 版本 0.0.1 · 更新于 2026年11月29日

仅对项目自身的依赖项进行实时 CVE 和供应链审计。

  • 逐版审核
  • 开发运行时
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

dsh-cve-audit

Live CVE / supply-chain audit for your project's own dependencies — not the harness's plugins.

Most existing dsh security plugins (dsh-plugin-vetting, dsh-plugin-sentinel, upstream-radar) audit the plugin ecosystem itself. None of them scan the dependency lockfiles of the codebase you're actually working in. dsh-cve-audit fills that gap: it reads package-lock.json / requirements.txt / go.sum in the workspace, batch-queries OSV.dev (free, no API key), and reports known CVEs sorted by severity — as a real tool the agent can call, and optionally re-run automatically whenever a lockfile changes.

Install

sole plugin add @dsh-plugins/dsh-cve-audit

Usage

Ask the agent to "audit dependencies for CVEs" — it will call the cve_audit tool. Or trigger it directly:

cve_audit({ path: "." })

Config

watch: true          # re-scan automatically on lockfile changes
ecosystems: [npm, PyPI, Go]
osvEndpoint: https://api.osv.dev/v1/querybatch

Status

Early scaffold — built against the publicly documented Cordis plugin API (ctx.tools.register, defineTool, Schema.object, ctx.effect). Not yet run against a live dsh install; the lockfile watch currently uses Node's fs.watch rather than a harness-native workspace-change event, since that event name isn't in the public docs yet — swap in the native hook once confirmed. PRs welcome.

版本历史

  • 0.0.12026年11月29日 · 16 KB
dsh-cve-audit · SoleAPI Agent 插件 | SoleAPI