REI WASM and Managed Code
When to Use
- Trace authorized WebAssembly, .NET, Java, IL, JVM bytecode and managed package control flow. Use for manifest/metadata triage, type recovery, IL inspection, WASM import/export tracing, obfuscation assessment and compatible API reconstruction.
- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.
Entry contract
Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.
Available tooling
Use wasm-tools, WABT, Binaryen, ILSpy, dnSpyEx, ildasm, monodis, javap, CFR, and compatible bytecode analyzers only when actually available.
Procedure
- Hash artifact and confirm format using header and container checks.
- Recover module/type/import/export tables, metadata and declared interfaces.
- Trace one method and its caller contract with exact offsets and signatures.
- Cross-check generated source against bytecode; document lost symbols and generics.
- Build a separate compatible implementation and test stable fixture outputs.
Evidence and limits
Do not confuse decompiler output with original handwritten code; static graphs do not establish actual runtime paths.
For every conclusion record: target hash, source address/offset/file line, method and version, status (observed/inferred/unknown), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.
See workflow checkpoints for outputs and acceptance criteria.
🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş
Engineering Beyond Boundaries | admin@rootcastle.com
1---2name: rei-wasm-and-managed3description: "Trace authorized WebAssembly modules, .NET CIL assemblies, and JVM bytecode for type recovery and API analysis."4risk: safe5source: rootcastle-rei6category: reverse-engineering7metadata:8 source: https://skillmd.com/skills/rootcastleco/rei-wasm-and-managed9 tags: "reverse-engineering, wasm, webassembly, dotnet, jvm, bytecode, rei-rea"10 upstream_repo: "https://github.com/rootcastleco/Rei-Reverse-engineer"11 curated_by: "rootcastle-rei"12---1314# REI WASM and Managed Code1516## When to Use1718- Trace authorized WebAssembly, .NET, Java, IL, JVM bytecode and managed package control flow. Use for manifest/metadata triage, type recovery, IL inspection, WASM import/export tracing, obfuscation assessment and compatible API reconstruction.19- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.202122## Entry contract2324Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.2526## Available tooling2728Use `wasm-tools`, `WABT`, `Binaryen`, `ILSpy`, `dnSpyEx`, `ildasm`, `monodis`, `javap`, `CFR`, and compatible bytecode analyzers only when actually available.2930## Procedure31321. Hash artifact and confirm format using header and container checks.332. Recover module/type/import/export tables, metadata and declared interfaces.343. Trace one method and its caller contract with exact offsets and signatures.354. Cross-check generated source against bytecode; document lost symbols and generics.365. Build a separate compatible implementation and test stable fixture outputs.3738## Evidence and limits3940Do not confuse decompiler output with original handwritten code; static graphs do not establish actual runtime paths.4142For every conclusion record: target hash, source address/offset/file line, method and version, status (`observed`/`inferred`/`unknown`), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.4344See [workflow checkpoints](references/workflow.md) for outputs and acceptance criteria.4546---4748> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş 49> Engineering Beyond Boundaries | admin@rootcastle.com