Tool

hermes-dec

Parse, disassemble and partially decompile React Native Hermes bytecode bundles. Makes HBC headers and instructions inspectable and emits pseudocode for understanding compiled application logic.

Requirements and limitations

  • Current package metadata requires Python 3.10+; the application uses the Python standard library. Supply an extracted Hermes HBC bundle, not a plain-text minified JavaScript bundle.
  • Decompiler output is not executable JavaScript: loop and conditional structure reconstruction is incomplete. Bytecode compatibility depends on the supported opcode definitions.
  • The tool is AGPL-3.0-or-later, distinct from the Hermes VM's license.

About this entry

Type
Tool
Category
Android tools
Relationship
Foundation tool
Targets
App

Sources reviewed

The description was reviewed against primary sources. This does not establish runtime testing, security auditing or verified compatibility.

Primary sources

  1. https://github.com/P1sec/hermes-dec/blob/2e796663e1fedb93dca51060797ebf3327b3fedb/README.md
  2. https://github.com/P1sec/hermes-dec/blob/2e796663e1fedb93dca51060797ebf3327b3fedb/pyproject.toml
  3. https://p1sec.github.io/hermes-dec/opcodes_table.html
  4. https://github.com/P1sec/hermes-dec/releases/tag/0.1.8
  5. https://github.com/P1sec/hermes-dec/blob/2e796663e1fedb93dca51060797ebf3327b3fedb/LICENSE