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

Treasure Map

作者:JoeyZzZzZzバージョン 0.2.1i★ 40iパソコンで動く公式サイト ↗

インストール方法

できること

Firmware attack-surface map and patch diff for AI agents. Requires tmap init (Ghidra toolchain).

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ 旅行・地図・天気

この順位の理由

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

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

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

インストール

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

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

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

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

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

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

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

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

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

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

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

このパソコンの Claude に MCP server Treasure Map を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "treasure-map": { "command": "uvx", "args": [ "tmap-agents", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Treasure Map のツールが本当に表示されるか確認する。

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

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

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

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

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

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

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

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

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

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

    SettingsDeveloperEdit Config

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

    {
      "mcpServers": {
        "treasure-map": {
          "command": "uvx",
          "args": [
            "tmap-agents",
            "mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

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

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

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

ChatGPT はまだ Treasure Map につなげません

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

代わりにできること

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

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

B · 旅行・地図・天気 の中で ChatGPT につなげる別のサーバー

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

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

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

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

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

このパソコンの Claude Code に MCP server Treasure Map を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user treasure-map -- uvx tmap-agents mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Treasure Map のツールが本当に表示されるか確認する。

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

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

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

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

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

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

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

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

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

  2. ターミナルを開く

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

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

    claude mcp add --scope user treasure-map -- uvx tmap-agents mcp
  4. Claude Code で /mcp と入力

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

  5. 試してみる

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

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

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

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

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

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

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

このパソコンの Cursor に MCP server Treasure Map を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "treasure-map": { "command": "uvx", "args": [ "tmap-agents", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Treasure Map のツールが本当に表示されるか確認する。

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

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

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

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

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

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

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

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

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

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

    Cursor で開く

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

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

  4. 試してみる

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

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

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

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

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

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

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

このパソコンの VS Code に MCP server Treasure Map を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "treasure-map": { "type": "stdio", "command": "uvx", "args": [ "tmap-agents", "mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Treasure Map のツールが本当に表示されるか確認する。

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

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

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

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

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

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

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

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

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

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

    VS Code で開く

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

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

  4. 試してみる

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

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

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

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

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

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

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

パソコンにインストール

Claude Code

claude mcp add --scope user treasure-map -- uvx tmap-agents mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "treasure-map": {
      "command": "uvx",
      "args": [
        "tmap-agents",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "treasure-map": {
      "command": "uvx",
      "args": [
        "tmap-agents",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "treasure-map": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tmap-agents",
        "mcp"
      ]
    }
  }
}

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

ひと目でわかる

レジストリ名
io.github.JoeyZzZzZz/treasure-map
週あたりのダウンロードi
137/週
接続方法
パソコンで動く
最新バージョンi
0.2.1
レジストリ公開日i
2026年11月24日
コードの最終更新i
2026年11月26日
作者
JoeyZzZzZz
パッケージ
pypi: tmap-agents
ウェブサイト
tmap.tools
レジストリでの状態
有効

使えるアプリ

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

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

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

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • ✓ 合格

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

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

OSV.dev に tmap-agents@0.2.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月24日

確認していること → · JSON

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

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

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

話し合い

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

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

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

ログインして投稿

ユーザーレビュー

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

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

旅行・地図・天気のほかのサーバーとの比較i

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

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

よくある質問

Treasure Mapは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Mu, Award Travel Finder, Killbottleneck, Gondola: Travel for AI Agents, Whimsical

似た働きのほかの候補

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

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

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

作者:micro成長中★ 4424 か月前更新

すぐ接続できる(URL あり)ツール 173 個 · 重め✓ micro.mu

Whimsical

Create and edit flowcharts, mind maps, wireframes, and docs in Whimsical, or search your workspace.

作者:WhimsicalCode初期★ 113 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · whimsical.com
似たものと比べる
これ
Treasure Map
MuAward Travel FinderKillbottleneckGondola: Travel for AI AgentsWhimsical
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえはいいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえはい
基本チェック3/34/43/33/34/44/4
ライセンスApache-2.0AGPL-3.0MITMITMITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

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

Treasure Map: A firmware map for your AI agent

English | 中文

Treasure Map draws the map; your agent finds the treasure.

Quick start · Website · Showcase · Blog

Treasure Map runs a full static analysis of an unpacked firmware and finds four kinds of dangerous call sites: command execution, memory copies, format strings and file paths. For each call site it records facts such as where the arguments come from, how controllable they are and how the call is reached, and it marks explicitly what it could not determine. Given two firmware versions, it produces a function-level patch diff.

Your agent queries these facts over MCP and decides its own path through the analysis. The tool runs no model, needs no API key and gives no vulnerability verdicts: the tool supplies the facts, and the model makes the judgment.

Why an agent needs a map

Agents read a single function well. Given a whole root filesystem (a hundred binaries, tens of thousands of functions), they tend to stop after the first few candidates and report "nothing found" for code they never read.

Some questions can't be answered by looking at one binary:

  • Who writes the value? A setting one program reads, such as an nvram key, is often written by another program. The map lists which programs write and read each nvram key, and whether it can be set from the web interface.
  • Who starts the program? Web servers hand work to helper programs, and init scripts decide which daemons run. The map records which binaries and scripts launch each program, with symlinks such as /bin/sh → busybox resolved.
  • What hasn't been read? Progress is counted against every candidate in the firmware, and each function or binary that could not be fully analyzed is named, so "nothing found" and "never read" stay apart.
  • What did the update change? Given two firmware versions, the map finds every binary and file that changed, scripts, configs and web pages included, and the binaries that exist in only one version. A patch spread across several files is seen in full.

The agent does the reading and judging. Treasure Map tracks what has been read and judged, and the conclusions carry over to the next session.

What it does

Map one firmware

tmap scan decompiles every binary with Ghidra and marks each of those calls. Every candidate gets the same layers: where its data comes from, how much of it an attacker controls, who wrote the value, how the call is reached, whether anything filters it, and whether the function was fully analyzed. Each layer is YES, NO or UNKNOWN, and an UNKNOWN says what is missing and why.

There is no score. By default, the highest-impact calls that nothing has proven safe come first. Your agent can sort or filter by any layer; the candidate set stays the same. Only a fact proving a call safe can move it down. An UNKNOWN never does.

Command-execution, buffer-copy and format-string calls include in-function argument provenance. Path and file calls are detected and ranked, but their controllability comes from a text-level reading and is labeled that way.

Diff two versions

tmap diff compares, in parallel, every binary whose content changed between the two versions. Ghidra, BinExport and BinDiff run automatically from start to finish, you never touch an intermediate file, and the result is a function-level patch diff. Changed function pairs are grouped by what changed around those calls, so your agent reads the few changes that matter instead of thousands of functions. For each one it answers: is this a security fix, which weakness in the old version does it close, is the fix complete, and does the same call remain elsewhere?

  • BinDiff can report similarity=1.0 when a buffer length changed from 0x40 to 0x3f. Treasure Map also compares address-normalized pseudocode and flags changed length constants at copy and format calls.
  • The server picks the must-read changes, hands them out in work units and counts how many have been judged. An unread change is reported as unread, not as "nothing found", and the review is not complete until every must-read item is judged.
  • Scripts and config files are compared by path, and each one can be judged.
Keep the agent's conclusions

Judgments are stored in an annotation layer on top of the read-only facts, so an audit can continue across sessions, models and agents. When the facts under a judgment change, the judgment is flagged for review.

Case studies

CVE-2021-26614 was "fixed". The backdoor code never left.

In 2021 ipTIME patched CVE-2021-26614, a debug backdoor in its C200 IP camera (firmware 1.058 → 1.060). We gave that patch to DeepSeek-V4.1-Flash, a low-cost general-purpose model, along with Treasure Map and the diff prompt from Quick start. It judged every must-read item and found three changes that look like security fixes. None of them is complete:

  • The backdoor was unlinked, not removed. Its handler, hardcoded token and command execution are still in the latest firmware, 1.094 (June 2026).
  • The buffer got bigger, not safer. The copy into it still uses a length the client chooses.
  • Validation was added only in the browser. The server-side CGI is byte-identical in both versions.

4 of 110 binaries changed · 144 of 144 must-read items judged · US$0.5–1 per run

Read the full case study →

Quick start

Developer preview. Commands, config, the atlas database and MCP tool fields may change

incompatibly between versions. See Upgrading.

1. Install. This installs tmap and then runs tmap init, which sets up the toolchain, registers the MCP server with the agents you choose, and installs the diff-review skill for agents that read skills. Restart your agent when it finishes.

curl -LsSf https://github.com/JoeyZzZzZz/treasure-map/releases/latest/download/install.sh | sh

2. Map a firmware. The input is an *already-extracted* filesystem; unpack the image with any tool, or have your agent do it. -w gives it a name.

tmap scan ./firmware.extracted -w my-fw

Then ask your agent:

Audit firmware my-fw with Treasure Map.

End with the candidates worth following up, each with its evidence_ref and why.

3. Diff two versions.

tmap scan ./fw_v1.extracted -w fw-v1

tmap scan ./fw_v2.extracted -w fw-v2 tmap diff --before fw-v1 --after fw-v2

Then ask your agent:

Review the firmware diff fw-v1 → fw-v2 with Treasure Map:

find the security fixes, judge whether each one is complete, and check whether the new code adds attack surface.

The prompts only say what you want. The MCP server's instructions and the diff-review skill tell the agent how to work: what to read, how to record each judgment, and when the review may stop. A firmware pair often takes more than one agent session; a new session picks up where the last one stopped.

scan is the slow step: one Ghidra pass per binary, with progress shown. Re-run with the same -w to resume. Everything you scan and diff goes into one atlas (~/.treasure-map/atlas.db), and your agent chooses which firmware or diff to work on.

Day to day

CommandWhat it does
tmap scan DIR -w NAMEMap one extracted firmware (run again to resume)
tmap diff --before A --after BDiff two scanned versions (--binary NAME for one binary)
tmap runsList scans and diffs, show which are out of date, and delete them (--delete)
tmap rescan [NAME ...]Re-scan runs left out of date by an upgrade (--dry-run lists them)
tmap doctorCheck the toolchain, config and agent registrations (changes nothing)
tmap updateInstall the newest version, then run its tmap init
tmap uninstallRemove what tmap init installed; your data stays

Install details

Platforms
PlatformStatus
Linux x86_64, including WSL2✅ Supported
macOS on Apple Silicon✅ Supported
macOS on Intel❔ Same toolchain, not acceptance-tested
Linux arm64, native Windows❌ Not supported: no Ghidra decompiler or BinDiff build. On Windows, use WSL2
Toolchain

tmap init installs these into ~/.treasure-map/toolchain/, or reuses your own copies if they pass its checks.

ToolUsed for
JDK 21Running Ghidra. It must be a JDK, not a JRE; Ghidra 11.4.3 fails to launch on JDK 11/17
Ghidra 11.4.3Decompiling every binary, headless
BinExport (for Ghidra 11.4.3)Exporting binaries for tmap diff
BinDiff 8Matching functions between two versions
Setup
  • Downloads come from pinned URLs and are checked against a pinned size and sha256 before anything is unpacked.
  • tmap init shows what it found and what it will download, and changes nothing until you confirm. --dry-run only prints the plan.

Connect your agent

tmap init registers the MCP server with the agents you choose (Claude Code, Codex, Cursor, Claude Desktop, dsh; the ones it detects are pre-selected) and installs the diff-review skill for agents that load skills from disk. Restart the agent afterwards.

Claude Desktop only accepts skills as uploads: save the output of tmap review skill as tmap-diff-review/SKILL.md, zip the folder, and upload it under Customize > Skills (code execution must be on).

Registering the MCP server by hand

The command is always mcp (command -v tmap prints the path).

AgentRegister
Claude Codeclaude mcp add -s user treasure-map -- "$(command -v tmap)" mcp
Codexcodex mcp add treasure-map -- "$(command -v tmap)" mcp
dshtmap init --client dsh adds the entry to $DSH_HOME/cordis.patch.yml (default ~/.dsh), the layer every profile reads
Cursor / Claude Desktop / other JSON clientsadd the block below to the client's MCP config file
{

"mcpServers": { "treasure-map": { "command": "/absolute/path/to/tmap", "args": ["mcp"] } } }

Config files: Cursor ~/.cursor/mcp.json; Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json (macOS); Windsurf ~/.codeium/windsurf/mcp_config.json; Gemini CLI ~/.gemini/settings.json. With Claude Code, use -s user: a project-local entry with the same name over

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