Documentation
Static HarmonyOS package inventory
Inventories HarmonyOS HAP, HSP and App Pack files through REA’s hardened ZIP reader and projects an execution-free application graph: component paths, IDs and hashes, Stage/FA packaging hints, runtime-family hints and path-based native-bridge hypotheses. Every claim rests on path presence; manifests, Ark bytecode, resources and signatures are not decoded or verified.
- Targets
- App
- Category
- Official REA: investigation guides
- Relationship
- Official REA documentation
- Sources reviewed
- Evidence level
- L1 reinforcement-learning environment
Evidence

- Observed
- Code, documentation, download and demo observed for a tool, integration, guide or analysis entry.
- Scope
- Analysis, tool or guide
- Checked
- 2026-11-07
Requirements & limits
- Reviewed on main as rea-agents 6.7.0, which declares Node ^22.19.0, ^24.11.0 or 26+. No HarmonyOS SDK, toolchain or engine is needed: inspect-artifact produces the inventory and project-harmony-application-graph (MCP project_harmony_application_graph) projects it, with CLI and MCP sharing one workflow. .hap, .hsp and ZIP-verified root .app inputs are recognized; .har shared libraries are deferred because the suffix also names HTTP Archive JSON.
- Outputs are path-presence claims: Stage is inferred only from module.json and FA only from config.json, App Pack children are listed without recursive inventory, encrypted or unavailable entries make coverage partial, and N-API bridge entries are hypotheses. Manifest semantics, Ark bytecode contents and versions, resource resolution, signing verification and observed native boundaries stay listed as limitations, and inventories that cannot be authenticated fail closed.
- The verification lane downloads a SHA-256-pinned harmony-next-pipeline 1.0.1 HAP from an MIT-licensed source repository into an ignored directory and checks inventory authenticity, projection determinism, Stage path hints, exact component sets, complete coverage and CLI/MCP parity. The fixture records no compiler/SDK versions or reproducible build, and the pinned-toolchain acceptance in roadmap issue #1431 remains open.
- REA declares MIT. Analysed packages keep their own licenses, and the guide says the fixture’s bundled component licenses were not independently audited; the downloaded artifact is not redistributed. Merged PR #1447 introduced this increment.
Cite
BibTeX
@misc{rea-harmony-guide,
title = {{Static HarmonyOS package inventory}},
howpublished = {\url{https://github.com/morluto/rea/blob/main/docs/guides/harmony/harmony-analysis.md}},
url = {https://github.com/morluto/rea/blob/main/docs/guides/harmony/harmony-analysis.md},
urldate = {2026-10-18},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/rea-harmony-guide/}}
}Plain text
Static HarmonyOS package inventory. https://github.com/morluto/rea/blob/main/docs/guides/harmony/harmony-analysis.md (accessed 2026-10-18). Awesome REA entry: https://awesomerea.org/resources/rea-harmony-guide/
Useful? Star Awesome REA on GitHub4.0k
About this entry
The description was reviewed against primary sources.
Primary sources
- docs/harmony-analysis.md GitHub · morluto/rea · Revision 093ce69
- package.json GitHub · morluto/rea · Revision 093ce69
- LICENSE GitHub · morluto/rea · Revision 093ce69
- https://github.com/morluto/rea/pull/1447
More in References and learning
- MIPS ELF analysis through Ghidra · Documentation
- PSP static ELF analysis through Ghidra · Documentation
- NativeAOT metadata recovery with Ghidra · Documentation
- REA & AI RE Tools Guide (unofficial) · Learning resource
- OpenSecurityTraining2 · Learning resource
- pwn.college: Reverse Engineering · Learning resource