Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
85c9f88
feat(rust): read cargo-auditable dependencies from WebAssembly modules
yu0809 Oct 18, 2026
9bac2e3
fix(rust): bound the WebAssembly section walk
yu0809 Oct 18, 2026
cda31a6
Merge morluto/rea main into feat/rust-wasm-auditable
yu0809 Oct 18, 2026
162590b
Merge origin/main into feat/rust-wasm-auditable
kaoru0822-kitauji Oct 21, 2026
345f0f4
Merge morluto/rea main into feat/rust-wasm-auditable
yu0809 Oct 21, 2026
d2fd725
fix(rust): accept WebAssembly Evidence in retained dependency views
yu0809 Oct 21, 2026
bdb41d2
fix(rust): name the WebAssembly section-walk allowance in recovery
yu0809 Oct 21, 2026
6ce932e
Merge morluto/rea main into feat/rust-wasm-auditable
yu0809 Oct 25, 2026
084ad35
fix(rust): require WebAssembly container facts in reports
yu0809 Oct 25, 2026
a86deb1
Merge morluto/rea main into feat/rust-wasm-auditable
yu0809 Nov 17, 2026
8865878
docs(rust): record the WebAssembly dependency-metadata feature
yu0809 Nov 17, 2026
e88658c
fix(rust): bind section names to containers and share the LEB128 reader
yu0809 Nov 17, 2026
bb745a3
fix(rust): classify a cut-off WebAssembly integer by its boundary
yu0809 Nov 17, 2026
3753f11
fix(rust): report a duplicate WebAssembly dependency section first
yu0809 Nov 17, 2026
fb270a2
Merge remote-tracking branch 'origin/main' into feat/rust-wasm-auditable
cursoragent Nov 18, 2026
b6510e5
test(rust): assert WebAssembly container facts instead of limitation …
cursoragent Nov 18, 2026
d8b8f22
fix(rust): state container word size as 32 | 64 | null
cursoragent Nov 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .agents/skills/reverse-engineer-anything/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,12 @@ explicit path or endpoint and do not need it.
other versions are unsupported. Optional matching `binary_path` enables static native addresses and type references; query `method_addresses` with indices or addresses/states, preserving every shared-body method and both artifact identities. Without a linked binary native counts remain unknown. Byte-pattern fallback is inferred; no runtime behavior or same-build pairing is proved. See the
[IL2CPP metadata guide](https://github.com/morluto/rea/blob/main/docs/il2cpp-metadata.md).
- Embedded cargo-auditable Rust dependency metadata: `inspect_rust_binary`
with the explicit local ELF, PE, or thin Mach-O file. This built-in
target-free inspection requires no Rust installation or disassembler. Preserve
package order, dependency indices, and the section file range. A missing
`.dep-v0` section is null metadata, not proof the binary has no dependencies.
A rustc commit hash is an inference from a read-only `/rustc/<40-hex>/` path.
with the explicit local ELF, PE, thin Mach-O, or WebAssembly core-module
file. This built-in target-free inspection requires no Rust installation or
disassembler. Preserve package order, dependency indices, and the section file
range. A missing `.dep-v0` section is null metadata, not proof the binary has
no dependencies. A rustc commit hash is an inference from a
`/rustc/<40-hex>/` path in read-only data or a WebAssembly data section.
For selected crates, use `view: {collection: "packages", names: [...],
fields: ["name", "version", "source"]}` on the first call; explicitly include
`dependencies` for direct index references. Use `detail: "summary"` for counts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,18 @@ See [IL2CPP metadata](https://github.com/morluto/rea/blob/main/docs/il2cpp-metad

## Rust dependency metadata

Use `inspect_rust_binary` for an explicit local ELF, PE, or Mach-O (universal
files need `architecture`) when
the question concerns the cargo-auditable crate list embedded in `.dep-v0`
(Mach-O: `__DATA,.dep-v0`). No `open_binary`, Rust installation, or target
execution is required. The CLI equivalent is `inspect-rust-binary PATH`.
Preserve artifact SHA-256, package order, dependency indices, and the section
file range. A missing section is null metadata, not proof the binary has no
dependencies. An omitted package kind stays null. A rustc commit hash is
inferred from a read-only `/rustc/<40-hex>/` path and does not by itself
identify the compiler. Project the retained parent with `inspect_analysis_view`
Use `inspect_rust_binary` for an explicit local ELF, PE, Mach-O (universal
files need `architecture`), or WebAssembly core module when the question
concerns the cargo-auditable crate list embedded in `.dep-v0` (Mach-O:
`__DATA,.dep-v0`; WebAssembly: a custom section). No `open_binary`, Rust
installation, or target execution is required. The CLI equivalent is
`inspect-rust-binary PATH`. Preserve artifact SHA-256, package order,
dependency indices, and the section file range. A missing section is null
metadata, not proof the binary has no dependencies. An omitted package kind
stays null. WebAssembly reports a null word size, and components such as
`wasm32-wasip2` output are unsupported. A rustc commit hash is inferred from a
`/rustc/<40-hex>/` path in read-only data or a WebAssembly data section and
does not by itself identify the compiler. Project the retained parent with `inspect_analysis_view`
kind `cyclonedx` for one CycloneDX 1.6 document. Build-kind packages are
`scope: excluded`. See [Rust binaries](https://github.com/morluto/rea/blob/main/docs/rust-binaries.md)
and [CycloneDX dependencies](https://github.com/morluto/rea/blob/main/docs/guides/native/cyclonedx-view.md).
Expand Down
11 changes: 6 additions & 5 deletions .cursor-plugin/skills/reverse-engineer-anything/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,12 @@ explicit path or endpoint and do not need it.
other versions are unsupported. Optional matching `binary_path` enables static native addresses and type references; query `method_addresses` with indices or addresses/states, preserving every shared-body method and both artifact identities. Without a linked binary native counts remain unknown. Byte-pattern fallback is inferred; no runtime behavior or same-build pairing is proved. See the
[IL2CPP metadata guide](https://github.com/morluto/rea/blob/main/docs/il2cpp-metadata.md).
- Embedded cargo-auditable Rust dependency metadata: `inspect_rust_binary`
with the explicit local ELF, PE, or thin Mach-O file. This built-in
target-free inspection requires no Rust installation or disassembler. Preserve
package order, dependency indices, and the section file range. A missing
`.dep-v0` section is null metadata, not proof the binary has no dependencies.
A rustc commit hash is an inference from a read-only `/rustc/<40-hex>/` path.
with the explicit local ELF, PE, thin Mach-O, or WebAssembly core-module
file. This built-in target-free inspection requires no Rust installation or
disassembler. Preserve package order, dependency indices, and the section file
range. A missing `.dep-v0` section is null metadata, not proof the binary has
no dependencies. A rustc commit hash is an inference from a
`/rustc/<40-hex>/` path in read-only data or a WebAssembly data section.
For selected crates, use `view: {collection: "packages", names: [...],
fields: ["name", "version", "source"]}` on the first call; explicitly include
`dependencies` for direct index references. Use `detail: "summary"` for counts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,18 @@ See [IL2CPP metadata](https://github.com/morluto/rea/blob/main/docs/il2cpp-metad

## Rust dependency metadata

Use `inspect_rust_binary` for an explicit local ELF, PE, or Mach-O (universal
files need `architecture`) when
the question concerns the cargo-auditable crate list embedded in `.dep-v0`
(Mach-O: `__DATA,.dep-v0`). No `open_binary`, Rust installation, or target
execution is required. The CLI equivalent is `inspect-rust-binary PATH`.
Preserve artifact SHA-256, package order, dependency indices, and the section
file range. A missing section is null metadata, not proof the binary has no
dependencies. An omitted package kind stays null. A rustc commit hash is
inferred from a read-only `/rustc/<40-hex>/` path and does not by itself
identify the compiler. Project the retained parent with `inspect_analysis_view`
Use `inspect_rust_binary` for an explicit local ELF, PE, Mach-O (universal
files need `architecture`), or WebAssembly core module when the question
concerns the cargo-auditable crate list embedded in `.dep-v0` (Mach-O:
`__DATA,.dep-v0`; WebAssembly: a custom section). No `open_binary`, Rust
installation, or target execution is required. The CLI equivalent is
`inspect-rust-binary PATH`. Preserve artifact SHA-256, package order,
dependency indices, and the section file range. A missing section is null
metadata, not proof the binary has no dependencies. An omitted package kind
stays null. WebAssembly reports a null word size, and components such as
`wasm32-wasip2` output are unsupported. A rustc commit hash is inferred from a
`/rustc/<40-hex>/` path in read-only data or a WebAssembly data section and
does not by itself identify the compiler. Project the retained parent with `inspect_analysis_view`
kind `cyclonedx` for one CycloneDX 1.6 document. Build-kind packages are
`scope: excluded`. See [Rust binaries](https://github.com/morluto/rea/blob/main/docs/rust-binaries.md)
and [CycloneDX dependencies](https://github.com/morluto/rea/blob/main/docs/guides/native/cyclonedx-view.md).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Additional tools and host support depend on the target:
| Model artifacts | GGUF / safetensors metadata, tensor declarations and derived totals | Built-in header inspection; optional full-file hash; [model files](docs/model-artifacts.md) |
| IL2CPP metadata | Unity global-metadata.dat assembly images, type and method names and index ranges | Built-in static decoding of versions 24, 27, 29, 31 and 39; no Unity required |
| Godot PCK | Archive inventory and extraction, original header/directory facts and selected content identities | Built-in static formats 2, 3 and 4; no Godot required |
| Rust binaries | Embedded cargo-auditable crate names, versions, sources and dependency edges | Built-in static ELF/PE/thin Mach-O inspection; [Rust binaries](docs/rust-binaries.md) |
| Rust binaries | Embedded cargo-auditable crate names, versions, sources and dependency edges | Built-in static ELF/PE/thin Mach-O/WebAssembly module inspection; [Rust binaries](docs/rust-binaries.md) |
| PE certificates | Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields | Built-in static PE inspection; [PE certificates](docs/pe-certificates.md) |
| PE imports | Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash | Built-in static PE inspection; [PE imports](docs/pe-imports.md) |
| Windows shortcuts | Shell Link target, arguments, working dir, ExtraData and Tracker droid facts | Built-in static LNK inspection; [Windows shortcuts](docs/guides/native/windows-shortcut.md) |
Expand Down
2 changes: 1 addition & 1 deletion docs/readme/README_el.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ npx rea-agents@latest setup
| Δυαδικά αρχεία με κώδικα μηχανής | Ψευδοκώδικα, κώδικα assembly, συμβολοσειρές, σύμβολα, κλήσεις και αναφορές | Hopper, Ghidra, IDA ή Kuna· [ανάλυση κώδικα μηχανής](../guides/native/native-investigation.md) |
| Δομή ELF χωρίς εκτέλεση | Ενότητες, τμήματα, αρχικά σύμβολα/εγγραφές μετεγκατάστασης και ενδείξεις πιθανών μέτρων προστασίας από στατική ανάλυση | pwntools που παρέχει ο χρήστης σε Linux x64· [διαγνωστικά δυαδικών αρχείων](../guides/native/binary-diagnostics.md) |
| Δυαδικά αρχεία Go | Ενσωματωμένη έκδοση μεταγλωττιστή, modules, αντικαταστάσεις και ρυθμίσεις μεταγλώττισης | Ενσωματωμένη στατική εξέταση ELF/PE/thin Mach-O· δεν απαιτείται εγκατάσταση του Go |
| Δυαδικά αρχεία Rust | Ενσωματωμένα ονόματα, εκδόσεις, πηγές και σχέσεις εξάρτησης των crates από το cargo-auditable | Ενσωματωμένη στατική εξέταση ELF/PE/thin Mach-O· [δυαδικά αρχεία Rust](../rust-binaries.md) |
| Δυαδικά αρχεία Rust | Ενσωματωμένα ονόματα, εκδόσεις, πηγές και σχέσεις εξάρτησης των crates από το cargo-auditable | Ενσωματωμένη στατική εξέταση ELF/PE/thin Mach-O/WebAssembly· [δυαδικά αρχεία Rust](../rust-binaries.md) |
| PE certificates | Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields | Built-in static PE inspection; [PE certificates](../pe-certificates.md) |
| PE imports | Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash | Built-in static PE inspection; [PE imports](../pe-imports.md) |
| Windows shortcuts | Shell Link target, arguments, working dir, ExtraData and Tracker droid facts | Built-in static LNK inspection; [Windows shortcuts](../guides/native/windows-shortcut.md) |
Expand Down
2 changes: 1 addition & 1 deletion docs/readme/README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ REA에는 Node.js 22.x(>=22.23.4), 24.x(>=24.22.1) 또는 26+ (>=26.12.1)와 npm
| 네이티브 바이너리 | 의사 코드, 어셈블리, 문자열, 심볼, 호출, 참조 | Hopper, Ghidra, IDA 또는 Kuna; [네이티브 분석](../guides/native/native-investigation.md) |
| 오프라인 ELF 레이아웃 | 섹션, 세그먼트, 원본 심볼/재배치 정보, 정적 분석으로 얻은 보안 완화 기법 후보 | Linux x64에서 호출자가 제공하는 pwntools; [바이너리 진단](../guides/native/binary-diagnostics.md) |
| Go 바이너리 | 내장된 컴파일러 버전, 모듈, `replace` 지시어, 빌드 설정 | REA 내장 ELF/PE/thin Mach-O 정적 검사; Go 설치 불필요 |
| Rust 바이너리 | cargo-auditable이 내장한 크레이트 이름, 버전, 소스, 의존성 관계 | REA 내장 ELF/PE/thin Mach-O 정적 검사; [Rust 바이너리](../rust-binaries.md) |
| Rust 바이너리 | cargo-auditable이 내장한 크레이트 이름, 버전, 소스, 의존성 관계 | REA 내장 ELF/PE/thin Mach-O/WebAssembly 정적 검사; [Rust 바이너리](../rust-binaries.md) |
| PE certificates | Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields | Built-in static PE inspection; [PE certificates](../pe-certificates.md) |
| PE imports | Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash | Built-in static PE inspection; [PE imports](../pe-imports.md) |
| Windows shortcuts | Shell Link target, arguments, working dir, ExtraData and Tracker droid facts | Built-in static LNK inspection; [Windows shortcuts](../guides/native/windows-shortcut.md) |
Expand Down
2 changes: 1 addition & 1 deletion docs/readme/README_ml.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ REA-യ്ക്ക് Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), അല്ല
| Native binaries | Pseudocode, assembly, strings, symbols, calls, references | Hopper, Ghidra, IDA അല്ലെങ്കിൽ Kuna; [native analysis](../guides/native/native-investigation.md) |
| Offline ELF layout | Sections, segments, യഥാർത്ഥ symbols/relocations, static mitigation candidates | Linux x64-ൽ caller നൽകുന്ന pwntools; [binary diagnostics](../guides/native/binary-diagnostics.md) |
| Go binaries | ഉൾച്ചേർത്ത compiler version, modules, replacements, build settings | Built-in static ELF/PE/thin Mach-O പരിശോധന; Go installation ആവശ്യമില്ല |
| Rust binaries | ഉൾച്ചേർത്ത cargo-auditable crate പേരുകൾ, versions, sources, dependency edges | Built-in static ELF/PE/thin Mach-O പരിശോധന; [Rust binaries](../rust-binaries.md) |
| Rust binaries | ഉൾച്ചേർത്ത cargo-auditable crate പേരുകൾ, versions, sources, dependency edges | Built-in static ELF/PE/thin Mach-O/WebAssembly പരിശോധന; [Rust binaries](../rust-binaries.md) |
| PE certificates | Authenticode WIN_CERTIFICATE entries and PKCS#7 signer/X.509 identity fields | Built-in static PE inspection; [PE certificates](../pe-certificates.md) |
| PE imports | Import and delay-load DLL names, ordinals, IAT RVAs and pefile import hash | Built-in static PE inspection; [PE imports](../pe-imports.md) |
| Windows shortcuts | Shell Link target, arguments, working dir, ExtraData and Tracker droid facts | Built-in static LNK inspection; [Windows shortcuts](../guides/native/windows-shortcut.md) |
Expand Down
Loading