Add verified persistent Ghidra DOS provider for OpenCode REA

This commit is contained in:
Mikei386 committed 2026-10-15 20:50:57 +02:00
1 parent f378f4b932
commit cf203381fd
4 files changed
+167 -5

No files matched your search

+6 -5
View File
@@ -16,8 +16,8 @@ activation after restart/new session is not claimed by this preparation.
- Registration: `/root/.config/opencode/opencode.jsonc`, `mcp.rea`, local stdio,
command `["/root/.local/share/rea/runtime/node_modules/rea-agents/scripts/rea.mjs", "mcp"]`.
- Skill: `/root/.agents/skills/reverse-engineer-anything`.
- No optional Frida dependency installed; Java/Ghidra/Hopper/IDA not installed.
Native executable decompilation requires a separate compatible provider.
- No optional Frida dependency installed; Hopper/IDA are not installed.
- Ghidra and its private Java/build dependencies: see `GHIDRA.md`.
The existing Alpine BusyBox `ps` does not support REA's process-ownership query.
Fetched procps-ng 4.0.6-r0 and dependencies with `apk fetch --recursive`, unpacked
@@ -36,7 +36,8 @@ tools. A real `analyze_javascript_application` call succeeded on a generated
two-file CommonJS fixture with summary output; fixture and temporary server were
removed afterward. No user app, private input, GPU inference, or host program was
used. Run `node verify.mjs` inside OpenCode to repeat this synthetic check.
This establishes static JavaScript analysis, not all 207 tools or native providers.
This establishes static JavaScript analysis, not all 207 tools. A subsequent
Ghidra DOS-MZ decompilation test also passed; see `GHIDRA.md` and `verify-dos.mjs`.
## Restore and update
@@ -60,8 +61,8 @@ For a future native Debian deployment, Node plus the locked npm tree remain
required; install the distribution's procps rather than using Alpine's musl
sysroot and remove the private musl library override. Configure the actual service
user's home and executable path, then repeat the smoke test. A fresh-host native
restore, browser-runtime inspection and executable-decompiler integration have
not been tested here.
restore and browser-runtime inspection have not been tested here.
See `GHIDRA.md` for the separately verified executable provider and its limits.
Official references: https://rea.tools/get-started/ and
https://github.com/morluto/rea/blob/main/docs/client-configuration.md.