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

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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24547409
Primary Topic
Security and Verification in Computing
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Phuoc Toan Nguyen
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
preprint

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

Phuoc Toan Nguyen
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon