{"score":100,"grade":"A","scannedAt":"2026-12-05T23:11:00.178Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"tmap-agents","version":"0.2.2","license":"Apache-2.0","repository":"https://github.com/JoeyZzZzZz/treasure-map","firstPublished":"2026-10-16T09:07:00.543550Z","lastPublished":"2026-12-04T06:51:46.544221Z","versions":5,"files":192,"bytes":5259889,"hosts":["code.claude.com","cursor.com","learn.chatgpt.com","support.claude.com","tmap.tools"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/treasure_map/cli/review_cli.py","line":309,"snippet":"known = [r for _n, r in sk.managed_roots(home, os.environ, ledger)]"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/treasure_map/cli/review_cli.py","line":331,"snippet":"…      claude_config_dir=sk.claude_config_dir_of(root, home, os.environ),"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/treasure_map/cli/review_cli.py","line":365,"snippet":"marker = next((m for m in AGENT_ENV_MARKERS if os.environ.get(m)), None)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/treasure_map/cli/review_cli.py","line":899,"snippet":"shutil.rmtree(workdir, ignore_errors=True)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/treasure_map/cli/review_cli.py","line":1123,"snippet":"shutil.rmtree(workdir, ignore_errors=True)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/treasure_map/lib/analyze/ghidra_launch.py","line":152,"snippet":"Caller must shutil.rmtree(tmpdir) after use."},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/treasure_map/lib/analyze/ghidra_runner.py","line":859,"snippet":"proc: subprocess.Popen[bytes] | None = None"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/treasure_map/lib/analyze/ghidra_runner.py","line":867,"snippet":"proc = subprocess.Popen("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/treasure_map/lib/diff/driver.py","line":825,"snippet":"``subprocess.run``'s timeout kills only the process it started. A toolchain step that does its"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/treasure_map/lib/setup/fetch.py","line":68,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/treasure_map/lib/setup/fetch.py","line":71,"snippet":"req = urllib.request.Request(url, headers={\"User-Agent\": \"tmap-init\"})  # noqa: S310"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/treasure_map/lib/setup/fetch.py","line":75,"snippet":"with urllib.request.urlopen(req, timeout=self.timeout) as resp:  # noqa: S310"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.JoeyZzZzZz/treasure-map","title":"Treasure Map","description":"Firmware attack-surface map and patch diff for AI agents. Requires tmap init (Ghidra toolchain).","websiteUrl":"https://tmap.tools/","repository":"https://github.com/JoeyZzZzZz/treasure-map","version":"0.2.2"}}