
Un potente decompilatore che consente di eseguire il reverse engineering di app mobili React Native convertendo i loro file bytecode Hermes compilati (.hbc) nuovamente in JavaScript leggibile.

Decompilatore Rust per bytecode Hermes (.hbc), il motore JS alla base di React Native. Supporta HBC da 40 a 99.
Binari precompilati (Linux / macOS / Windows) da Releases o Actions:
| Suffisso asset | Piattaforma |
|---|---|
linux-x86_64 / linux-arm64 | Linux |
macos-arm64 / macos-x86_64 | macOS |
windows-x86_64 | Windows |
Gli archivi includono hermes-decomp e hermes-mcp. Verifica: shasum -a 256 -c SHA256SUMS.
hermes-decomp update --check # or --install / --version v0.1.7
Dal sorgente (Rust 1.70+):
git clone https://github.com/SymbioticSec/hermes-decomp.git
cd hermes-decomp && cargo build --release
# → target/release/hermes-decomp target/release/hermes-mcp
hermes-decomp info app.hbc
hermes-decomp disasm app.hbc --function 5 --info --show-offsets
hermes-decomp decompile app.hbc -o out.js # progress on stderr
hermes-decomp decompile app.hbc --function 42
hermes-decomp tui app.hbc
hermes-decomp xref app.hbc --query "loginWithToken"


Tutti i flag e gli esempi → docs/USAGE.md.
Note:
decompile dell'intero bundle usa una .hdcache su disco per ricariche rapide. Passa --no-cache per forzare.decompile -o … stampa le fasi della pipeline su stderr.hermes-mcp) per assistenti AI → docs/MCP.mdmcp-config.example.jsonhbc-decomp → docs/LIBRARY.mdcargo build --release -p hbc-decomp-mcp
Vedi CONTRIBUTING.md. Apri un'issue prima di una PR.
cargo build --release --workspace && cargo test --workspace
MIT. Vedi LICENSE.
| Area | Comandi (in evidenza) |
|---|
| Lettura | info, disasm, decompile, tui, extract, modules, deps |
| Analisi | xref, callgraph, graphviz, closures, debug, dump, bin-diff |
| Utility per il reverse engineering | secrets, frida-hooks |
| Scrittura (solo bytecode) | emit-hasm, asm, asm-check, patch-string, patch-function, inject-stub, create |