◒ DeepSeek Agent
插件市场›MCP 与集成›api-relay-audit
DEEPSEEK HARNESS PLUGIN

api-relay-audit

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.

插件介绍

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.

ai-agentsai-auditai-securityanthropicapi-gatewayclaudedsh-pluginllm-auditllm-proxyllm-securitymodel-substitutionopenai-apiprompt-injectionpythonsecurity-auditsecurity-scannersupply-chain-securitytool-call-rewritingweb3-securityweb3-wallet

项目详情摘要

API Relay Audit Local security audit for AI API relays and LLM proxies. DSH Plugin Your Agent Is Mine: what you can test locally Your Agent Is Mine* documents malicious API relays injecting payloads and exfiltrating credentials. Anthropic's September 10, 2026 report describes fraudulent Claude resellers swapping models and harvesting credentials through their client tooling. In his September 11 disclosure, co-author Chaofan Shou reports buying router data containing users' credentials. API Relay Audit is an independent, local security audit tool for AI API relays and LLM proxies, informed by the paper. The current release checks observable relay behavior and generates a Markdown report covering: **Prompt and context signals:** hidden prompt injection, instruction override, and context truncation. **Response integrity:** changes to pinned package-command text, error-response leakage, and SSE stream anomalies. **Reviewable findings:** per-step evidence and `LOW / MEDIUM / HIGH` summaries; inconclusive probes remain visible. See the output:** example report (synthetic fixture) · **Try it:** run a local audit · Coverage and limits The standalone script uses Python's standard library plus `curl`. Your API key is sent only to the relay URL you choose. Quick Start See a public-safe fixture report: sanitized audit report. Pinned v2.5.0 downloads require a published tag; a draft release alone does not guarantee availability. Use `master` as `AUDIT_SCRIPT_REF` only when intentionally testing unreleased changes. If API Relay Audit helps you evaluate a relay before sending real traffic, star the repository to follow new detector coverage and release-tested updates. JSON Reports v2.5.0 supports `--format json` for local automation: Without `--output`, stdout contains one JSON docume

摘自项目公开 README,可能随上游仓库更新。

安装方法

建议先在测试 Profile 中安装,并检查权限、安装脚本和依赖。

npx -p @deepseek-ai/dsh dsh plugin --profile web add github:toby-bridges/api-relay-audit

使用前检查

  • 确认项目符合 DSH bundle 规范,而不只是相关仓库。
  • 阅读许可证和安装脚本,检查网络、文件及执行权限。
  • 备份配置,并确保插件能够安全卸载或回滚。