ディレクトリに戻る

api-relay-audit

キュレーション掲載メンテナンス: 活発

toby-bridges/api-relay-audit

AI API リレー・LLM プロキシのローカルセキュリティ監査。プロンプトインジェクション、モデル置換、ツール改ざん、SSE 異常、エラー漏洩、Web3 ウォレットリスクを検出

GitHub で見るホームページ
$ dsh plugin --profile web add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"

824

スター

79

フォーク

Python

言語

AGPL-3.0

ライセンス

2026-03-30

作成日

2026-08-29

最終プッシュ

AGPL-3.0 の AI API リレー/LLM プロキシ向けローカル監査ツール——`dsh plugin add` で DeepSeek Harness プラグインとしてインストールし、`/relay-audit` で実行、レビュー可能な Markdown レポートを生成します。

DSH 統合

ネイティブ実行

作者による申告

安全性監査

未監査

最終検証日

2026-08-21

ライセンス

AGPL-3.0

01どんなタスクに使えるのか?

  • Audit a third-party AI API relay or LLM proxy before trusting it, from inside DeepSeek Harness

    A local 14-step audit with per-step findings and a final `LOW / MEDIUM / HIGH` verdict in a structured Markdown report

    Developers and agent operators who rely on third-party AI API relays or OpenAI/Claude-compatible proxies and want repeatable evidence before sending production or coding-agent traffic

  • Detect relay tampering: prompt injection, model substitution, tool-call rewriting and SSE anomalies

    Per-step detector evidence covering prompt safety, relay integrity, model identity, and Web3 wallet safety checks

    Security-conscious teams evaluating Claude-compatible or OpenAI-compatible proxies for hidden prompt injection, model swaps, context truncation, or rewritten tool output

  • Run wallet-safety checks before Web3 agent workflows touch signing or transactions

    Profile-gated Web3 probes: ETH transfer guidance, signed-transaction refusal, and private-key leak refusal checks

    Web3 agent builders who route wallet-related actions through a relay and want wallet-oriented prompt-injection probes first

02DeepSeek Harness への導入方法

前提条件

  • DeepSeek Harness (dsh) Web or a profile-based TUI client using the official `@deepseek-ai/dsh-commands` registry
  • An API key stored in DSH Credentials for the relay/provider being audited

インストール手順

  1. 01

    Pin a release tag and install the plugin: `DSH_PLUGIN_REF=v2.4.0` then `dsh plugin --profile web add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"`

    $ dsh plugin --profile web add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"

  2. 02

    For dsh-cc-tui and other compatible profile-based clients: `dsh plugin --profile cc-tui add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"`

    $ dsh plugin --profile cc-tui add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"

  3. 03

    Run the audit command in the session: `/relay-audit`, or `/relay-audit --connectivity` for a lower-cost check

導入成功の確認

作者は未記載

03DSH 統合と能力の範囲

DSH 統合ネイティブ実行

Installable dsh-api-relay-audit plugin bundle for DeepSeek Harness Web and compatible profile-based TUI clients, installed pinned to a release tag via `dsh plugin add`

  • 14-step relay security audit

    Relay base URL plus API key (standalone) or current DSH provider's baseURL / model / credential reference (DSH plugin)Structured Markdown report with per-step findings and a final `LOW / MEDIUM / HIGH` verdict

    Sends audit probes and your API key to the chosen relay URL; a full audit may consume metered tokens
  • Runtime profiles: general / web3 / full

    `--profile general|web3|full` flagGeneral relay checks by default, wallet-safety probes for Web3 flows, or both combined

  • Credential handling via DSH Credentials

    DSH credential reference (or `--credential-ref`)API key resolved from DSH Credentials and delivered to the local audit process

    Credential is delivered through an environment variable — never through command arguments or the session log
  • Zero-dependency standalone audit

    Python stdlib plus `curl`Local audit run via the single-file `audit.py` without Python package dependencies

    Downloads `audit.py` from raw.githubusercontent.com via curl

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • Developers and agent operators who rely on third-party AI API relays or OpenAI/Claude-compatible proxies and want repeatable evidence before sending production or coding-agent traffic
  • Security-conscious teams evaluating Claude-compatible or OpenAI-compatible proxies for hidden prompt injection, model swaps, context truncation, or rewritten tool output
  • Web3 agent builders who route wallet-related actions through a relay and want wallet-oriented prompt-injection probes first

不向きな用途

  • Independent wrappers without DSH profiles and the DSH command registry are not compatible with this bundle.
  • The DSH distribution does not add a new model baseline: the selected route must identify as Claude, although the relay API itself may be Anthropic-compatible or OpenAI-compatible.

05互換性・メンテナンス・セキュリティ上の注意

  • Independent wrappers without DSH profiles and the DSH command registry are not compatible with this bundle.
  • The DSH distribution does not add a new model baseline: the selected route must identify as Claude, although the relay API itself may be Anthropic-compatible or OpenAI-compatible.
  • A report is not a safety certificate: the tool does not certify that a relay is safe, and `inconclusive` results (blocked probes, ambiguous responses) stay visible instead of being treated as clean.
2026-03-302026-08-15v2.4.0

AGPL-3.0 · actively maintained (latest release v2.4.0, 2026-08-15)

06よくある質問

API Relay Audit を DeepSeek Harness にインストールする方法は?

リリースタグを固定してインストールします。`DSH_PLUGIN_REF=v2.4.0` を設定し、`dsh plugin --profile web add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"` を実行してください。dsh-cc-tui など profile 対応クライアントでは `--profile cc-tui` で同じコマンドが使えます。

インストール後に監査を実行するには?

`/relay-audit` でデフォルトの完全監査を実行します。低コストで確認したい場合は `/relay-audit --connectivity` を使います。`/relay-audit --url <URL> --model <claude-model> --credential-ref <DSH_CREDENTIAL_REF>` で監査対象のリレーを指定することもできます。

API キーはどこに送信されますか?

プラグインは現在の DSH provider の baseURL・model・credential 参照を再利用します。認証情報は DSH Credentials に保持され、環境変数経由でローカル監査プロセスに渡され、コマンド引数やセッションログには残りません。送信先はあなたが指定したリレー URL のみです。

どんな制限がありますか?

DSH profile/plugin 機構を持たない独立ラッパーは本バンドルと非互換で、監査対象ルートは Claude として自己識別する必要があります。レポートはレビュー可能な証拠であり安全性の認証ではありません。`inconclusive` 結果は clean とみなされずレポートに残ります。

08データと出典

  • 作者による申告github.com00ce80208ea1…

    The repository is also an installable `dsh-api-relay-audit` bundle for DeepSeek Harness Web and community TUI surfaces t…

  • 作者による申告github.com00ce80208ea1…

    DSH_PLUGIN_REF=v2.4.0 dsh plugin --profile web add "github:toby-bridges/api-relay-audit#${DSH_PLUGIN_REF}"

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-21。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。