What You Code Is What We Prove: Translating BLE App Logic into Formal Models with LLMs for Vulnerability Detection
Biwei Yan
Yue ZhangMinghui XuRunyu PanJinku Li
Xiuzhen Cheng Biwei Yan

Yue Zhang
Minghui Xu
Runyu Pan
Jinku Li

Xiuzhen Cheng
+6
VerifiaBLE reframes BLE application security analysis as a semantic translation problem from code to formal models. Instead of directly detecting vulnerabilities, large language models (LLMs) serve as translators converting BLE-specific code into process models verifiable by tools like ProVerif. The system combines static analysis, prompt-guided LLM translation, and symbolic verification to check encryption, randomness, and authentication. Applied to 1,050 Android BLE apps, it reveals systemic weaknesses: only 10.2% of apps implement all three protections, while 53.9% omit them entirely.

arXiv ·
· September 11, 2025