REA WASM artifact notes (unofficial)
REA can statically inspect local WebAssembly modules when you supply WABT 1.0.42. It does not execute WASM. Prefer wasm-artifacts.md when wording changes.
Minimal path
export REA_WABT_BIN_DIRECTORY=/absolute/wabt/bin
rea inspect-wasm-artifact /absolute/path/module.wasm --format json
# optional glue / candidate paths per upstream flags
For MCP, change the server’s launch environment and restart/reconnect — exporting a variable in another shell does not update a running server.
Mental model
- Configure WABT binaries; confirm capability discovery sees them.
- Call
inspect-wasm-artifact(CLI) orinspect_wasm_artifact(MCP) on an authorized module. - Evidence retains digests, section ranges, validation output and decoded WAT provenance.
- Do not expect
open_binaryto route WASM into Hopper/Ghidra/IDA.
Legal note
Static inspection still requires authorization to examine the module. RepoRead will not help recover DRM-locked game assets.
RepoRead is unofficial. Prefer wasm-artifacts.md.
FAQ
Does REA install WABT?
No. Upstream states REA does not install tools or fetch artifacts. You point REA_WABT_BIN_DIRECTORY at an absolute directory containing wasm-validate, wasm-objdump and wasm2wat.
Which WABT version?
Docs require all three tools to report 1.0.42 on stdout with empty stderr. Unsupported banners yield unavailable diagnostics rather than a relaxed admission.
Can I use open_binary on a .wasm file?
No. A recognized WASM v1 header returns target_unavailable with constraint wasm_requires_static_inspection — use inspect-wasm-artifact / inspect_wasm_artifact instead.
Size limits?
Docs say selected regular files over 8 MiB fail closed with resource_constraint (file-size). Symlinks and changing files also fail closed.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).