プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

TokenHound

作者:aiagentproバージョン 1.0.1i★ 0iパソコンで動くリポジトリ ↗

インストール方法

できること

Find leaked AI keys, verify them read-only and price the exposure. Never returns a full key.

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気11/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア23/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 7 (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

TokenHound をインストールして。https://mcp.popnx.com/i/aiagentpro-tokenhound.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月29日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server TokenHound を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "tokenhound": { "command": "npx", "args": [ "-y", "tokenhound", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、TokenHound のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "tokenhound": {
          "command": "npx",
          "args": [
            "-y",
            "tokenhound",
            "mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    TokenHound を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が TokenHound を使っていると言うか、回答に TokenHound のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ TokenHound につなげません

TokenHound はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · TokenHound につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server TokenHound を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user tokenhound -- npx -y tokenhound mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、TokenHound のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user tokenhound -- npx -y tokenhound mcp
  4. Claude Code で /mcp と入力

    TokenHound が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    TokenHound を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が TokenHound を使っていると言うか、回答に TokenHound のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server TokenHound を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "tokenhound": { "command": "npx", "args": [ "-y", "tokenhound", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、TokenHound のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    TokenHound を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が TokenHound を使っていると言うか、回答に TokenHound のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server TokenHound を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "tokenhound": { "type": "stdio", "command": "npx", "args": [ "-y", "tokenhound", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、TokenHound のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    TokenHound を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が TokenHound を使っていると言うか、回答に TokenHound のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?TokenHound を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user tokenhound -- npx -y tokenhound mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "tokenhound": {
      "command": "npx",
      "args": [
        "-y",
        "tokenhound",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tokenhound": {
      "command": "npx",
      "args": [
        "-y",
        "tokenhound",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tokenhound": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokenhound",
        "mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

レジストリ名
io.github.aiagentpro/tokenhound
週あたりのダウンロードi
366/週
接続方法
パソコンで動く
最新バージョンi
1.0.1
カテゴリi
その他
レジストリ公開日i
2026年11月29日
コードの最終更新i
2026年11月29日
作者
aiagentpro
パッケージ
npm: tokenhound
pypi: tokenhound
oci: ghcr.io/aiagentpro/tokenhound:1.0.1
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月29日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント aiagentpro で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/aiagentpro-tokenhound.svg)](https://mcp.popnx.com/en/servers/aiagentpro-tokenhound)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの22827件のうち0%よりスターが多い
  • このカテゴリのほかの22827件のうち99%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの22827件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

TokenHoundは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(1.0.1)がレジストリに届いたのは今日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, Python (uv), Dockerも必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万13 日前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92873 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター40 日前更新

すぐ接続できる(URL あり)ツール 2 個 · 軽め✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582214 か月前更新

すぐ接続できる(URL あり) · キーが必要リポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51434 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · jitsu.com
似たものと比べる
これ
TokenHound
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Find the AI keys your coding agents have spread, see which are live and what they cost, and stop them going public.

Works with Claude Code · Codex · Cursor · VS Code · GitHub Actions · git hooks and pre-commit

English · 简体中文 · 日本語 · 한국어 · Español · Português (Brasil) · Deutsch · Français

$ npx tokenhound

2 live keys, $29,227.68 a day at risk, grade F

LIVE OpenAI sk-pro...TEST (56) $28,800/day .env:1 LIVE Groq gsk_m3...TEST (56) $427.68/day app.py:2 DEAD Anthropic sk-ant...H-AA (108) $0 .env:2

Why F: In repo app: 2 live keys, $29,227.68 a day at risk, at or over the $500.00 threshold. Next: tokenhound fix th_676a05fa4d1c9bb1

<sub>Example output on synthetic test keys. Keys are only ever shown redacted.</sub>

Quickstart

npx tokenhound                                  # scan this machine's agent files and the current repo

npx tokenhound fix # step-by-step fix plan for one key npx tokenhound hook install --claude-code --command "npx tokenhound" # block live and high-confidence keys before Claude Code writes or runs them

--command "npx tokenhound" makes the hook run TokenHound through npx, so it works without an install. Once TokenHound is installed (Install), run tokenhound hook install --claude-code instead and the hook uses that binary.

No account, no sign-up and no telemetry. Prefer Homebrew, pip, Docker or Go? See Install.

What you get

Coding agents copy API keys into config files, .env files, notebooks, shell history and session transcripts. TokenHound is a scanner, run on your own machine, built to find them:

  • Find the AI provider keys your agents have spread: in the files of Claude Code, Codex, Cursor, Gemini CLI, Windsurf and more on this machine (full list), in Claude Code and Codex session transcripts, and in your repositories, with --history their full git history too.
  • Prove which keys still work, with one read-only call per key to its own provider, how many dollars per day each one puts at risk, and an A to F grade for every repository and machine. The live or dead check covers the 14 providers that support it.
  • Prevent new leaks: the Claude Code hook blocks live and high-confidence keys before Claude Code writes or runs them. High-confidence means a strong match that is not verified yet (policy). Git hooks and the GitHub Action fail a commit, push or pull request that adds a live key; to fail on unverified keys too, add not-verified, unknown and rate-limited to fail_on.status.
  • Fix each one with a plan you can paste (tokenhound fix ): revoke the key on the provider's revoke page, replace it everywhere it is used (with the usual environment variable name), purge it from git history when it was committed, and check usage for abuse.

Why not just ask your agent?

"Check this repo for leaked API keys" is a reasonable prompt, but it can't do this job:

Asking your agentTokenHound
The keys themselvesThe agent has to read every key it checks, so each one lands in its context, its transcript and the model provider's logs. Looking for a leak makes another one.Redacts each key as it reads it. No key ever reaches a model.
Where it looksThe project it is working in, with grep.The config files of Claude Code, Codex, Cursor, Gemini CLI, Windsurf and more, Claude Code and Codex transcripts and shell history on the machine, plus repositories (with --history, their full git history), decoding base64, URL encoding, JSON escapes and notebooks.
Live or deadHas to curl the key itself, which logs it again, and guess a safe endpoint.One read-only call per key to a vetted endpoint from the registry, for the 14 providers that support it.
What is at riskNo way to know.Dollars at risk per day and an A to F grade.
Same answer twiceVaries from run to run; "looks clean" proves nothing.Deterministic, with results published on an open benchmark.
New leaksCaught only when someone remembers to ask.The Claude Code hook blocks live and high-confidence keys before they are written or run; git hooks and the GitHub Action fail commits and pull requests that add a live key.
CostTokens and minutes for every scan.Seconds, free, and fully offline with --no-verify.

You can still use your agent: the MCP server and agent skill let it run TokenHound and get back redacted results instead of raw keys.

Benchmark

The open agent leak benchmark plants generated AI keys, and decoys that only look like keys, in the places coding agents leave them, then runs each scanner over the same files.

Of 1,047 AI keys hidden in agent files, repository files, git history, encoded values and notebooks, TokenHound found 1,047, gitleaks 825 and TruffleHog 440.

ToolKeys foundKeys missedFalse alarms
TokenHound1,047 of 1,047 (100%)039
gitleaks825 of 1,047 (79%)222203
TruffleHog440 of 1,047 (42%)6078

The test keys are generated from TokenHound's own patterns, which favours TokenHound at finding them; read the method before comparing.

Each row is a tool at its default config: the tuned gitleaks and TruffleHog configs found no extra keys, so they get no rows of their own. Not compared yet: GitHub secret scanning.

What these numbers mean:

  • Keys found: of the 1,047 keys planted, how many the tool reported. A missed key is a leak you never hear about, so this is the number that matters most.
  • False alarm: an alert on something that was not a key (the test also holds 1,175 look-alike decoys). A false alarm costs you a moment to check and dismiss.

Where others do better: TruffleHog raises fewer false alarms (8 against TokenHound's 39), but it found only 440 of the 1,047 keys (42%).

TokenHound's live or dead check gave the right answer for 534 of the 534 keys it checked (against the benchmark's stand-in for the provider APIs, not real providers).

Run on 2026-11-19 with the open agent leak benchmark against TokenHound commit b6aa45ed4bc9, seed 20261119. Full technical results, with precision and recall per category, the tuned configs and every place TokenHound scores lower: RESULTS.md; summary: summary.json; data: docs/benchmark/results.json.

How the benchmark is built and kept in sync with this page: docs/benchmark.md.

What it scans

  • Your coding agents' files on this machine: Claude Code settings and transcripts, Codex, Cursor, Gemini CLI, Windsurf, Claude Desktop, VS Code MCP config, Jupyter, .npmrc and friends, and Bash, Zsh, Fish and PowerShell history.
  • Repositories: the working tree, staged changes and, with --history, every commit, including keys hidden in base64, URL encoding, JSON escapes and notebooks.
  • Standard input, single files and saved reports.
Agent surfaceFiles read (macOS paths)
Claude Code~/.claude/settings.json, ~/.claude/settings.local.json, ~/.claude.json, **/.claude/settings.local.json, ~/.claude/projects/**/*.jsonl
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json
Codex~/.codex/config.toml, ~/.codex/auth.json, ~/.codex/sessions/**/*.jsonl
Cursor~/.cursor/mcp.json, **/.cursor/mcp.json, ~/Library/Application Support/Cursor/User/settings.json
dotenv files**/.env, **/.env.*
Gemini CLI~/.gemini/settings.json, **/.gemini/settings.json
Gemini CLI .env~/.gemini/.env, **/.gemini/.env
Jupyter notebooks**/.ipynb_checkpoints/*.ipynb
Jupyter config~/.jupyter/*.json, **/.jupyter/*.json
npmrc, yarnrc and pypirc~/.npmrc, **/.npmrc, ~/.yarnrc, **/.yarnrc, ~/.pypirc, **/.pypirc
Bash history~/.bash_history
Fish history~/.local/share/fish/fish_history
PowerShell history~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt
Zsh history~/.zsh_history, ~/.zhistory
VS Code MCP~/Library/Application Support/Code/User/mcp.json, ~/Library/Application Support/Code/User/settings.json, **/.vscode/mcp.json, **/.vscode/settings.json
Windsurf~/.codeium/windsurf/mcp_config.json

macOS paths shown; Linux and Windows: tokenhound providers --surfaces and docs/surfaces.md.

Verified live or dead (14)Detected (12)
Anthropic, AWS (Amazon Bedrock), Azure OpenAI, Cohere, DeepSeek, Google Gemini, Google Vertex AI, Groq, Hugging Face, Mistral AI, OpenAI, OpenRouter, Perplexity, xAICerebras, ElevenLabs, Fireworks AI, Helicone, Jina AI, Langfuse, LangSmith, Pinecone, Replicate, Stability AI, Together AI, Voyage AI

tokenhound providers lists every provider and detector in your binary. Missing one? Add it in 10 minutes.

How it is different
TokenHoundGeneral secret scanners
Reads coding agent files and transcripts on your machineBuilt inPoint them at the paths yourself
Live or dead checkRead-only call per keyVaries by tool and detector
Dollars at risk per day and an A to F gradeYesNo
Blocks live and high-confidence keys in agent tool calls before they runClaude Code hookNot built in
Fix plan with revoke, replace, purge and usage-check stepsYesNo

TokenHound is focused on AI provider keys

冒頭だけを表示しています。続きはリポジトリで読めます