Published November 26, 2026 | Version v1

Recovering Protocol Schemas from Proprietary Mobile Game Clients: A Reproducible Pipeline

Authors/Creators

  • 1. Thien Menh Research

Description

Commercial mobile game clients routinely execute application logic inside undocumented, cross-platform runtime bundles and exchange custom binary frames with remote backends over persistent sockets. Although prior security case studies demonstrate that client–server validation gaps can arise along these undocumented interfaces, the field lacks standardized, auditable measurement pipelines capable of separating verifiable empirical claims from anecdotal observations. This paper presents a three-layer reproducible pipeline for empirical evaluation of client–server trust boundaries in closed-source mobile clients: (1) deterministic static bundle analysis to recover wire framing, numeric message identifiers, and call-site/handler field schemas; (2) passive dynamic runtime tracing of engine modules, transport descriptors, and server-push cadences; and (3) controlled differential observation coupled with a public three-label dataset annotation protocol classifying each server-visible action as server-authoritative, client-authoritative, or ambiguous. We evaluate the pipeline on an anonymized Android LayaNative client build (Target A, version 1.0.10, 537.47 MiB across six split APKs and 1,759 cached runtime assets). Static analysis of the unmodified 4.34 MB client JavaScript bundle recovers 1,447 unique message identifiers across opcodes 1201–4603 (897 client-to-server and 551 server-to-client, with one bidirectional identifier), recovering at least one payload field for 73.24% of outgoing and 65.70% of incoming message types across 1,913 total (msgId, field) pairs. Passive runtime logcat observation confirms deterministic 10.00 s and 12.07 s server-push cadences across five live opcodes, while controlled differential records classify three evaluated actions as server-authoritative and one misaligned capture as ambiguous under our conservative coding rule. All scripts, anonymized summary outputs, and coding guidelines are released openly to support independent replication and blind re-annotation.

Files

preprint-protocol-schemas.pdf

Files (426.9 kB)

Name Size
md5:385118668cb25341e892b05b32d2ae94
426.9 kB Preview Download