Conceptio › Archive › arXiv CS
arXiv CS open access

A Measurement Study of Cryptographic Misuse in Embodied AI Mobile Applications

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

A Measurement Study of Cryptographic Misuse in Embodied AI Mobile Applications Junchao Li1

Xuelei Wang1 , Yuhang Huang1 , Qi Wang1 , Boyang Ma1 , Xuelong Dai1 , Minghui Xu1 , and Yue Zhang1

arXiv:2606.19983v1 [cs.CR] 18 Jun 2026

Shandong University, Qingdao, Shandong, China

Abstract. Embodied AI (EAI) mobile applications are evolving from auxiliary user interfaces into active control-path components, directly linking mobile-side cryptographic security to cyber-physical trust. Despite this shift, existing security research predominantly focuses on embodied AI devices and cloud infrastructures, leaving the mobile control layer largely unexplored as a critical attack surface. To bridge this gap, we present the first large-scale measurement study of cryptographic misuse within the EAI mobile ecosystem. We construct EAIAppZoo, a benchmark of 507 real-world applications across six EAI domains, and employ an automated semantic-aware analysis pipeline to measure the prevalence and characteristics of five major cryptographic failure modes. Our measurement yields 12,975 misuse findings (with an evaluated precision of 80.74%), revealing that these cryptographic failures are driven by EAI-specific engineering constraints rather than random developer errors. We uncover structural security trade-offs: latency-sensitive control paths systematically weaken transport protection, while the heavy reliance on offline device provisioning and legacy IoT SDKs exacerbates the local hardcoding of authentication credentials. Through real-world case studies, we demonstrate how these mobile-side cryptographic flaws bypass nominal network protections, enabling adversaries to intercept command channels and hijack the physical control of EAI entities. Ultimately, our findings highlight that mobile applications have become a fragile, yet overlooked, cryptographic trust boundary in cyber-physical systems. Keywords: Embodied AI · Mobile security · Cryptographic misuse · Cyber-physical security

1

Introduction

Embodied AI systems are rapidly moving from laboratory prototypes into realworld deployment scenarios, encompassing household cleaning robots, service robots, industrial robot arms, drones, wearable devices, and socially interactive platforms. In these ecosystems, mobile applications are no longer merely auxiliary user interfaces; they increasingly function as active control-path components responsible for device provisioning, remote command delivery, runtime monitoring, and cloud-assisted coordination. Through these roles, mobile applications

2

X. Wang et al.

directly mediate authentication and control instruction delivery. Unlike traditional mobile applications where a cryptographic compromise primarily leads to data privacy leakage, a cryptographic failure in an EAI control app translates directly into unauthorized physical actuation, kinetic damage, or unauthorized surveillance. This shifts the practical trust boundary of cyber-physical systems significantly towards the mobile layer. The mobile application layer serves as the critical bridge connecting users, cloud services, and physical entities, yet remains an insufficiently understood attack surface. In particular, the implementation and configuration of cryptographic logic along these complex EAI control paths remain poorly understood, with limited systematic analysis of how such mechanisms are deployed and potentially misused in practice. Our preliminary observations indicate that cryptographic misuse in EAI mobile applications is not merely a collection of isolated developer errors, but rather driven by unique, systematic engineering constraints inherent to embodied systems. First, the necessity for local or offline control (e.g., controlling a drone via direct Wi-Fi without internet access) creates significant friction with standard PKI infrastructures, often incentivizing developers to adopt insecure workarounds such as hardcoded static keys. Second, the strict low-latency requirements for real-time video streaming and teleoperation frequently compel developers to intentionally downgrade or strip away transport-layer encryption (e.g., using plaintext RTSP or MQTT). Finally, the fragmented EAI supply chain heavily relies on legacy third-party IoT SDKs, causing deprecated cryptographic primitives to spread virally across different device brands. To systematically demystify this overlooked threat landscape, we present the first large-scale measurement study of cryptographic misuse specifically targeting the EAI mobile ecosystem. We aim to answer the following three core Research Questions (RQs): – RQ1 (Prevalence & Distribution): How prevalent are cryptographic misuses in the EAI mobile ecosystem, and how are they distributed across different application domains? – RQ2 (Framework Reliability): How reliable and accurate is the proposed semantic-aware analysis pipeline in identifying cryptographic misuses in realworld EAI mobile applications? – RQ3 (Cyber-Physical Impact): How do mobile-side cryptographic flaws translate into exploitable vulnerabilities that bypass network protections and hijack the physical control of EAI entities? To answer these questions, we constructed EAIAppZoo, a benchmark dataset containing 507 real-world Android applications spanning six EAI categories. Instead of directly using off-the-shelf Android analysis tools, we developed an automated, semantic-aware static analysis pipeline. This pipeline seamlessly integrates dynamic memory unpacking with customized rule matching to precisely locate cryptographic misuses—including weak primitives, insecure parameter configurations, weak randomness, hardcoded secrets, and insecure communication practices—specifically along the practical control and authentication paths.

Cryptographic Misuse in Embodied AI Mobile Apps

3

Our measurement yields 12,975 misuse findings. We reveal that EAI mobile applications exhibit structured security trade-offs, exposing a fragile cryptographic trust boundary that severely undermines command authentication and transport integrity. Beyond large-scale prevalence, our case studies demonstrate that certain mobile-side cryptographic flaws can directly translate into practical cyber-physical attacks. In one representative case involving a Unitree Robotics quadruped robot application, a hardcoded cryptographic credential enabled the recovery of provisioning traffic, allowing attackers to reconstruct Wi-Fi credentials and pivot into the local network, thereby creating conditions for unauthorized command injection against the physical device. In summary, we make the following key contributions: – First Large-Scale Measurement on EAI Mobile Crypto-Security. We construct EAIAppZoo and conduct the first systematic measurement of cryptographic misuses across 507 real-world EAI mobile applications, exposing the mobile layer as a critical vulnerability surface in cyber-physical ecosystems. – Demonstration of Cyber-Physical Attack Chains. We bridge the gap between static code flaws and physical harm. Through in-depth case studies, we demonstrate how discovered mobile-side cryptographic vulnerabilities (e.g., hardcoded credentials and plaintext streaming) can be weaponized to intercept command channels and execute unauthorized physical hijacking of real-world EAI devices. – Revelation of EAI-Specific Root Causes. We demystify the structural factors driving these widespread cryptographic failures, highlighting how low-latency operational constraints, offline provisioning requirements, and inherited legacy IoT SDKs systematically force dangerous security tradeoffs. The dataset is not publicly released at the current stage due to ongoing research considerations, and will be considered for public availability after publication.

2

Responsible Disclosure

Following responsible disclosure principles, we reported a subset of confirmed vulnerabilities to affected vendors whose products were involved in our empirical analysis. In particular, we submitted a detailed technical report to Unitree Robotics regarding a hardcoded cryptographic credential issue identified in one of its mobile application deployments, including the affected code patterns, potential unauthorized-access risks, and possible attack consequences. Unitree Robotics actively acknowledged the reported issue and confirmed that the identified flaw could introduce unauthorized access risks under realistic deployment conditions. According to the vendor’s response, the issue has entered its internal security review and remediation process, and we are closely working with the vendor to support mitigation and validation of the fix.

4

X. Wang et al.

3

Background

3.1

The Dual-Mode EAI Control Architecture

A typical EAI ecosystem involves three tightly connected entities: the Mobile App is Cloud-Assisted Mode mobile application, the cloud sertheTrust Anchor vice, and the physical embodied device, as illustrated in Fig. 1. UnCloud Service Embodied Devices like conventional companion applicaMobile App Local/Offline Mode tions (which primarily act as passive data displays), mobile applications in EAI systems increasingly function Fig. 1: Dual-mode control interactions in as active, authoritative control-path EAI systems. bridges. They are directly responsible for device onboarding (provisioning), account authentication, real-time command generation, and firmware updates, effectively translating user intent into executable device actions. Crucially, EAI mobile control relies on a Dual-Mode Communication Architecture, which enables operation across heterogeneous environments. The system supports both cloudassisted communication for remote coordination and direct local communication for low-latency or offline control. These two modes coexist and are dynamically selected based on network conditions and operational requirements, forming a hybrid control paradigm distinct from traditional mobile-cloud interaction models. Provisioning

Authentication

Stability, standardization,security

WSS/PKI

WSS/PKI

Command Generation

– Cloud-Assisted Mode: The application communicates with the device via cloud telemetry relay, typically utilizing standard HTTPS/WSS protocols secured by well-established Web Public Key Infrastructure. – Local/Offline Mode: To ensure operational availability in environments without internet access (e.g., outdoor drone flights) or to minimize latency for real-time teleoperation, the application connects directly to the device via local networks (e.g., Wi-Fi AP mode, BLE, or local TCP/UDP). Within this dual-mode architecture, the mobile application often remains the primary trust anchor. It must locally manage credential storage, protocol initiation, and command construction before any physical actuation occurs. 3.2

EAI vs. Traditional Robotics

EAI systems differ fundamentally from traditional robotic systems in terms of architecture, control paradigm, and interaction model. Traditional robots are typically designed as closed, self-contained systems, where perception, planning, and control are tightly integrated within the device or a dedicated control unit. Their operation logic is relatively deterministic, task-specific, and often relies on pre-defined rules or classical control algorithms. In contrast, EAI systems

Cryptographic Misuse in Embodied AI Mobile Apps

5

Table 1: Comparison between EAI Systems and Traditional Robotics Dimension

Traditional Robotics

EAI Systems

System Architecture Closed, device-centric Open, distributed (App–Cloud–Device) Control Paradigm Pre-defined, deterministic Data-driven, adaptive Interaction Interface Dedicated controllers Mobile apps (text/voice/vision) Connectivity Limited or optional Always connected (cloud + local) Intelligence Source Embedded algorithms AI models (e.g., LLMs, multimodal) Control Path Single or fixed Dual-mode (cloud + local) Update Mechanism Infrequent, manual Continuous, OTA updates

are inherently open and distributed. They integrate mobile applications, cloud services, and physical devices into a unified control loop, enabling more flexible and adaptive behaviors. Instead of relying solely on pre-programmed logic, EAI systems increasingly incorporate data-driven models, including large language models and multimodal perception modules, to interpret user intent and generate actions dynamically. Another key distinction lies in the control interface. Traditional robots are usually operated through specialized controllers or fixed interfaces, whereas EAI systems expose user-facing interfaces via mobile applications, supporting natural interaction modalities such as text, voice, and vision. This shift significantly lowers the barrier to interaction but also introduces new security risks, as the control surface becomes broader and more accessible. These architectural and operational differences are summarized in Table 1.

4

Motivation and Threat Model

4.1

Motivation

Because mobile applications directly establish trust, cryptographic weaknesses at this layer critically undermine the entire cyber-physical system. To illustrate how such weaknesses emerge in practice, Listing 1.1 presents a representative code pattern adapted from a real-world EAI mobile application (a quadruped robot companion app named JueYingLite2 ), capturing three recurring classes of cryptographic misuse observed in our dataset. public void initAndPlay(String input) { try { 3 // (1) Weak cryptographic primitive (MD5) 4 MessageDigest md = MessageDigest.getInstance("md5"); 5 String hash = bytesToHex(md.digest(input.getBytes())); 1 2

6 7 8

// (2) Insecure local communication (plaintext RTSP) String url = "rtsp://192.168.1.103:8554/camera";

9 10 11

// (3) Hardcoded SDK credentials SmartPlayerJniV2 player = new SmartPlayerJniV2();

6

X. Wang et al.

12

player.SmartPlayerSetSDKClientKey( "8FC33AEE69AF4E7093FB95E9AFFE989C", "621E0DD5094841E2AB99C59C7173341A..." ); player.SmartPlayerSetLowLatencyMode(1); player.SmartPlayerStartPlayback(url); } catch (Exception e) { e.printStackTrace(); }

13 14 15 16 17 18 19

}

Listing 1.1: Real-world cryptographic misuses observed in an EAI mobile application named JueYingLite2. Unlike conventional mobile applications where secure communication is typically enforced through standardized TLS-based APIs, EAI applications operate under a distinct set of engineering constraints that often correlate with degraded security practices. Based on our empirical observations, three recurring factors are closely associated with such cryptographic misuses: – Use of Weak Cryptographic Primitives (Lines 3–5): The use of MD5 reflects reliance on outdated cryptographic primitives. Due to its lack of collision resistance, MD5 is unsuitable for security-sensitive operations, undermining data integrity guarantees. – Latency-Sensitive Communication Paths (Lines 7-8): Real-time video streaming and teleoperation require low-latency communication. Applications may rely on plaintext RTSP streams over local IP addresses to reduce overhead, resulting in the absence of transport-layer protection and weakening communication confidentiality and integrity. – Local Control Constraints and Credential Shortcuts (Lines 10–17): EAI applications frequently operate in local-network environments where standard PKI-based authentication is difficult to deploy. Developers therefore embed static credentials or SDK keys directly within the application to simplify device initialization and authorization, weakening credential security and exposing secrets to reverse engineering. Unlike traditional Android apps, EAI applications face unique design pressures—such as local connectivity, real-time demands, and proprietary SDKs—that drive recurring cryptographic misuses. This necessitates a largescale empirical analysis to determine whether these vulnerabilities represent a systemic structural weakness across the ecosystem, or if they concentrate in specific domains tied to physical device control. 4.2

Threat Model and Attack Surface

In this measurement study, we assume a realistic, unprivileged attacker model targeting the mobile-side trust boundary. We assume the cloud infrastructure and the internal hardware of the embodied device are trusted and secure. The attacker’s capabilities are restricted to the following:

Cryptographic Misuse in Embodied AI Mobile Apps

7

1. Reverse Engineer (APK Access): The attacker can easily download the public EAI mobile application package from app markets and perform static reverse engineering to extract embedded assets, decompiled logic, and hardcoded cryptographic parameters. 2. Local Network Eavesdropper (MitM): The attacker is situated on the same local network as the mobile device and the EAI entity (e.g., a shared Wi-Fi network, or within the broadcast range of the device’s AP hotspot). The attacker can intercept, observe, and inject network traffic. Attacker Goals & Impact: Unlike traditional attackers seeking data theft, the adversary in our EAI threat model aims for Unauthorized Cyber-Physical Actuation. By exploiting mobile-side cryptographic misuses (e.g., extracting a hardcoded session key to forge authentication tokens, or injecting malicious payloads into a plaintext control stream), the attacker seeks to bypass the nominal authorization mechanisms. The ultimate goal is to hijack the command channel, forcing the EAI device to execute unauthorized physical movements (e.g., altering a drone’s flight path) or causing kinetic harm, completely independent of the legitimate user’s control.

5

Design of EAGLE

As illustrated in Fig. 2, the proposed EAGLE (Embodied AI Global Leakage Evaluation) consists of four sequential stages: dataset construction, preprocessing, static detection, and security posture assessment. Stage Ⅰ Dataset Construction & Input Candidate Application

Stage Ⅱ Dataset Preprocessing

Stage Ⅲ Static Analysis & Detection

Stage Ⅳ Security Posture Assessment

Filter Embodied AI related apps APK Files

Android OS

Sample Pool

Security Ruleset

Packing Detection Static Analysis Engine high-recall keywords

Manual Sampling & Validation

Detection Accuracy Metrics

Is Packed?

Keyword Filtering Human Validation Rule Loading

Detection

DEX

Dynamic Unpacking constructed dataset:EAIAppZoo

Third-party Library Filtering

Unpacked and Decompiled Apps

Unified JSON Results

Security Posture Analysis & Visualization

Physical Risk Mapping

Fig. 2: Overview of the EAGLE framework.

Stage I: Dataset Construction and Input. The measurement pipeline begins with dataset construction, aiming to establish a representative sample of real-world embodied AI mobile applications before any security analysis is performed. Starting from candidate applications collected from mainstream app

8

X. Wang et al.

markets and open repositories, we first filter embodied AI related apps according to functional relevance, focusing on applications that directly participate in device control, telemetry, or local interaction with physical agents. To improve recall, a keyword-based filtering strategy is applied using domainrelevant terms associated with drones, quadruped robots, educational robots, cleaning robots, and other embodied AI products. Because keyword filtering alone inevitably introduces noise, a manual validation step follows to remove irrelevant applications and confirm physical-control relevance. This process produces the final benchmark dataset, EAIAppZoo, which serves as the input for subsequent large-scale security measurement. Stage II: Dataset Preprocessing To support automated large-scale analysis, each APK in EAIAppZoo is transformed into an analyzable intermediate representation through systematic preprocessing. We first unpack application packages and decompile DEX bytecode into Java-like source code using JADX [20], while simultaneously preserving manifest metadata and package structures. Compared with raw bytecode, this representation provides higher semantic readability for tracking cryptographic API usage and credential logic. Because EAI applications frequently rely on commercial protection mechanisms, the pipeline performs packing detection before analysis. If an application is identified as packed, dynamic unpacking is applied to recover executable code before further processing. After unpacking and decompilation, third-party libraries are aggressively filtered to reduce framework noise. Common generic dependencies (e.g., androidx, okhttp3, retrofit2) are excluded unless they directly interact with application-defined security logic. This ensures that the measurement reflects the security posture of EAI developers and proprietary SDK supply chains rather than generic Android framework behavior. Stage III: Static Analysis and Detection Static analysis is driven by a rule-based semantic detection engine built on Semgrep. A custom security ruleset is loaded to identify cryptographic misuse patterns in decompiled source code. The rules target five major categories of security weaknesses frequently observed in mobile and IoT software: weak cryptographic primitives, insecure parameter configurations, weak randomness, hardcoded secrets, and plaintext or insecure communication practices. For each application, the static analysis engine scans source files against the loaded ruleset and records all matched findings in a unified JSON format. Each finding preserves not only the matched code pattern itself, but also associated metadata such as file location, API context, and local surrounding code structures. This unified result format enables subsequent large-scale aggregation while preserving enough semantic detail for downstream interpretation. The rules target five major categories of security weaknesses frequently observed in mobile and IoT software: weak cryptographic primitives, insecure parameter configurations, weak randomness, hardcoded secrets, and plaintext or insecure communication practices.

Cryptographic Misuse in Embodied AI Mobile Apps

9

Table 2: Cryptographic misuse categories in EAGLE and example CWE mappings. Rule Category

Representative Description

Example CWE

Weak Cryptographic Deprecated or broken algorithms used CWE-327, Primitives in security-sensitive logic (e.g., MD5, CWE-328 DES, SHA-1). [6,11,30] Insecure Crypto- Unsafe parameter choices such as fixed CWE-323, graphic Parameter IVs, ECB mode, or improper padding. CWE-326 [2,10,29] Configurations Weak Randomness Predictable randomness sources or Generation insecure pseudo-random generators in cryptographic operations. [2,10,30]

CWE-329, CWE-330

Hardcoded Keys or Static secrets embedded in code or Sensitive Parameters assets, including keys, certificates, or authentication credentials. [22]

CWE-798, CWE-321

Insecure Communi- Plaintext transport or disabled cation Configurations certificate / hostname verification in communication channels. [19]

CWE-295, CWE-319

To improve methodological transparency, Table 2 further summarizes the operational rule inventory instantiated in the EAGLE pipeline. For each misuse category, we report the number of concrete detection rules together with their aligned CWE semantics, which serve as the standardized external reference for interpreting the security meaning of each matched finding. This rule inventory provides the operational basis for the subsequent largescale scanning process, ensuring that ecosystem-level measurements remain both semantically grounded and reproducible across heterogeneous EAI application contexts. Stage IV: Security Posture Assessment The final stage translates raw detection outputs into ecosystem-level security assessment. To estimate detection reliability, we perform manual sampling and validation on stratified subsets of findings, allowing us to compute detection accuracy metrics and calibrate the interpretation of static results. At the ecosystem level, aggregated JSON outputs are used for security posture analysis and visualization. Both absolute misuse counts and normalized misuse densities are computed to avoid scale bias across applications of different sizes. This supports cross-category comparison of misuse prevalence and concentration. To bridge static findings with embodied AI risk, findings located near communication interfaces, pairing logic, authentication modules, or control-relevant code paths are further interpreted under physical risk mapping. This contextu-

10

X. Wang et al.

alization allows the analysis to distinguish generic implementation flaws from security weaknesses that may directly weaken the mobile-device trust boundary and potentially affect physical actuation.

6

The EAIAppZoo and Measurement Setup

6.1

EAIAppZoo Dataset Construction

To support the large-scale measurement of cryptographic misuses and ,QGXVWULDO$JULFXOWXUDO5RERWV answer our research questions, we re- (GXFDWLRQDO6RFLDO5RERWV    :HDUDEOHV quire a highly representative, real  8$9V   world dataset. To this end, we con  structed EAIAppZoo, a benchmark 7RWDO  dataset containing 507 in-the-wild  &OHDQLQJ5RERWV  Android applications.  These applications were systemat  6HUYLFH5RERWV ically collected from official application markets (e.g., Google Play) and the AndroZoo [1] repository. Candi- Fig. 3: Category distribution in EAIApdate applications were initially re- pZoo. trieved using a comprehensive set of device-related keywords associated with embodied AI scenarios. However, to ensure the validity of our measurement regarding cyber-physical impact, we applied a strict manual filtering process. We excluded applications that serve merely as static manuals, companion guides, or cloud-only dashboards. Only applications explicitly designed to establish active control paths with physical devices—via local pairing, remote control, real-time monitoring, telemetry synchronization, or firmware updates—were retained. As illustrated in Fig. 3, the finalized EAIAppZoo covers six distinct embodied AI domains: wearable devices, service robots, industrial and agricultural robots, educational and social robots, cleaning robots, and unmanned aerial vehicles (UAVs). This structural diversity enables us to observe domain-specific security trade-offs and variations in cryptographic implementations across the EAI ecosystem. 6.2

Measurement Execution Environment

To ensure consistency and eliminate manual bias across the large-scale measurement, all 507 applications within the EAIAppZoo were processed using our automated, semantic-aware analysis pipeline. Each application was evaluated independently through a standardized workflow: decompilation, third-party noise filtering, rule matching, and control-path contextualization. The ecosystem-wide measurement was conducted on a high-performance workstation running Ubuntu 24.04.3 LTS, equipped with a 13th Gen Intel Core

Cryptographic Misuse in Embodied AI Mobile Apps

11

i9-13900HX CPU and 32 GB of memory, which provided sufficient computational resources for handling heavily obfuscated and large-scale APKs. The pipeline utilized JADX (v1.5.3) for reliable source-code reconstruction and Semgrep [4] (v1.146.0) as the core AST-matching engine. For each application, the pipeline generated a comprehensive security profile containing the total number of scanned files, distinct cryptographic misuses, and critically, the structural location of each finding (e.g., whether a hardcoded key was found within a local Wi-Fi pairing module). These structured outputs serve as the foundational data points for our subsequent statistical analysis and root-cause investigations.

7

Measurement Results and Analysis

To systematically address our research questions, this section presents the findings from our large-scale measurement of cryptographic misuses in EAI mobile applications. 7.1

Prevalence and Distribution of Misuses (RQ1)

Ecosystem-wide Prevalence. Our measurement identifies 12,975 distinct cryptographic misuses across the 507 applications. As illustrated in Fig. 4, weak cryptographic primitives and insecure communication practices overwhelmingly dominate the EAI mobile landscape. The persistent use of deprecated algorithms (e.g., MD5, DES, and SHA-1 in security-sensitive control paths) and permissive transport configurations (e.g., disabled hostname verification, plaintext HTTP/TCP) indicates a severe and widespread degradation of basic trust Fig. 4: Overall frequency of the mechanisms. Concentration Effects Across Ap- five cryptographic misuse categories plications. Beyond aggregate prevalence, across the EAIAppZoo. cryptographic misuses are not evenly dispersed across applications, but instead exhibit a clear concentration effect. A relatively small subset of applications contributes a disproportionately large number of misuse instances, suggesting the presence of high-risk clusters within the ecosystem. This skewed distribution implies that security weaknesses are not purely random implementation errors, but are instead influenced by shared development practices, common codebases, or domain-specific design patterns. Weak Primitives 4247

Weak Randomness

Insecure Communication

3938

1614

1000

2000

3000

4000

98

3078

Hardcoded Keys / Sensitive Parameters

Insecure Crypto Parameters

5000

12

X. Wang et al.

Domain-Specific Distribution Patterns. To further understand how these risks are distributed across application categories, we analyze the normalized misuse composition across the six EAI domains. Fig. 5 presents the category-level distribution of misuse classes. We observe that UAVs and Educational Robots are heavily associated with insecure communication configurations, with a significant proportion of applications relying on plaintext channels for telemetry and command delivery. In contrast, Cleaning and Service Robots show a pronounced concentration of weak cryptographic primitives, indicating that while encryption mechanisms are Fig. 5: Distribution of cryptographic misuse catpresent, they often rely on egories across EAI domains. outdated or insecure algorithms that provide limited effective protection. Weak Primitives

1903

1226

615

291

200

12

Insecure Communication

1641

1075

676

254

288

4

7

6

Weak Parameters

1373

960

323

223

177

22

Weak Randomness

704

407

290

115

91

7

Hardcoded Secrets

38

4

log(1+Count)

5

3

2

33

11

8

s

ts ots obo Rob ral R cial / So nal atio c u d

1

8

0

gR

anin

Cle

ts

obo

ice

Serv

ots

UAV

Rob

s Indu

trial

ric / Ag

ultu

bles

ara We

E

Takeaway for RQ1. Cryptographic misuses are both widespread and structurally uneven across the EAI mobile ecosystem: they exhibit strong concentration effects at the application level and clear domain-dependent risk patterns, indicating that security weaknesses are shaped by both shared implementation practices and category-specific design choices. 7.2

Framework Reliability and Detection Precision (RQ2)

To assess the reliability of the proposed semantic-aware analysis pipeline, we conducted a manual validation of detection results before deriving ecosystem-level conclusions. Because large-scale static analysis may introduce false positives under heterogeneous application contexts, especially when third-party libraries and obfuscated code coexist with application-specific logic, it is necessary to verify whether matched code patterns correspond to practically meaningful cryptographic misuses. We adopted a stratified random sampling strategy across the six EAI application categories. In total, 244 control-relevant findings were manually inspected by security analysts to determine whether each matched instance reflected an actual cryptographic misuse under realistic code semantics. The validation results are summarized in Table 3. Among the 244 sampled findings, 197 were confirmed as true positives, yielding an overall precision of 80.74%, which indicates that the proposed pipeline achieves robust detection accuracy at ecosystem scale.

Cryptographic Misuse in Embodied AI Mobile Apps

13

Table 3: Manual accuracy evaluation across six embodied AI categories. Application Category Sampled Findings TP Precision Cleaning Robots 87 75 86.21% Service Robots 57 50 87.72% Unmanned Aerial Vehicles 29 24 82.76% Industrial/Agricultural Robots 14 10 71.43% Educational/Social Robots 12 9 75.00% Wearable Devices 45 29 64.44% Total 244 197 80.74%

Detection precision remains highly stable across most domains. Wearable applications exhibit relatively lower precision (64.44%), primarily because several findings originate from mature third-party DRM libraries whose internal cryptographic routines trigger static rules but are partially shielded by native-layer wrappers and aggressive obfuscation. Takeaway for RQ2. The proposed semantic-aware analysis pipeline achieves robust practical precision (80.74%) across heterogeneous EAI domains, indicating that it provides sufficient reliability to support ecosystemlevel security measurement despite the presence of obfuscation and thirdparty library interference.

7.3

Cyber-Physical Impact and Exploitability (RQ3)

To complement the macro-level statistics, we demonstrate how these mobileside cryptographic misuses practically bypass nominal network protections and translate into physical threats. We highlight three representative real-world case studies extracted from the EAIAppZoo. Case 1: Rogue Device Takeover via Hardcoded PKI (mTLS Failure). A service robot application was found to initialize a gRPC channel using embedded client-side certificate material. Although the communication stack nominally adopts mTLS, the client private key is packaged directly inside the APK, making the authentication boundary ineffective. The corresponding code excerpt is provided in Appendix A.1. Physical Impact. An attacker can easily extract client-key.pem through lightweight reverse engineering. By loading the key into a custom script, the attacker can emulate a legitimate mobile client, bypass the mTLS trust boundary, and issue unauthorized physical actuation commands to the robot from within the network. Case 2: Kinetic Collision via Plaintext Command Injection. A robotic arm control application was found to transmit MQTT commands over unencrypted TCP, exposing the physical command channel without transportlayer protection. The corresponding code excerpt is provided in Appendix A.2.

14

X. Wang et al.

Physical Impact. Without transport protection, control payloads are broadcast in plaintext. A local Man-in-the-Middle attacker can not only eavesdrop on the robot’s state, but also replay or inject forged commands (e.g., {"action":"rotate_max"}), forcing unsafe movements that may lead to kinetic collisions and physical damage. Case 3: Full-Chain Compromise—From Hardcoded Keys to Home Network Breach and Kinetic Hijacking. The most critical phase of EAI deployment is offline device provisioning, where the mobile app transmits the user’s home Wi-Fi credentials to the robot via a local channel. To bypass dynamic key exchange complexities during this offline phase, developers often fallback to embedding static symmetric keys directly in the application bytecode. The static initialization logic of an AESUtil class extracted from a commercial quadruped robot application reveals that both the AES secretKey and the Initialization Vector (IV) are embedded as static constants in application code. The corresponding code excerpt is provided in Appendix A.3. This implementation is a textbook manifestation of CWE-321 (Use of Hard-coded Cryptographic Key) [21]. Because these constants are identical across all application installations globally, an attacker can trivially extract them via static reverse engineering. Armed with the globally shared secretKey and static IV, the attacker can passively intercept and decrypt the entire provisioning session over the air. Table 4 illustrates the sequential decryption of the intercepted provisioning frames using the extracted key.

Table 4: Decrypted provisioning frames exposing sensitive credentials. Frame Decrypted Payload (Hex) 706 52 0d 01 01 01 XX XX XX XX XX XX XX a2 746 52 04 07 a3 816 52 04 02 a8 7778 52 05 03 02 a4 7804 7846 7893

Parsed Semantic Meaning cmd=SECRET, payload=[Redacted] cmd=GET_AP_MAC cmd=GET_SN cmd=WIFI_TYPE, type=0x02 (WPA2) 52 0f 04 01 01 49 49 43 33 31 cmd=WIFI_SSID, 37 5f 35 47 4e SSID="IIC317_5G" 52 0e 05 01 01 69 69 63 31 32 cmd=WIFI_PWD, 33 34 35 65 PWD="iic12345" 52 07 06 43 4e 01 0f cmd=COUNTRY, "CN", net_open=1

Systemic and Cyber-Physical Impact: This single cryptographic degradation effectively turns the EAI mobile app into a Trojan horse. An unauthenticated attacker outside the victim’s house can sniff the encrypted packets, decrypt them, and immediately recover the plaintext WPA2 password of the victim’s home network (Frame 7846).

Cryptographic Misuse in Embodied AI Mobile Apps

15

Once the attacker joins the home Wi-Fi using the stolen credentials, they bypass all perimeter firewalls, allowing lateral movement to compromise other smart home devices. More dangerously, the attacker can reuse these hardcoded parameters to forge valid, encrypted kinetic control payloads. As illustrated in Fig. 6, from within the local network, the attacker can inject forged motion commands, forcing the quadruped robot into unFig. 6: Physical hijacking of a Unitree safe physical states (e.g., triggering a quadruped robot after command injecsudden collapse or forcing it to stand). tion. This successfully completes a full attack chain: transforming a static mobile credential flaw into a severe home network breach and immediate physical hijacking. Takeaway for RQ3. Representative case studies show that mobile-side cryptographic misuses are not confined to software-layer weaknesses: once embedded into EAI control paths, they can directly undermine authentication boundaries, expose local trust anchors, and enable practical cyber-physical attacks ranging from unauthorized command injection to full physical hijacking of embodied devices.

8

Related Work

8.1

Security Research on Embodied AI Systems

Recent security studies on embodied AI systems mainly focus on vulnerabilities in device-side architectures, model robustness, and system-level trustworthiness. Existing work has examined sensor robustness, actuator safety constraints, and sim-to-real deployment risks, showing that physical uncertainty and environmental disturbances may directly affect safe interaction in embodied environments [14,32,5,15]. At the model level, recent studies further show that embodied systems inherit jailbreak vulnerabilities from large language models, enabling malicious prompts to induce unsafe robotic behaviors or unintended physical actions [27,33,26]. Privacy leakage caused by multimodal sensing and unsafe data exposure has also become an important concern in embodied environments [23,8,9]. At the software and system level, prior work emphasizes trustworthy decisionmaking, legal accountability, and human–robot trust mechanisms [25,16,12]. Recent system-oriented analyses argue that embodied AI security should be evaluated as an integrated cyber-physical system rather than isolated modules [31,13]. However, existing studies still primarily concentrate on robot-side

16

X. Wang et al.

software stacks, middleware, and cloud infrastructures, while the mobile layer that directly mediates user control, authentication, and command delivery remains insufficiently examined. 8.2

Cryptographic Misuse in Mobile Applications

Cryptographic misuse has long been recognized as a persistent security problem in Android applications because incorrect cryptographic implementations directly weaken confidentiality, authentication, and secure communication. Prior studies report widespread issues such as hardcoded secrets, weak cryptographic primitives, insecure random number generation, and improper certificate validation across large Android ecosystems [11,17]. Subsequent large-scale analyses further show that cryptographic API misuse often originates from insecure code reuse, insufficient developer expertise, or incorrect API configuration [30,22]. Recent work also explores automated repair and risk prioritization mechanisms to improve practical mitigation of cryptographic weaknesses [29,6]. More broadly, mobile application security analysis commonly adopts static, dynamic, or hybrid approaches to detect vulnerabilities at scale [18,24,3,7,28,19]. However, most existing cryptographic misuse studies focus on conventional application domains such as finance, communication, or utilities, where security consequences remain largely digital. In embodied AI scenarios, mobile applications directly participate in device provisioning, command transmission, and clouddevice coordination, making mobile-side cryptographic weaknesses potentially more consequential because trust failures may propagate into cyber-physical interaction processes. Overall, current literature has not systematically examined how cryptographic weaknesses manifest in embodied AI mobile applications, motivating the large-scale measurement in this work.

9

Conclusion and Future Work

This paper presents the first large-scale measurement study of cryptographic misuses within the EAI mobile ecosystem. By analyzing 507 real-world applications and identifying 12,975 security flaws, we reveal that mobile companion apps have become the most fragile cryptographic trust boundary in cyber-physical systems. Our findings demonstrate that widespread vulnerabilities—such as hardcoded symmetric keys and plaintext control channels—are not isolated coding errors, but systemic engineering compromises driven by low-latency demands, legacy SDK inheritance, and offline provisioning constraints. Ultimately, these mobile-side degradations allow adversaries to bypass nominal network defenses and execute unauthorized physical hijacking of EAI entities. Future work will expand upon this static ecosystem measurement by incorporating dynamic execution analysis and physical testbed validations. This will allow us to further systematically map how these mobile-layer cryptographic failures propagate into complex cyber-physical attack chains in real-world deployment environments.

Cryptographic Misuse in Embodied AI Mobile Apps

17

Acknowledgments. The authors would like to thank the anonymous reviewers for their valuable comments and suggestions. Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.

References 1. Alecci, M., Jiménez, P.J.R., Allix, K., Bissyandé, T.F., Klein, J.: Androzoo: A retrospective with a glimpse into the future. In: Proceedings of the 21st International Conference on Mining Software Repositories. pp. 389–393 (2024) 2. Ami, A.S., Cooper, N., Kafle, K., Moran, K., Poshyvanyk, D., Nadkarni, A.: Why crypto-detectors fail: A systematic evaluation of cryptographic misuse detection techniques. In: 2022 IEEE Symposium on Security and Privacy (SP). pp. 614–631. IEEE (2022) 3. Bartel, A., Klein, J., Monperrus, M., Le Traon, Y.: Static analysis for extracting permission checks of a large scale framework: The challenges and solutions for analyzing android. IEEE Transactions on Software Engineering 40(6), 617–632 (2014) 4. Bennett, G., Hall, T., Winter, E., Counsell, S.: Semgrep*: Improving the limited performance of static application security testing (sast) tools. In: Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering. pp. 614–623 (2024) 5. Bousmalis, K., Irpan, A., Wohlhart, P., Bai, Y., Kelcey, M., Kalakrishnan, M., Downs, L., Ibarz, J., Pastor, P., Konolige, K., Levine, S., Vanhoucke, V.: Using simulation and domain adaptation to improve efficiency of deep robotic grasping. In: 2018 IEEE International Conference on Robotics and Automation (ICRA). pp. 4243–4250 (2018). https://doi.org/10.1109/ICRA.2018.8460875 6. Braga, A., Dahab, R., Antunes, N., Laranjeiro, N., Vieira, M.: Understanding how to use static analysis tools for detecting cryptography misuse in software. IEEE Transactions on Reliability 68(4), 1384–1403 (2019). https://doi.org/10.1109/TR. 2019.2937214 7. Buddhdev, B., Bhan, R., Gaur, M.S., Laxmi, V.: Dynadroid: Dynamic binary instrumentation based app behavior monitoring framework. In: Proceedings of the 8th International Conference on Security of Information and Networks. pp. 322–325 (2015) 8. Calo, R.: The boundaries of privacy harm. Ind. LJ 86, 1131 (2011) 9. Chatzimichali, A., Harrison, R., Chrysostomou, D.: Toward privacy-sensitive human–robot interaction: Privacy terms and human–data interaction in the personal robot era. Paladyn, Journal of Behavioral Robotics 12(1), 160–174 (2020). https://doi.org/10.1515/pjbr-2021-0013 10. Chen, Y., Liu, Y., Wu, K.L., Le, D.V., Chau, S.Y.: Towards precise reporting of cryptographic misuses. In: NDSS (2024) 11. Egele, M., Brumley, D., Fratantonio, Y., Kruegel, C.: An empirical study of cryptographic misuse in android applications. In: Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security. pp. 73–84 (2013) 12. Esterwood, C., Robert Jr, L.P.: Three strikes and you are out!: The impacts of multiple human–robot trust violations and repairs on robot trustworthiness. Computers in Human behavior 142, 107658 (2023)

18

X. Wang et al.

13. Huang, Y., Li, J., Ma, B., Dai, X., Xu, M., Xu, K., Zhang, Y., Wang, J., Cheng, X.: Beyond model jailbreak: Systematic dissection of the “ten deadly sins” in embodied intelligence. arXiv preprint (2025) 14. Ji, J., Qiu, T., Chen, B., Zhang, B., Lou, H., Wang, K., Duan, Y., He, Z., Vierling, L., Hong, D., Zhou, J., Zhang, Z., Zeng, F., Dai, J., Pan, X., Ng, K.Y., O’Gara, A., Xu, H., Tse, B., Fu, J., McAleer, S., Yang, Y., Wang, Y., Zhu, S.C., Guo, Y., Gao, W.: Ai alignment: A comprehensive survey (2025) 15. Kaushik, R., Arndt, K., Kyrki, V.: Safeapt: Safe simulation-to-real robot learning using diverse policies learned in simulation. IEEE Robotics and Automation Letters 7(3), 6838–6845 (2022) 16. Kok, B.C., Soh, H.: Trust in robots: Challenges and opportunities. Current robotics reports 1(4), 297–309 (2020) 17. Li, K.: Static and dynamic analysis in cryptographic-api misuse detection of mobile application (2021) 18. Li, L., Bissyandé, T.F., Papadakis, M., Rasthofer, S., Bartel, A., Octeau, D., Klein, J., Traon, L.: Static analysis of android apps: A systematic literature review. Information and Software Technology 88, 67–95 (2017) 19. Liu, Y., Zuo, C., Zhang, Z., Guo, S., Xu, X.: An automatically vetting mechanism for ssl error-handling vulnerability in android hybrid web apps. World Wide Web 21(1), 127–150 (2018) 20. Mauthe, N., Kargén, U., Shahmehri, N.: A large-scale empirical study of android app decompilation. In: 2021 IEEE international conference on software analysis, evolution and reengineering (SANER). pp. 400–410. IEEE (2021) 21. MITRE Corporation: CWE-321: Use of Hard-coded Cryptographic Key. https: //cwe.mitre.org/data/definitions/321.html (2026), accessed 15 Mar 2026 22. Mykhaylova, O., Fedynyshyn, T., Platonenko, A.: Hardcoded credentials in android apps: Service exposure and category-based vulnerability analysis. Cybersecurity Providing in Information and Telecommunication Systems II 2024 3826, 206–211 (2024) 23. Nasr, M., Carlini, N., Hayase, J., Jagielski, M., Cooper, A.F., Ippolito, D., Choquette-Choo, C.A., Wallace, E., Tramer, F., Lee, K.: Scalable extraction of training data from (production) language models. arXiv preprint (2023) 24. Qin, J., Zhang, H., Guo, J., Wang, S., Wen, Q., Shi, Y.: Vulnerability detection on android apps–inspired by case study on vulnerability related with web functions. IEEE Access 8, 106437–106451 (2020) 25. Rachum-Twaig, O.: Whose robot is it anyway?: Liability for artificial-intelligencebased robots. U. Ill. L. Rev. p. 1141 (2020) 26. Ravichandran, Z., Robey, A., Kumar, V., Pappas, G.J., Hassani, H.: Safety guardrails for llm-enabled robots. IEEE Robotics and Automation Letters (2026) 27. Robey, A., Ravichandran, Z., Kumar, V., Hassani, H., Pappas, G.J.: Jailbreaking llm-controlled robots. In: 2025 IEEE International Conference on Robotics and Automation (ICRA). pp. 11948–11956 (2025). https://doi.org/10.1109/ICRA55743. 2025.11128119 28. Shi, S., Wang, X., Lau, W.C.: Mossot: An automated blackbox tester for single sign-on vulnerabilities in mobile applications. In: Proceedings of the 2019 ACM Asia Conference on Computer and Communications Security. pp. 269–282 (2019) 29. Singleton, L., Zhao, R., Siy, H., Song, M.: Firebugs: Finding and repairing cryptography api misuses in mobile applications. In: 2021 IEEE 45th Annual Computers, Software, and Applications Conference (COMPSAC). pp. 1194–1201 (2021). https://doi.org/10.1109/COMPSAC51774.2021.00165

Cryptographic Misuse in Embodied AI Mobile Apps

19

30. Sun, C., Xu, X., Wu, Y., Zeng, D., Tan, G., Ma, S., Wang, P.: Cryptoeval: Evaluating the risk of cryptographic misuses in android apps with data-flow analysis. IET Information Security 17(4), 582–597 (2023) 31. Tan, X., Liu, B., Bao, Y., Tian, Q., Gao, Z., Wu, X., Luo, Z., Wang, S., Zhang, Y., Wang, X., et al.: Towards safe and trustworthy embodied ai: foundations, status, and prospects. arXiv preprint (2025) 32. Winfield, A.F.T., Swana, M., Ives, J., Hauert, S.: On the ethical governance of swarm robotic systems in the real world. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 383(2289), 20240142 (Jan 2025). https://doi.org/10.1098/rsta.2024.0142 33. Zhang, H., Zhu, C., Wang, X., Zhou, Z., Yin, C., Li, M., Xue, L., Wang, Y., Hu, S., Liu, A., Guo, P., Zhang, L.Y.: Badrobot: Jailbreaking embodied llms in the physical world. arXiv (2024)

A

Representative Code Snippets

A.1

Case 1: Embedded Client Private Key in mTLS Initialization

Listing 1.2 shows the embedded client private key used during gRPC channel initialization. private final ManagedChannel newChannel(String host, int port) throws IOException { 2 Application app = AppUtils.INSTANCE.getApp(); 3 InputStream ca = app.getAssets().open("cert/ca-cert.pem"); 4 InputStream cert = app.getAssets().open("cert/client-cert.pem"); 5 InputStream key = app.getAssets().open("cert/client-key.pem"); 6 // ... 7 } 1

Listing 1.2: Embedded client private key rendering mTLS authentication ineffective.

A.2

Case 2: Plaintext MQTT Command Transmission

Listing 1.3 shows the plaintext MQTT initialization logic extracted from the robotic arm control application. public class MQTTService extends Service { public static final String baseHost = "192.168.1.103:1883"; 3 public void init() { 4 this.host = "tcp://" + baseHost; 5 MqttAndroidClient client = new MqttAndroidClient(this, this. host, this.clientId); 6 } 7 } 1 2

Listing 1.3: Plaintext MQTT communication exposing the physical command channel.

20

X. Wang et al.

A.3

Case 3: Hardcoded AES Parameters in Offline Provisioning

Listing 1.4 shows the static AES initialization logic extracted from the quadruped robot control application. Sensitive byte positions are partially masked for responsible disclosure. static { AESUtil aESUtil = new AESUtil(); 3 INSTANCE = aESUtil; 4 TAG = "AESUtil --> "; 5 CHARSET_UTF8 = StandardCharsets.UTF_8; 6 IV = aESUtil.byteArrayOfInts(40, 65, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, 154, 79); 7 secretKey = aESUtil.byteArrayOfInts(223, 152, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, 18, 74); 8 } 1 2

Listing 1.4: Hardcoded AES key and static IV in a quadruped robot control application.

Related documents

Record · ID 290526 · SHA-256 5182c34d8e64e26f
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive