mirror of
https://github.com/protonspy/harness-for-rea.git
synced 2026-11-22 11:59:26 -10:00
The agents read the database the user has open in IDA Pro (decompilation, disassembly, cross-references, types, strings and bytes) through the app, as the second integration of specs/mcp-integrations. - sandbox/ida-pro/: the app's own IDA plugin, derived from mrexodia/ida-pro-mcp at c133c38 (MIT). It keeps the 34 tools of upstream's read-only profile, deletes every write, debugger and Python-evaluation tool, and replaces upstream's unauthenticated HTTP server with a local-only named pipe, \.\pipe\hfr-ida, in the framing of Cheat Engine's bridge. Agent regexes go through a guard so none can freeze IDA's main thread. - src/shared/idapro.ts: the catalog, strict schemas mirroring upstream's parameters, the database target (input file SHA-256) and the user folder setting. - src/main/idapro/integration.ts: checks, plugin install into IDA's user plugins folder, status, target description, and a session that checks the open database with each call in one exclusive unit. - src/main/cheatengine/pipe.ts: the client names its engine, and an exclusive unit fails if its connection was reopened between calls. - Both integrations' path settings refuse a /\host network path. Spec: specs/ida-pro. Decision: adr:0027-ship-a-read-only-ida-plugin-on-a-named-pipe. Verified: scc validate --checks --pr (build, format, lint, 598 tests, 96.28% line coverage); the plugin imported with stubbed IDA modules registers exactly the catalog's tools.