Show HN: Treasure Map – a Ghidra-based firmware map for coding agents
Category: security
Tags: firmware-analysis, ghidra, mcp, security, static-analysis, ai-agents, binary-diffing
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Treasure Map is a Ghidra-based static analysis tool that extracts facts from unpacked firmware—dangerous call sites, data provenance, reachability, and cross-binary interactions—and exposes them to AI coding agents via an MCP server, without making vulnerability judgments itself. It also supports function-level patch diffing between firmware versions using BinExport/BinDiff, with an annotation layer for persisting agent judgments across sessions. The approach of separating fact extraction from model-driven judgment, plus explicit UNKNOWN tracking, addresses a real gap in how LLM agents fail on large firmware codebases.
Target audience: security researchers, reverse engineers, firmware analysts, embedded/IoT security teams
Repository: https://github.com/JoeyZzZzZz/treasure-map · Python · Apache-2.0 · 5 stars
View on Hacker News