api-relay-auditDSH 插件
面向 AI API 中转与 LLM 代理的本地安全审计工具,运行 audit.py 生成报告,检测提示注入、模型替换等问题;README 提供 dsh plugin add github 安装命令。
查看原仓库英文描述
Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.
基础信息核对
资料已更新项目活跃度
数据覆盖 92% · 抽样数据 · 数据截至 2026-09-22
12 次提交 · 最近推送 10 天前
12/23 已关闭 · 首次响应中位数 0.8 天
58/74 已关闭 · 响应数据未覆盖 · 抽样
1 位近 90 天活跃贡献者
最近发布 38 天前
859 Stars · 82 Forks
安装
dsh plugin --profile web add github:toby-bridges/api-relay-audit
首次安装 GitHub 来源的包时,可能需要在 profile 的 pnpm-workspace.yaml 的 allowBuilds 中允许该包的构建脚本;也可用 github:toby-bridges/api-relay-audit#<commit-sha> 锁定版本。详见官方文档。
还没有 DSH?两步开始 →
第一步:准备 Node.js 环境
DSH 依赖 Node.js(建议 20 LTS 或更新版本)。终端里运行 node -v 能显示版本号即已就绪。
已有 Node.js:直接进入第二步。
没有 Node.js:去 nodejs.org 下载 LTS 安装包(Windows/macOS 双击安装);或用包管理器:
brew install nodewinget install OpenJS.NodeJS.LTS第二步:启动 DSH
无需安装,直接运行:
npx @deepseek-ai/dsh web浏览器打开 http://127.0.0.1:3080,在 Web UI 的插件市场里搜索 api-relay-audit,或粘贴上面的安装命令。