tmap-agents 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tmap_agents-0.1.0.dist-info/METADATA +356 -0
- tmap_agents-0.1.0.dist-info/RECORD +137 -0
- tmap_agents-0.1.0.dist-info/WHEEL +5 -0
- tmap_agents-0.1.0.dist-info/entry_points.txt +2 -0
- tmap_agents-0.1.0.dist-info/licenses/LICENSE +202 -0
- tmap_agents-0.1.0.dist-info/licenses/NOTICE +22 -0
- tmap_agents-0.1.0.dist-info/top_level.txt +1 -0
- treasure_map/__init__.py +6 -0
- treasure_map/_build_info.py +1 -0
- treasure_map/cli/__init__.py +2 -0
- treasure_map/cli/analyze_cli.py +249 -0
- treasure_map/cli/doctor_cli.py +18 -0
- treasure_map/cli/exploit_cli.py +133 -0
- treasure_map/cli/hunt_cli.py +2709 -0
- treasure_map/cli/init_cli.py +260 -0
- treasure_map/cli/interrupts.py +87 -0
- treasure_map/cli/main.py +156 -0
- treasure_map/cli/mcp_cli.py +242 -0
- treasure_map/cli/uninstall_cli.py +139 -0
- treasure_map/cli/update_cli.py +91 -0
- treasure_map/lib/__init__.py +0 -0
- treasure_map/lib/analyze/__init__.py +0 -0
- treasure_map/lib/analyze/db_ingest.py +305 -0
- treasure_map/lib/analyze/elf_exports.py +73 -0
- treasure_map/lib/analyze/elf_inventory.py +226 -0
- treasure_map/lib/analyze/fs_names.py +21 -0
- treasure_map/lib/analyze/ghidra/ExportFunctions.java +2908 -0
- treasure_map/lib/analyze/ghidra/extractor_names.tsv +122 -0
- treasure_map/lib/analyze/ghidra_ingest.py +628 -0
- treasure_map/lib/analyze/ghidra_runner.py +1005 -0
- treasure_map/lib/analyze/non_binary/__init__.py +49 -0
- treasure_map/lib/analyze/non_binary/config_file.py +137 -0
- treasure_map/lib/analyze/non_binary/credential.py +191 -0
- treasure_map/lib/analyze/non_binary/framework.py +46 -0
- treasure_map/lib/analyze/non_binary/orchestrator.py +188 -0
- treasure_map/lib/analyze/non_binary/shell_script.py +143 -0
- treasure_map/lib/analyze/non_binary/web_asset.py +223 -0
- treasure_map/lib/analyze/pipeline.py +289 -0
- treasure_map/lib/analyze/stub_resolve.py +287 -0
- treasure_map/lib/analyze/symlinks.py +226 -0
- treasure_map/lib/analyze/xrefs.py +648 -0
- treasure_map/lib/atlas/__init__.py +40 -0
- treasure_map/lib/atlas/connection.py +471 -0
- treasure_map/lib/atlas/models.py +508 -0
- treasure_map/lib/atlas/writer.py +1132 -0
- treasure_map/lib/audit/__init__.py +0 -0
- treasure_map/lib/binary_id.py +124 -0
- treasure_map/lib/callsite_ref.py +93 -0
- treasure_map/lib/config/__init__.py +21 -0
- treasure_map/lib/config/config.py +260 -0
- treasure_map/lib/diff/__init__.py +14 -0
- treasure_map/lib/diff/binexport2.py +175 -0
- treasure_map/lib/diff/callsite_facts.py +341 -0
- treasure_map/lib/diff/code_version.py +234 -0
- treasure_map/lib/diff/currency.py +244 -0
- treasure_map/lib/diff/driver.py +2044 -0
- treasure_map/lib/diff/export_report.py +141 -0
- treasure_map/lib/diff/ghidra/ExportBinExport.java +237 -0
- treasure_map/lib/diff/ghidra/FallbackBinExport2Builder.java +1305 -0
- treasure_map/lib/diff/layer0.py +735 -0
- treasure_map/lib/diff/layer2.py +709 -0
- treasure_map/lib/diff/loader.py +90 -0
- treasure_map/lib/diff/toolchain.py +228 -0
- treasure_map/lib/errors.py +23 -0
- treasure_map/lib/facts.py +1659 -0
- treasure_map/lib/fmt_spec.py +88 -0
- treasure_map/lib/hunt/__init__.py +19 -0
- treasure_map/lib/hunt/analyzer2.py +2027 -0
- treasure_map/lib/hunt/bridge.py +191 -0
- treasure_map/lib/hunt/downweight.py +461 -0
- treasure_map/lib/hunt/evidence.py +592 -0
- treasure_map/lib/hunt/exec_edges.py +714 -0
- treasure_map/lib/hunt/facts.py +257 -0
- treasure_map/lib/hunt/fmt_provenance.py +191 -0
- treasure_map/lib/hunt/refs.py +166 -0
- treasure_map/lib/hunt/wrapper_propagation.py +203 -0
- treasure_map/lib/last_run.py +77 -0
- treasure_map/lib/machine.py +227 -0
- treasure_map/lib/notice.py +20 -0
- treasure_map/lib/overlay.py +868 -0
- treasure_map/lib/pattern/__init__.py +16 -0
- treasure_map/lib/pattern/classes.py +638 -0
- treasure_map/lib/pattern/extractor_names.py +225 -0
- treasure_map/lib/pattern/fingerprint.py +31 -0
- treasure_map/lib/pattern/models.py +93 -0
- treasure_map/lib/pattern/scanner.py +189 -0
- treasure_map/lib/pattern/shapes.py +449 -0
- treasure_map/lib/query/__init__.py +128 -0
- treasure_map/lib/query/coverage.py +269 -0
- treasure_map/lib/query/diff_align.py +1107 -0
- treasure_map/lib/query/diff_annotations.py +462 -0
- treasure_map/lib/query/diff_review.py +546 -0
- treasure_map/lib/query/exec_edges.py +263 -0
- treasure_map/lib/query/exploit_ledger.py +77 -0
- treasure_map/lib/query/nvram.py +507 -0
- treasure_map/lib/query/overlay_view.py +86 -0
- treasure_map/lib/query/patch_view.py +2525 -0
- treasure_map/lib/query/runs.py +235 -0
- treasure_map/lib/query/sameness.py +749 -0
- treasure_map/lib/query/sink_impact.py +127 -0
- treasure_map/lib/query/sink_overlay.py +1716 -0
- treasure_map/lib/query/string_edges.py +200 -0
- treasure_map/lib/query/triage.py +3432 -0
- treasure_map/lib/query/views.py +98 -0
- treasure_map/lib/reachability/__init__.py +16 -0
- treasure_map/lib/reachability/copy_size.py +412 -0
- treasure_map/lib/reachability/filters.py +101 -0
- treasure_map/lib/reachability/grader.py +290 -0
- treasure_map/lib/reachability/models.py +35 -0
- treasure_map/lib/reachability/taint.py +346 -0
- treasure_map/lib/ro_db.py +27 -0
- treasure_map/lib/setup/__init__.py +10 -0
- treasure_map/lib/setup/clients.py +805 -0
- treasure_map/lib/setup/completion.py +357 -0
- treasure_map/lib/setup/discover.py +558 -0
- treasure_map/lib/setup/doctor.py +506 -0
- treasure_map/lib/setup/fetch.py +606 -0
- treasure_map/lib/setup/initializer.py +1186 -0
- treasure_map/lib/setup/ledger.py +154 -0
- treasure_map/lib/setup/plan.py +325 -0
- treasure_map/lib/setup/platform.py +178 -0
- treasure_map/lib/setup/selector.py +190 -0
- treasure_map/lib/setup/tmap_files.py +41 -0
- treasure_map/lib/setup/toolchain_env.py +55 -0
- treasure_map/lib/setup/toolchain_lock.json +82 -0
- treasure_map/lib/setup/toolchain_lock.py +161 -0
- treasure_map/lib/setup/uninstall.py +458 -0
- treasure_map/lib/setup/update.py +200 -0
- treasure_map/lib/storage/__init__.py +5 -0
- treasure_map/lib/storage/atlas_schema.sql +861 -0
- treasure_map/lib/storage/connection.py +158 -0
- treasure_map/lib/storage/schema.sql +458 -0
- treasure_map/lib/workspace/__init__.py +5 -0
- treasure_map/lib/workspace/resolver.py +102 -0
- treasure_map/lib/workspace/workspace.py +83 -0
- treasure_map/mcp_app.py +3032 -0
- treasure_map/version.py +79 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tmap-agents
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A firmware map for your AI agent. Treasure Map draws the map; your agent finds the treasure.
|
|
5
|
+
Author-email: JoeyZzZzZz <86097996+JoeyZzZzZz@users.noreply.github.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/JoeyZzZzZz/treasure-map
|
|
8
|
+
Project-URL: Repository, https://github.com/JoeyZzZzZz/treasure-map
|
|
9
|
+
Project-URL: Changelog, https://github.com/JoeyZzZzZz/treasure-map/blob/main/CHANGELOG.md
|
|
10
|
+
Keywords: iot,firmware,security,reverse-engineering,patch-diff
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Topic :: Security
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
License-File: NOTICE
|
|
19
|
+
Requires-Dist: pyelftools>=0.31
|
|
20
|
+
Requires-Dist: pydantic>=2.11
|
|
21
|
+
Requires-Dist: pyyaml>=6.0
|
|
22
|
+
Requires-Dist: click>=8.2
|
|
23
|
+
Requires-Dist: mcp<2,>=1.21.2
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
26
|
+
Requires-Dist: pytest-cov>=4.1; extra == "dev"
|
|
27
|
+
Requires-Dist: ruff==0.16.0; extra == "dev"
|
|
28
|
+
Requires-Dist: mypy<2.0,>=1.10; extra == "dev"
|
|
29
|
+
Requires-Dist: types-PyYAML>=6.0; extra == "dev"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# Treasure Map
|
|
33
|
+
|
|
34
|
+
[English](README.md) | [中文](README.zh.md)
|
|
35
|
+
|
|
36
|
+
**A firmware map for your AI agent. Treasure Map draws the map; your agent finds the treasure.**
|
|
37
|
+
|
|
38
|
+
Treasure Map turns an unpacked firmware filesystem into facts your coding agent (Claude Code, Codex,
|
|
39
|
+
Cursor and others) reads through a bundled MCP server: every dangerous call it recognizes, where the
|
|
40
|
+
data reaching it comes from, and — just as important — what it could not determine. Every fact points
|
|
41
|
+
at an exact binary, function and address. It has no agent of its own and runs no model; deciding which
|
|
42
|
+
lead is a real bug is your agent's job. **Facts are the tool's job; reasoning is the model's.**
|
|
43
|
+
|
|
44
|
+
It does two things:
|
|
45
|
+
|
|
46
|
+
- **Map one firmware.** Every place the compiled code runs a shell command, copies into a memory
|
|
47
|
+
buffer, formats a string or opens a file by path — each marked with what is known, what is not, and
|
|
48
|
+
why. Your agent picks the views it needs, reads the code, and records its verdicts.
|
|
49
|
+
- **Diff two versions.** Every function that changed between two releases, grouped by what happened
|
|
50
|
+
around its dangerous calls. Instead of thousands of functions, your agent reviews the few that
|
|
51
|
+
changed: is this a security fix, and which 1-day does it close in the old version? Is the fix
|
|
52
|
+
complete, or does the same call survive somewhere else? Can the new check be bypassed?
|
|
53
|
+
|
|
54
|
+
> **Developer preview.** Commands, config, the atlas database and MCP tool fields may change
|
|
55
|
+
> incompatibly between versions. After upgrading, see [Upgrading](#upgrading).
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Quick start
|
|
60
|
+
|
|
61
|
+
**1. Install.** One command installs `tmap` and then runs `tmap init`, which sets up the toolchain
|
|
62
|
+
(JDK 21, Ghidra 11.4.3, BinExport, BinDiff 8 — reusing what you already have) and registers the MCP
|
|
63
|
+
server with the agents you pick. No API key is needed. Restart your agent when it finishes.
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
curl -LsSf https://github.com/JoeyZzZzZz/treasure-map/releases/latest/download/install.sh | sh
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**2. Map a firmware.** The input is an *already-extracted* filesystem — unpack the image first with
|
|
70
|
+
any extraction tool you like.
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
tmap scan ./firmware.extracted -w my-fw
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Then ask your agent:
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
Audit firmware my-fw using treasure-map.
|
|
80
|
+
Choose for yourself which views of its candidate map to review
|
|
81
|
+
(by sink, by data source, or by any other layer) and find the issues in them:
|
|
82
|
+
open a lead's pseudocode, trace where its input comes from, and judge it yourself.
|
|
83
|
+
The candidates are leads to verify, not confirmed bugs.
|
|
84
|
+
Record each conclusion with annotate so the next session starts from it.
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**3. Or diff two versions.**
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
tmap scan ./fw_v1.extracted -w fw-v1
|
|
91
|
+
tmap scan ./fw_v2.extracted -w fw-v2
|
|
92
|
+
tmap diff --before fw-v1 --after fw-v2
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
Review the diff fw-v1 → fw-v2 using treasure-map.
|
|
97
|
+
Start from the function patch view (get_diff_patch_view):
|
|
98
|
+
for each changed function, compare the pseudocode of both versions
|
|
99
|
+
and decide whether the change does something real, such as a new check or a changed bound.
|
|
100
|
+
Record each judgement with annotate_diff.
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
That is all you run by hand. `scan` is the slow part — one Ghidra pass per binary, with progress shown.
|
|
104
|
+
Re-running with the same `-w` resumes where it stopped; a different `-w` keeps another firmware
|
|
105
|
+
alongside. Everything you scan and diff accumulates in one **atlas** (`~/.treasure-map/atlas.db`),
|
|
106
|
+
and the agent picks which firmware or diff to work on — no reconfiguration per scan.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## What your agent gets
|
|
111
|
+
|
|
112
|
+
### The firmware map
|
|
113
|
+
|
|
114
|
+
Each candidate is one point on the map, annotated on several equal layers: where the data comes
|
|
115
|
+
from, how much of it an attacker controls, who wrote the value, how the spot is reached, whether
|
|
116
|
+
anything filters it on the way, and whether the function was fully analyzed. Each layer reads
|
|
117
|
+
**YES**, **NO** or an explicit **UNKNOWN** that says what is missing and why.
|
|
118
|
+
|
|
119
|
+
There is no score. The default view puts the highest-impact calls that nothing has proven safe first;
|
|
120
|
+
your agent can re-sort or filter by any layer. Re-sorting changes the order, never the set of
|
|
121
|
+
candidates. In every view, only a *proven-safe* fact can push a candidate down; an UNKNOWN never can.
|
|
122
|
+
|
|
123
|
+
Command-execution, buffer-copy and format-string calls come with in-function argument provenance.
|
|
124
|
+
Path and file calls are covered for detection and ranking; their controllability comes from a
|
|
125
|
+
text-level reading, and is marked as such.
|
|
126
|
+
|
|
127
|
+
### The patch diff
|
|
128
|
+
|
|
129
|
+
`tmap diff` compares every binary whose content changed, in parallel, running Ghidra, BinExport and
|
|
130
|
+
BinDiff end to end — you never handle an intermediate file. (`--binary NAME` limits it to one.)
|
|
131
|
+
|
|
132
|
+
- **A function-level patch view.** One entry per changed function pair, grouped by what happened
|
|
133
|
+
around its dangerous calls: a call that now goes somewhere else, a dangerous call that is still
|
|
134
|
+
there, a reading that could not be decided. An optional ordering puts the entries most likely to
|
|
135
|
+
matter first.
|
|
136
|
+
- **What a similarity score misses.** BinDiff's similarity ignores constants: a function can read
|
|
137
|
+
`similarity=1.0` while a buffer length went from `0x40` to `0x3f`. tmap adds an
|
|
138
|
+
address-normalized pseudocode comparison (truly identical, or only similar) and flags a changed
|
|
139
|
+
length constant at a copy or format call.
|
|
140
|
+
- **Blind spots stated, not hidden.** A binary that could not be diffed is listed as such, never
|
|
141
|
+
counted as unchanged. A function with no counterpart is *undetermined* — it may have been inlined
|
|
142
|
+
or moved — never reported as removed or added.
|
|
143
|
+
- **Judgments that stay.** Your agent records on each entry whether the change does something real,
|
|
144
|
+
and can carry that judgment over to the affected candidate in the firmware map.
|
|
145
|
+
|
|
146
|
+
If the stored scans or diffs were made by an older tmap, `tmap diff` brings them up to date first and
|
|
147
|
+
says what that involves before it starts.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Why facts, not verdicts
|
|
152
|
+
|
|
153
|
+
A scanner hands you findings and a severity score — a verdict you then have to trust or re-check. A
|
|
154
|
+
modern agent already reads and reasons about one function well. What it cannot do is cover a whole
|
|
155
|
+
root filesystem, or every changed binary between two releases, the same way twice — or say where it
|
|
156
|
+
did not look. That is the half Treasure Map does.
|
|
157
|
+
|
|
158
|
+
- **UNKNOWN is never "safe".** A fact it could not establish stays UNKNOWN; a binary the diff could
|
|
159
|
+
not analyze never reads as unchanged.
|
|
160
|
+
- **Leads, not verdicts.** A candidate is a lead to verify, not a confirmed vulnerability; a changed
|
|
161
|
+
function is a change to review, not a confirmed fix. Reachability is graded one function at a time
|
|
162
|
+
— this is **not** a taint-propagation engine, and it never claims a path is unreachable.
|
|
163
|
+
- **Judgments that accumulate.** Your agent's conclusions live in an annotation layer over the
|
|
164
|
+
read-only facts, so a multi-session audit picks up where it left off — with any model or agent. A
|
|
165
|
+
judgment is flagged for review again the moment the facts under it change.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Install details
|
|
170
|
+
|
|
171
|
+
`tmap init` installs the toolchain for you, or reuses what you already have if it passes the checks:
|
|
172
|
+
|
|
173
|
+
| Tool | Version | Used for |
|
|
174
|
+
|---|---|---|
|
|
175
|
+
| **JDK** | 21 (a JDK, not a JRE) | running Ghidra (JDK 11/17 make Ghidra 11.4.3 fail to launch) |
|
|
176
|
+
| **Ghidra** | 11.4.3 | decompiling every binary, headless |
|
|
177
|
+
| **BinExport** | for Ghidra 11.4.3 | exporting binaries for `tmap diff` |
|
|
178
|
+
| **BinDiff** | 8 | matching functions between two versions |
|
|
179
|
+
|
|
180
|
+
Downloads come from pinned URLs and are checked against a pinned size and sha256 before anything is
|
|
181
|
+
unpacked; they go to `~/.treasure-map/toolchain/`.
|
|
182
|
+
|
|
183
|
+
| Platform | Status |
|
|
184
|
+
|---|---|
|
|
185
|
+
| Linux x86_64 (including WSL2) | supported |
|
|
186
|
+
| macOS on Apple Silicon | supported |
|
|
187
|
+
| macOS on Intel | runs the same toolchain; not acceptance-tested |
|
|
188
|
+
| Linux arm64, native Windows | not supported (no Ghidra decompiler / BinDiff build) — on Windows use WSL2 |
|
|
189
|
+
|
|
190
|
+
`tmap init`, step by step:
|
|
191
|
+
|
|
192
|
+
1. **finds** an existing JDK 21, Ghidra 11.4.3, BinExport and BinDiff 8 (config, `GHIDRA_HOME`,
|
|
193
|
+
`JAVA_HOME`, PATH, common install locations) and checks each at file level;
|
|
194
|
+
2. **asks** for a path, or offers the pinned download, for anything missing;
|
|
195
|
+
3. **lists your agents** (Claude Code, Codex, Cursor, Claude Desktop, dsh), pre-selecting those
|
|
196
|
+
installed here — Space to unselect, Enter to confirm;
|
|
197
|
+
4. **shows the plan** (every download with URL, size and sha256; every file it will change) and asks
|
|
198
|
+
`Apply N changes? [Y/n]`;
|
|
199
|
+
5. **applies** it, runs the **doctor**, and prints the two prompts shown in [Quick start](#quick-start).
|
|
200
|
+
|
|
201
|
+
Run it again any time; an up-to-date setup reports "everything current, nothing to do".
|
|
202
|
+
|
|
203
|
+
<details>
|
|
204
|
+
<summary>Flags and other ways to install</summary>
|
|
205
|
+
|
|
206
|
+
- `install.sh --dry-run` prints the plan and changes nothing. The script installs
|
|
207
|
+
[uv](https://docs.astral.sh/uv/) if it is missing (without editing your shell rc), then `tmap`
|
|
208
|
+
(PyPI package `tmap-agents`) with a uv-managed Python 3.11.
|
|
209
|
+
- Already have uv: `uv tool install --python 3.11 tmap-agents`, then `tmap init`.
|
|
210
|
+
- `tmap init` flags: `--dry-run` (plan only), `--yes` (no questions, downloads included; registers
|
|
211
|
+
only the agents named with `--client`), `--non-interactive` (no questions, no downloads),
|
|
212
|
+
`--ghidra / --java-home / --bindiff PATH` (use exactly this), `--offline DIR` / `--mirror URL`
|
|
213
|
+
(archives from elsewhere, same checksums).
|
|
214
|
+
- `tmap doctor` re-runs the checks and writes nothing.
|
|
215
|
+
|
|
216
|
+
</details>
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Connect your agent
|
|
221
|
+
|
|
222
|
+
`tmap init` registers the MCP server for you; restart the agent afterwards.
|
|
223
|
+
|
|
224
|
+
### Registering by hand
|
|
225
|
+
|
|
226
|
+
The command is always `<absolute path of tmap> mcp` (`command -v tmap` prints the path).
|
|
227
|
+
|
|
228
|
+
| Agent | Register |
|
|
229
|
+
|---|---|
|
|
230
|
+
| **Claude Code** | `claude mcp add -s user treasure-map -- "$(command -v tmap)" mcp` |
|
|
231
|
+
| **Codex** | `codex mcp add treasure-map -- "$(command -v tmap)" mcp` |
|
|
232
|
+
| **Cursor / Claude Desktop / other JSON clients** | add the block below to the client's MCP config file |
|
|
233
|
+
| **dsh** | `tmap init --client dsh` adds the entry to `$DSH_HOME/cordis.patch.yml` (default `~/.dsh`), the layer every profile reads |
|
|
234
|
+
|
|
235
|
+
```json
|
|
236
|
+
{
|
|
237
|
+
"mcpServers": {
|
|
238
|
+
"treasure-map": {
|
|
239
|
+
"command": "/absolute/path/to/tmap",
|
|
240
|
+
"args": ["mcp"]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
Config files: Cursor `~/.cursor/mcp.json`; Claude Desktop
|
|
247
|
+
`~/Library/Application Support/Claude/claude_desktop_config.json` (macOS); Windsurf
|
|
248
|
+
`~/.codeium/windsurf/mcp_config.json`; Gemini CLI `~/.gemini/settings.json`. With Claude Code use
|
|
249
|
+
`-s user`: a project-local entry of the same name hides it inside that project (`tmap doctor` points
|
|
250
|
+
such entries out).
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Upgrading
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
tmap update # install the newest tmap
|
|
258
|
+
tmap rescan # re-scan every run an older tmap made
|
|
259
|
+
tmap diff --before fw-v1 --after fw-v2 # re-runs the diffs that are out of date
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
`tmap update` checks PyPI for the newest version, shows its plan and asks once (`--check` only
|
|
263
|
+
reports, `--yes` skips the question). It replaces the installed version, names any other `tmap` on
|
|
264
|
+
PATH that would shadow the new one, and then starts the new version's `tmap init` by itself — you do not type it. That init also
|
|
265
|
+
tells you how many of your runs predate the new version. A diff made by an older tmap, or with
|
|
266
|
+
another toolchain, is recomputed once.
|
|
267
|
+
|
|
268
|
+
With no arguments, `tmap rescan` re-scans every run an older tmap made. To rescan a single firmware,
|
|
269
|
+
name its run — the `-w` name you scanned it with, unless you set `--run-id` — for example
|
|
270
|
+
`tmap rescan fw-v1`. `--dry-run` lists what would be rescanned and why, without running anything.
|
|
271
|
+
|
|
272
|
+
`tmap update` works on the install the one-line installer makes (`uv tool`). Installed another way,
|
|
273
|
+
update it the same way you installed it.
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## Troubleshooting
|
|
278
|
+
|
|
279
|
+
Run `tmap doctor` first. Each check shows ✅, ⚠ (works, worth knowing), `·` (information), ❌, or `?`
|
|
280
|
+
(could not be determined — never shown as ✅); it exits non-zero on any ❌ or `?`.
|
|
281
|
+
|
|
282
|
+
- **`tmap: command not found`** — the tool's bin directory is not on PATH. Run
|
|
283
|
+
`uv tool update-shell`, then open a new shell.
|
|
284
|
+
- **`ghidra` / `java` / `bindiff` ❌** — run `tmap init` again for the pinned download, or pass
|
|
285
|
+
`--ghidra / --java-home / --bindiff PATH`. On WSL keep everything on the Linux side, not under
|
|
286
|
+
`/mnt/c/...`.
|
|
287
|
+
- **`binexport` ❌ "two copies"** — Ghidra loads extensions from both its own `Ghidra/Extensions` and
|
|
288
|
+
its user settings directory; remove one of the two.
|
|
289
|
+
- **A binary is missing from a diff** — ask your agent for `list_diff_blindspots`, which names every
|
|
290
|
+
binary the diff could not analyze and why. After fixing a toolchain problem,
|
|
291
|
+
`tmap diff … --force-retry` tries them again.
|
|
292
|
+
- **Your own Ghidra 11.4.3 starts with an unexpected JDK** — Ghidra remembers the JDK it last ran with
|
|
293
|
+
(`java_home.save` in its settings directory), and tmap's runs record the JDK tmap uses there. Set
|
|
294
|
+
`JAVA_HOME` when you start Ghidra yourself.
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Uninstalling
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
tmap uninstall
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
It shows its plan, asks once, then removes the treasure-map entry from each agent, removes the
|
|
305
|
+
toolchain `tmap init` downloaded (never a JDK, Ghidra or BinDiff you installed yourself), and offers
|
|
306
|
+
to remove the program itself.
|
|
307
|
+
|
|
308
|
+
**Your data stays:** `~/.treasure-map/config.yaml`, `.env`, the **atlas** and the workspaces —
|
|
309
|
+
reinstalling reuses all of it. `tmap uninstall --purge-data` deletes them too, after you type a
|
|
310
|
+
confirmation phrase (not recoverable), but only what is provably tmap's: the atlas, what a scan
|
|
311
|
+
wrote in each workspace directory holding a tmap `analysis.db`, and the `config.yaml` / `.env` that
|
|
312
|
+
`tmap init` wrote. The workspace base itself stays (unless it is the default inside
|
|
313
|
+
`~/.treasure-map` and left empty), and nothing in it is deleted when it is your home directory or
|
|
314
|
+
above it. Anything else — a file you wrote yourself, in a workspace or beside one — is kept and
|
|
315
|
+
listed.
|
|
316
|
+
|
|
317
|
+
<details>
|
|
318
|
+
<summary>Details</summary>
|
|
319
|
+
|
|
320
|
+
- An agent entry named treasure-map that does not run tmap is left alone, and so is one inside a dsh
|
|
321
|
+
profile's own file.
|
|
322
|
+
- The program is removed with `uv tool uninstall tmap-agents` when it was installed with `uv tool`;
|
|
323
|
+
installed another way, `tmap uninstall` tells you to remove it the same way.
|
|
324
|
+
- `--dry-run` prints the plan and changes nothing; `--yes` skips the questions, but never the
|
|
325
|
+
confirmation phrase.
|
|
326
|
+
|
|
327
|
+
</details>
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## Intended use & legal
|
|
332
|
+
|
|
333
|
+
**Purpose.** Treasure Map supports defensive security auditing and vulnerability research on
|
|
334
|
+
firmware. It produces analysis leads; by design it does **not** generate proof-of-concept exploits,
|
|
335
|
+
payloads, shellcode, or other directly weaponizable output.
|
|
336
|
+
|
|
337
|
+
**Lawful use is yours to ensure.** Only analyze firmware you lawfully possess — a device you own, or
|
|
338
|
+
firmware made genuinely public by its vendor and obtained **without** bypassing any login, paywall
|
|
339
|
+
or access control. Even lawfully obtained firmware may carry license, terms-of-service or contractual
|
|
340
|
+
restrictions on reverse engineering; you are responsible for reviewing them.
|
|
341
|
+
|
|
342
|
+
**Findings are candidates, not verdicts.** Output requires independent human verification and is not
|
|
343
|
+
a confirmed vulnerability.
|
|
344
|
+
|
|
345
|
+
**No warranty.** The tool is provided "as is". You are solely responsible for how you use it and for
|
|
346
|
+
ensuring your activity is lawful in your jurisdiction. If unsure, consult qualified legal counsel.
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## Contributing
|
|
351
|
+
|
|
352
|
+
Issues and pull requests are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
353
|
+
|
|
354
|
+
## License
|
|
355
|
+
|
|
356
|
+
[Apache-2.0](LICENSE).
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
tmap_agents-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
2
|
+
tmap_agents-0.1.0.dist-info/licenses/NOTICE,sha256=0FtHnsvlSv6PuDEm0shVJ25NmEN1-5Fxtuko51MGNDI,961
|
|
3
|
+
treasure_map/__init__.py,sha256=jleTjOdpO5MJUJeUi-gL0q50jd7ZkqGagPKFgVLKNnU,143
|
|
4
|
+
treasure_map/_build_info.py,sha256=BT6qaiRyplbsJvFUsQRnEDFmN-hXuzlOGksAa4XBXXI,52
|
|
5
|
+
treasure_map/mcp_app.py,sha256=UaOv-aUTKSoj4XSdFevTHz754um6nfbcY7pt4yR7Cn4,174187
|
|
6
|
+
treasure_map/version.py,sha256=0ibbViCndUWyyo9C-6KCUB8EfT0WRL1Fm_XsLEF2D6k,3320
|
|
7
|
+
treasure_map/cli/__init__.py,sha256=i5gPzlDhVMuL2XXjkX-ToTMp9FZUTyAvf_atbyqlBuk,70
|
|
8
|
+
treasure_map/cli/analyze_cli.py,sha256=x8qhePEE5NPxfoUURiJ363LjSzGeXkLgY0onNHA9T0k,10848
|
|
9
|
+
treasure_map/cli/doctor_cli.py,sha256=k4iAowVGbvDUqeTzxh9WIUtWLvAbjkP34xWQSV-N_Ds,698
|
|
10
|
+
treasure_map/cli/exploit_cli.py,sha256=gxi-0hLuDBBQONCgWIqyJmhg26KmHdvwqvxAg8RxugQ,5558
|
|
11
|
+
treasure_map/cli/hunt_cli.py,sha256=aupUPevauVMe4XXnFRE3D6tWzKzIyT3NPRPDjhCQdM4,127283
|
|
12
|
+
treasure_map/cli/init_cli.py,sha256=neLcAo5s0Xwf3_yssadtfM6Qcw43hHbVi2yOFWnAPr8,10297
|
|
13
|
+
treasure_map/cli/interrupts.py,sha256=udXcL_vU6ZY419bSMNFrWorReLpP8GEIsXmo13PsLno,3426
|
|
14
|
+
treasure_map/cli/main.py,sha256=7oepuAtZVwRjGgRWZq9Dv8NIJCvp4uWC9Zuxc-KroQg,7029
|
|
15
|
+
treasure_map/cli/mcp_cli.py,sha256=iMw0M5YMY9LA4T-5Q5aowkmfYQ1k46B415PpVZg2CrA,10838
|
|
16
|
+
treasure_map/cli/uninstall_cli.py,sha256=RH9Sb0Q6w0ZJb_dmEYBfO0ssmEqek2Z1wZzsbEUSlJg,5780
|
|
17
|
+
treasure_map/cli/update_cli.py,sha256=CxXqlhkb46wby7nqZQsj1VchtvMjDDyATfpQ4_olpI0,3690
|
|
18
|
+
treasure_map/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
+
treasure_map/lib/binary_id.py,sha256=7SzsKVWJZhEOtobavOapoP3TO68yiB23XYy4yo1nhVo,5145
|
|
20
|
+
treasure_map/lib/callsite_ref.py,sha256=aBmZ84leMa4iaNscUxoa-M8ucRrgvhwU5iK8uACPV2g,4329
|
|
21
|
+
treasure_map/lib/errors.py,sha256=esh3kY9p6Ktn9lTN7g4Eqv5cf_Hy-RUBwiq6cghh4WY,571
|
|
22
|
+
treasure_map/lib/facts.py,sha256=isGe5GW44q-7yndyMpsZ6vZmjhR-U0pmdmzSTBDFsC4,79028
|
|
23
|
+
treasure_map/lib/fmt_spec.py,sha256=PfSzhkSwdxX7uUwaoQFmTMWLQZSk0EAPJeo74r_VxKg,3162
|
|
24
|
+
treasure_map/lib/last_run.py,sha256=x-AWaNZf4ds8RLEV1QCLjVY55nSCuinDadqD_H5j_Yw,2699
|
|
25
|
+
treasure_map/lib/machine.py,sha256=j7OTyY-Rpz5GqkjLo90CeTr1drgyA53VauWJ5k3WrXg,9017
|
|
26
|
+
treasure_map/lib/notice.py,sha256=SBmOwDvTLlNoq8mSBb2U5_Ww-h_dsHfc4vgyjdaKLDk,1016
|
|
27
|
+
treasure_map/lib/overlay.py,sha256=aeVFSuencje7RoU3rYy5OGI8fiIrDmUNaTxESfuSYmI,40489
|
|
28
|
+
treasure_map/lib/ro_db.py,sha256=DMKZ6oVFv4ucS4_2LhZxaEuu6EODceFhEIv_xJwYNNU,1206
|
|
29
|
+
treasure_map/lib/analyze/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
+
treasure_map/lib/analyze/db_ingest.py,sha256=sL8FGBpob3L27jgAx0qSXY7uaHVE_0OjRezrSKWBmIM,15992
|
|
31
|
+
treasure_map/lib/analyze/elf_exports.py,sha256=TASL4Sht0ZNn0rxZoa3ehrXzvwANGdVFKatuFin9tiI,3866
|
|
32
|
+
treasure_map/lib/analyze/elf_inventory.py,sha256=nn4vz2daJIUdEDlyX3upTLkKqtbRTPw39tI7FPS_EOQ,8510
|
|
33
|
+
treasure_map/lib/analyze/fs_names.py,sha256=OsqdzP_GfK5UdJCW2IA_Owf-l45GjyHMKpYFsuQgaZk,838
|
|
34
|
+
treasure_map/lib/analyze/ghidra_ingest.py,sha256=kRA8MDyYJeEUfDUmOtuBxHKiEbKlsAfPAK6XbxFc7qc,29842
|
|
35
|
+
treasure_map/lib/analyze/ghidra_runner.py,sha256=ZgKeRHXe7wuoUF6nvEqN38fWRjrnw4bTtOVR3movB9k,45220
|
|
36
|
+
treasure_map/lib/analyze/pipeline.py,sha256=XCtfplmsOOEwZGfcbSCZ_C9AX7R9tr9dvCDTiMIe4jo,14014
|
|
37
|
+
treasure_map/lib/analyze/stub_resolve.py,sha256=v85p4Yf0QFJ37rj8l0pIPQam-VbLgEfBgebLTYsZE2Y,13280
|
|
38
|
+
treasure_map/lib/analyze/symlinks.py,sha256=Jyle2LCycisrqimEDTTAaVZOwwbwD77jsT8j7KmF6VM,9875
|
|
39
|
+
treasure_map/lib/analyze/xrefs.py,sha256=gIhnumlCMFK_7SHittld7rUerVZ9B20CFiy_xzWuNuQ,27731
|
|
40
|
+
treasure_map/lib/analyze/ghidra/ExportFunctions.java,sha256=eit8Xv1nQ4BZ-932pet6f-t9TlqJOrg5fwj74MV_auM,162825
|
|
41
|
+
treasure_map/lib/analyze/ghidra/extractor_names.tsv,sha256=QnnHqpH8QrJcOQJ4OUrnAO3Gh-NzOrw-3V5_DazT4IA,5711
|
|
42
|
+
treasure_map/lib/analyze/non_binary/__init__.py,sha256=W9Ta2MCv39DA8jnuvLXHJGrs5wVJSxOzley3hTplsS0,1550
|
|
43
|
+
treasure_map/lib/analyze/non_binary/config_file.py,sha256=1zeh4KMkKuL0CccdWjQZikwpoxb5HMGYv-WSoX0RFNM,4570
|
|
44
|
+
treasure_map/lib/analyze/non_binary/credential.py,sha256=sc-fPATvYHyLoPKGbfFPRPQO_zZo-jZHPVJGrMnGI2o,6726
|
|
45
|
+
treasure_map/lib/analyze/non_binary/framework.py,sha256=u5AV3uBl36l9LXZckZvehzF1fDL3JwfpUr5b52_sLXI,1390
|
|
46
|
+
treasure_map/lib/analyze/non_binary/orchestrator.py,sha256=C6vDO4AeKSwMpfLWne4G1VP3luYXSMYk8G7TsZf0-oY,6046
|
|
47
|
+
treasure_map/lib/analyze/non_binary/shell_script.py,sha256=IRRQyqXJVx9GnbTP3IuSxO-ftJX4Rg2jKY0PlunYj2M,5361
|
|
48
|
+
treasure_map/lib/analyze/non_binary/web_asset.py,sha256=jJvfpoldNpl8FhRYcaEJRu2pSaUCbzjDT7I7uxTvSXE,8730
|
|
49
|
+
treasure_map/lib/atlas/__init__.py,sha256=LPbvZbIE8kkp2AiHsBdGScnEKMa03uZmh2YdaCBS6Jw,851
|
|
50
|
+
treasure_map/lib/atlas/connection.py,sha256=GJwnZPltVgq_l-nmwWPXqeGZoK9ge9iQ9agyTyqP48A,28371
|
|
51
|
+
treasure_map/lib/atlas/models.py,sha256=PEXh2HGlhrDYVvkhsZNUeg2XZuO66emhJW1lyIbDYQY,23670
|
|
52
|
+
treasure_map/lib/atlas/writer.py,sha256=vYUrZqo6iva85dou_nuGHOkAbO8T4vSXrQJBBsO-Fnw,43953
|
|
53
|
+
treasure_map/lib/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
treasure_map/lib/config/__init__.py,sha256=Og8T-mdfXC6IY6_zWrrsl1cffqes4w_cVn75f0IF6bg,414
|
|
55
|
+
treasure_map/lib/config/config.py,sha256=TWi_6pXDZts-ldiDQr015p1Wr3RgFbDysaW-ntS33Uc,10416
|
|
56
|
+
treasure_map/lib/diff/__init__.py,sha256=-2wQ-Z1Ri8p1EWl6kOZQFU39v0S5w6sl2n6SHIBmF24,738
|
|
57
|
+
treasure_map/lib/diff/binexport2.py,sha256=0RCeUXXH60DyL9O7vBdSm_jOrDo08RYxDzRMSVF_M84,7218
|
|
58
|
+
treasure_map/lib/diff/callsite_facts.py,sha256=cY5MeE5gMaYeqaGN1g_v7BHJeojUdWzKMJGWNJVQosA,13656
|
|
59
|
+
treasure_map/lib/diff/code_version.py,sha256=egq4Vaf9RvAUw6ca8CUBBIKtL5vOFYZiSTx4xAB555g,10004
|
|
60
|
+
treasure_map/lib/diff/currency.py,sha256=u53qywBwxObqQ2O7ZVP510PF3BEKxIRbX8lz6RC2GRY,10140
|
|
61
|
+
treasure_map/lib/diff/driver.py,sha256=M_JtN6F-Yu7_eI4zeoWlwx0AavjOs133SbzSO-1aQK4,97107
|
|
62
|
+
treasure_map/lib/diff/export_report.py,sha256=WMKyobwrtUPUQc7RN-J_D6OrqdOv3zKBwL8IGySbQeU,5883
|
|
63
|
+
treasure_map/lib/diff/layer0.py,sha256=EYAPnqvwJ1sNJJYM3_ruhSk3ZILeG_nisxdgdc-ID54,35234
|
|
64
|
+
treasure_map/lib/diff/layer2.py,sha256=1PkuBX3D77bSsqmdxTmGsOUlK5XxYh1g34umoJKYAfc,33322
|
|
65
|
+
treasure_map/lib/diff/loader.py,sha256=gITQLvBLHQYpEbtxCscEvashBijlUS33wj_nulO6dJk,3419
|
|
66
|
+
treasure_map/lib/diff/toolchain.py,sha256=tdgr3Fjtun-TbTdCOp0eOkSQ0TQThffFnjDERHeEhb8,9066
|
|
67
|
+
treasure_map/lib/diff/ghidra/ExportBinExport.java,sha256=_wXe5vwa2OEbsPdaX6Odu_GN2N-Y-8T3gLuf_2GEuLk,10854
|
|
68
|
+
treasure_map/lib/diff/ghidra/FallbackBinExport2Builder.java,sha256=Eap7vX36nuDUdAeDVpuQCr9SN0WEqNNlh9yTmj8iKVU,48992
|
|
69
|
+
treasure_map/lib/hunt/__init__.py,sha256=lPZiAcmyieZig5XqHZ04DQ_a9cRxcwubuZK-U1Dl6MI,731
|
|
70
|
+
treasure_map/lib/hunt/analyzer2.py,sha256=UgvAC7AlN4ZmYjmM9UiGbKDqK1r2UvbVSXQSFAgN7Zs,109813
|
|
71
|
+
treasure_map/lib/hunt/bridge.py,sha256=Ib4mYoSp8K4Jd3oSe0fRAM8Rqp9TVqSBGGHXPct0B1o,8986
|
|
72
|
+
treasure_map/lib/hunt/downweight.py,sha256=J7QWgugDFzK1AGaXeBsZiEJc1_dxAzLEOEzazFuqby0,24515
|
|
73
|
+
treasure_map/lib/hunt/evidence.py,sha256=tqB6mHWzGuBE8Ar2qMVucrWLp3PlTWa-ipXKDt662rc,29503
|
|
74
|
+
treasure_map/lib/hunt/exec_edges.py,sha256=9Tmv8RG69cNx51Br9jgYbKg-NoHzrEWEzV7X_m1u6IY,35145
|
|
75
|
+
treasure_map/lib/hunt/facts.py,sha256=HDRjZCvV2BjXUz8V6LJxAC3sagkvnQd_swcmHm00hCg,12941
|
|
76
|
+
treasure_map/lib/hunt/fmt_provenance.py,sha256=XY9qGpeS-vXeV4Sh_GWNkeXP_MCUBXM4p4zZjzPz9jU,9100
|
|
77
|
+
treasure_map/lib/hunt/refs.py,sha256=bN3uYCGf6y4l_KpFEp-rSlUwKT_E1j86ZLyMqw7oYyQ,9164
|
|
78
|
+
treasure_map/lib/hunt/wrapper_propagation.py,sha256=jkvowOMJCyzgk3gVOLl-_XE2U8NhVjdL6dEAG1suh4Q,10863
|
|
79
|
+
treasure_map/lib/pattern/__init__.py,sha256=zm6U0cpEMVRg4Yk3Vdg77yO6Mq92zFSi0k4mQC9YNnk,605
|
|
80
|
+
treasure_map/lib/pattern/classes.py,sha256=CvhF1l1ipsxc0_10r8j9sEjGDgwSDTNi6tqEVIfN5WY,28816
|
|
81
|
+
treasure_map/lib/pattern/extractor_names.py,sha256=PeGlcEVaTGa9YPMXrNuWYiBaWyV9fQ7EjvaA7dbOdAE,8867
|
|
82
|
+
treasure_map/lib/pattern/fingerprint.py,sha256=eWY0F7Wn7t4o7UDwbakACPeJwTv-qPkr357X2GioYhY,1107
|
|
83
|
+
treasure_map/lib/pattern/models.py,sha256=sEP604m_fjVwavmXrtU2PXroV43mbE7Xj7MRAEqrNY4,4185
|
|
84
|
+
treasure_map/lib/pattern/scanner.py,sha256=L7C2gban3bSCSbSP-BbQ0JtuH33MKSet8jJyYB2sbKw,8364
|
|
85
|
+
treasure_map/lib/pattern/shapes.py,sha256=I8IdHCOB7yN-UnKyHl8dVhVnV6gr0-5Kno6SIPEoddg,19941
|
|
86
|
+
treasure_map/lib/query/__init__.py,sha256=M2wMRcxUm3TnCBdw0dI7RghiP2l0i4dTH5v-8bdj7oc,3059
|
|
87
|
+
treasure_map/lib/query/coverage.py,sha256=kcbdMe8Da1Gxwgactx7Mhwe3l2dwuQJ7-3wEoeHG32s,12856
|
|
88
|
+
treasure_map/lib/query/diff_align.py,sha256=1KO1c3A5wEPKC_K70F1l_03B-fX_cm7osEkI4Tk9TVQ,53264
|
|
89
|
+
treasure_map/lib/query/diff_annotations.py,sha256=YuVAox0kPTuDFLsIVKOfHC3QYnw8lxiQFSV6oPWAwdA,21060
|
|
90
|
+
treasure_map/lib/query/diff_review.py,sha256=N5isX7AyLux6JhFpT2yra_1WUCYeLVvt9HX-kedHkOc,22147
|
|
91
|
+
treasure_map/lib/query/exec_edges.py,sha256=Gjxrw-JovVvOM4osmlvHNDA_-l7IvGRJMsxUqfeU4I0,14400
|
|
92
|
+
treasure_map/lib/query/exploit_ledger.py,sha256=hZgr8yQKetiCrSxc_2X8alHHDYBsNt81qla3hpQkyyM,3671
|
|
93
|
+
treasure_map/lib/query/nvram.py,sha256=oFaKuFLC7nEyHygerfbW5d_9DorCKiLNdvVdj0MLwv4,25703
|
|
94
|
+
treasure_map/lib/query/overlay_view.py,sha256=f8WrXdlTJY7wSiefWb0uDnBEp0F5Yvf1p0DCgJW-VCg,4607
|
|
95
|
+
treasure_map/lib/query/patch_view.py,sha256=Z7ZEJM-ErzeY6X4bRTBWU8cQbhQk7cOnTkwLe47v1Mk,109632
|
|
96
|
+
treasure_map/lib/query/runs.py,sha256=Uwqm9tL5Z0WmMJKQJI8YZFeJUIwvWWUnZenBgNVpU5A,10475
|
|
97
|
+
treasure_map/lib/query/sameness.py,sha256=_6FZ_hfwzs1Dq-ajGFIsTlgRcMuAKhfsTQSqC2parB0,37447
|
|
98
|
+
treasure_map/lib/query/sink_impact.py,sha256=iS5I2mTgLRFWb46jt08T3kWWL08oVUmO3N_1n5VUw0s,7024
|
|
99
|
+
treasure_map/lib/query/sink_overlay.py,sha256=_8LKAHiKJESbd3f2U-PtPR0azdcRq0dGV7UfRS94uiU,77304
|
|
100
|
+
treasure_map/lib/query/string_edges.py,sha256=j79eM0VKzpC5C_eTgNuY-RiWUMfLeNWfYVYMWenMdDE,9148
|
|
101
|
+
treasure_map/lib/query/triage.py,sha256=MU7jtjzELqGKtK1eJk_KxCCF8U3sMTIt6i9VICYI_BY,181589
|
|
102
|
+
treasure_map/lib/query/views.py,sha256=g767VVE1TiUOLZN2j9wzWSe0GVs96P-v2snpB2gkjt8,4070
|
|
103
|
+
treasure_map/lib/reachability/__init__.py,sha256=g7MVV9kuJEJXey5J5sWrfw1AzurgNi5avOH7JjXTSbI,755
|
|
104
|
+
treasure_map/lib/reachability/copy_size.py,sha256=cyuPdCP-WCc2MiFZm-E2cRdE_NgLzKQ8Ig1oEOjP7Ac,20586
|
|
105
|
+
treasure_map/lib/reachability/filters.py,sha256=UteFaxaIq8uUgiX3-Lj7x8cpzFNd7bnrJ3IUMWIEVGg,4525
|
|
106
|
+
treasure_map/lib/reachability/grader.py,sha256=nzKe_tZ7e3JfDMCt-0B3Xo7yzhUVT_ReeN_vIRtZclg,15273
|
|
107
|
+
treasure_map/lib/reachability/models.py,sha256=tpwJzHJCmtZoSMLKeUEVwjA-LYqi2JTS2DikQoRUcdw,1392
|
|
108
|
+
treasure_map/lib/reachability/taint.py,sha256=rKfQBjD67VTWbF2UBYUJinMH3kM1bp7BD4H9I56hAl0,13900
|
|
109
|
+
treasure_map/lib/setup/__init__.py,sha256=lQO4gZnnz9vp_svb55wFDdevqZzOwvhqivmmO8_B18I,394
|
|
110
|
+
treasure_map/lib/setup/clients.py,sha256=isd2NPkI9Z-s0Ck7G6pmpoRkeraUayNNOtUSypuknuw,32565
|
|
111
|
+
treasure_map/lib/setup/completion.py,sha256=XZf_ag0K4KiwZlshgxSgJtwPE-XUT93_1sy1Yzpxyx4,16979
|
|
112
|
+
treasure_map/lib/setup/discover.py,sha256=gsl7gyx1hgVc3DfRWqLZyM02IpObJSlb3D2B2I0VB7c,19990
|
|
113
|
+
treasure_map/lib/setup/doctor.py,sha256=WvFoc5rSk-xb_h8cdLgikx9xjgGB_zDpjF3XLpGvgjM,20415
|
|
114
|
+
treasure_map/lib/setup/fetch.py,sha256=QeD6jFxvYywEtQP1_xk2CZF81YiW6NFcA57tZcVxszA,25361
|
|
115
|
+
treasure_map/lib/setup/initializer.py,sha256=XXxIwKzNfNYHlqoIaDGbGkCN-WSZQO-x92AQsOjcA5s,47160
|
|
116
|
+
treasure_map/lib/setup/ledger.py,sha256=x-7XaLDtJSrjR0lJ0jngOR09TlbWxydqNNFnkX_dnIk,5785
|
|
117
|
+
treasure_map/lib/setup/plan.py,sha256=dC7SGDdXzj4az_Il5BsYstQ1uwFAye5AK2-RBjHz9dM,12234
|
|
118
|
+
treasure_map/lib/setup/platform.py,sha256=2sM8w9eUlKxRx59fam254uqtXV-xsy234XCbRyI1KhE,6589
|
|
119
|
+
treasure_map/lib/setup/selector.py,sha256=BrgKytViL3qvC-Rp20Jo2fjcrnmV_U2KLpDJgoUrqdQ,5537
|
|
120
|
+
treasure_map/lib/setup/tmap_files.py,sha256=mw1jd5YMarvK6r2_WHPDPtstCmLd79KTfxR4jxX-tOE,1499
|
|
121
|
+
treasure_map/lib/setup/toolchain_env.py,sha256=BE5ueD4cbStDRRxpkz0Q6mdXfUwg61iOlSOcayHvJKs,2564
|
|
122
|
+
treasure_map/lib/setup/toolchain_lock.json,sha256=5upJo9909_pezoqtu2eW8av1dCpISMfcexpRqRzF2_A,3255
|
|
123
|
+
treasure_map/lib/setup/toolchain_lock.py,sha256=e-f2zdHZ0e4nylGOCDu5Yczufs6rOckjY-l4bzg_tFY,6222
|
|
124
|
+
treasure_map/lib/setup/uninstall.py,sha256=mkMdgczn3zljAp7C5bgbuV3elIm7fAxyGBP7HuEQEPE,18573
|
|
125
|
+
treasure_map/lib/setup/update.py,sha256=8X9Qf5EiZwKIa1zO54teMarpy9vPGPK56HaKV5cLBK4,7191
|
|
126
|
+
treasure_map/lib/storage/__init__.py,sha256=TMd5H7QO_dJUhtGIgmuzhG7uCRr4miGPJ5uAPDACvA4,149
|
|
127
|
+
treasure_map/lib/storage/atlas_schema.sql,sha256=fKz9_SafdbHkWGqb_xNtEBOVYFj4TB69DyNrlKOCXO4,63453
|
|
128
|
+
treasure_map/lib/storage/connection.py,sha256=iC8RVw6hsA_y023GG2MZj3Wnjj8FsB0YBu3Pwf1wVts,9080
|
|
129
|
+
treasure_map/lib/storage/schema.sql,sha256=iVersmPAvubWDSzuSe9tjy0rNzTN7bnXYCc6qYSl6sw,31283
|
|
130
|
+
treasure_map/lib/workspace/__init__.py,sha256=bA9twk5IWiWaKmRAiT4E5-LZqdJAVhKNdqEbjDUVg7U,192
|
|
131
|
+
treasure_map/lib/workspace/resolver.py,sha256=A5IHAo8M7WuiVbk6vAdTIL3cmz5yXyZPGoVUgThj0ks,4540
|
|
132
|
+
treasure_map/lib/workspace/workspace.py,sha256=h4-UfQsz2ipZ5eCxu61SN5PVVx1P2JhKnC9HxZoA1Es,3229
|
|
133
|
+
tmap_agents-0.1.0.dist-info/METADATA,sha256=nR8oWs32qE_8WSTMDwC2mC2tD3ZxxYFCyykhJJ0r2oM,16712
|
|
134
|
+
tmap_agents-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
135
|
+
tmap_agents-0.1.0.dist-info/entry_points.txt,sha256=SU8hAptlWZwWduVkuYS0BqEO2OPXTpZFdd4QNOZV204,52
|
|
136
|
+
tmap_agents-0.1.0.dist-info/top_level.txt,sha256=lxJIgFxbCX3EsZXSHjAUkU8BkTDPmzxs6ZH9wOlzRhM,13
|
|
137
|
+
tmap_agents-0.1.0.dist-info/RECORD,,
|