← Lab /Security & privacy

WeChat uses a dedicated MiniApp runtime, Telegram runs MiniApps via web execution with host controls

WeChat provides a dedicated MiniApp runtime while Telegram combines web execution with host controls

Security & privacy arXiv 10 Nov 2026 Measurement Theory

Published as “Comparing WeChat and Telegram MiniApp Security Architectures: Toward Cross-Platform Analysis”

Why it matters

The taxonomy and requirements can guide the design of automated tools that reason about MiniApp security across heterogeneous platforms.

Summary

The paper finds that WeChat Mini Programs and Telegram MiniApps differ fundamentally in execution model, credential handling, and permission mediation, requiring distinct analysis approaches. It provides a qualitative architectural comparison backed by official documentation, prior literature, and a manual inspection of a specific Telegram Android client revision. No empirical vulnerability detection or large-scale evaluation is performed, and the authors acknowledge that the evidence is asymmetric and limited to one client version.

What they found 6

  1. WeChat provides a dedicated MiniApp runtime; Telegram combines web execution with host controls.

    “WeChat provides a dedicated MiniApp runtime; Telegram combines web execution with host controls.”

  2. Telegram Bot API authentication and MiniApp initialization-data validation protect different boundaries.

    “Telegram Bot API authentication and MiniApp initialization-data validation protect different boundaries.”

  3. The same JavaScript interface name can refer to different bridge implementations.

    “The same JavaScript interface name can refer to different bridge implementations.”

  4. Write-access requests use operation-specific checks.

    “Write-access requests use operation-specific checks.”

  5. New-window navigation follows a distinct creation and routing path.

    “New-window navigation follows a distinct creation and routing path.”

  6. WeChat IP allowlisting is a configurable control.

    “WeChat IP allowlisting is a configurable control.”

Caveats 3

  • The study therefore provides a qualitative architectural comparison rather than an empirical assessment of vulnerability prevalence.
  • The evidence is asymmetric: WeChat relies on documentation and prior studies, while Telegram additionally uses source-code inspection of one Android revision.
  • The comparison does not measure vulnerability prevalence or establish behavior across client versions and platforms.

What’s new here 4

  • First systematic cross-platform comparison of WeChat and Telegram MiniApp architectures.
  • Manual source-code inspection of the Telegram Android client to uncover execution and bridge details.
  • Derivation of a shared taxonomy and concrete analysis requirements for credential roles and context-dependent permission mediation.
  • Mapping of architectural distinctions to requirements for future automated cross-platform security tools.