{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T20:31:33Z","timestamp":1792787493107,"version":"4.5.0"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"10","license":[{"start":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T00:00:00Z","timestamp":1789603200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"National Natural Science Foundation of China","award":["62572024"],"award-info":[{"award-number":["62572024"]}],"id":[{"id":"https:\/\/ror.org\/01h0zpd94","id-type":"ROR","asserted-by":"crossref"}]},{"name":"National Key Research and Development Program of China","award":["2024YFB4506300"],"award-info":[{"award-number":["2024YFB4506300"]}]},{"name":"Fundamental Research Funds for the Central Universities"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2026,10,31]]},"abstract":"<jats:p>With the rapid growth of OpenHarmony, a new distributed OS, security and privacy issues have become major concerns. While taint analysis has proven effective in Android, OpenHarmony still lacks a comparable framework. Additionally, OpenHarmony\u2019s programming language, ArkTS, has several unique features compared to other languages like TypeScript and Java, including complex lifecycles, closure mechanisms, and a distinct API ecosystem. Directly adapting existing taint analysis tools for Android cannot achieve effectiveness in OpenHarmony applications.<\/jats:p>\n                  <jats:p>\n                    To address this challenge, we propose\n                    <jats:sc>HapFlow<\/jats:sc>\n                    , a novel taint analysis framework tailored specifically for the OpenHarmony platform and ArkTS programs. This work presents: (1) an LLM-assisted method for identifying and categorizing source APIs for OpenHarmony, (2) a lifecycle and callback functions modeling approach that supports declarative UI in ArkTS, and (3) an IFDS-based taint propagation extension that accurately handles closure-induced cross-function data flows in OpenHarmony applications. Therefore,\n                    <jats:sc>HapFlow<\/jats:sc>\n                    enables precise inter-procedural dataflow analysis for OpenHarmony applications. We validate\n                    <jats:sc>HapFlow<\/jats:sc>\n                    \u2019s effectiveness on the HapBench benchmark, achieving 96.15% precision and 94.34% recall. Furthermore,\n                    <jats:sc>HapFlow<\/jats:sc>\n                    identifies 73 sensitive data leak flows across over 3,000 open source projects with 8 false positives, completing over 98% of analyses within 10\u2009s. These results demonstrate\n                    <jats:sc>HapFlow<\/jats:sc>\n                    \u2019s practicability and scalability for taint analysis in OpenHarmony applications.\n                  <\/jats:p>","DOI":"10.1145\/3793863","type":"journal-article","created":{"date-parts":[[2026,2,24]],"date-time":"2026-02-24T11:37:39Z","timestamp":1771933059000},"page":"1-35","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["<scp>HapFlow<\/scp>\n                    : The Taint Analysis Framework for OpenHarmony Apps"],"prefix":"10.1145","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-0755-2572","authenticated-orcid":false,"given":"Haonan","family":"Chen","sequence":"first","affiliation":[{"name":"School of Software, Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3514-0372","authenticated-orcid":false,"given":"Mingyi","family":"Zhou","sequence":"additional","affiliation":[{"name":"School of Software, Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8793-5367","authenticated-orcid":false,"given":"Yanjie","family":"Zhao","sequence":"additional","affiliation":[{"name":"School of Cyber Science and Engineering, Huazhong University of Science and Technology, Wuhan, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2990-1614","authenticated-orcid":false,"given":"Li","family":"Li","sequence":"additional","affiliation":[{"name":"School of Software, Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,9,17]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"CodeQL. 2025. Retrieved November 1 2025 from https:\/\/codeql.github.com\/"},{"key":"e_1_3_2_3_2","unstructured":"ESLint. 2024. Find and fix problems in your JavaScript code. Retrieved July 9 2024 from https:\/\/eslint.org\/"},{"key":"e_1_3_2_4_2","unstructured":"Jetpack Compose. 2025. jetpackcompose. Retrieved November 1 2025 from https:\/\/jetpackcompose.cn\/docs\/tutorial"},{"key":"e_1_3_2_5_2","unstructured":"OpenHarmony. 2025. privacy protection. Retrieved July 9 2025 from https:\/\/docs.openharmony.cn\/pages\/v4.1\/zh-cn\/device-dev\/security\/security-privacy-protection.md"},{"key":"e_1_3_2_6_2","unstructured":"pyre-check. 2025. pysa. Retrieved November 1 2025 from https:\/\/github.com\/facebook\/pyre-check"},{"key":"e_1_3_2_7_2","unstructured":"Developers. 2024. Introduction to ArkTS: The Native Development Language of HarmonyOS. Retrieved March 19 2025 from https:\/\/developer.huawei.com\/consumer\/cn\/blog\/topic\/03176639732307027"},{"key":"e_1_3_2_8_2","unstructured":"Developers. 2025. ArkTS. Retrieved March 19 2025 from https:\/\/developer.huawei.com\/consumer\/cn\/arkts\/"},{"key":"e_1_3_2_9_2","unstructured":"Steven Arzt Siegfried Rasthofer and Eric Bodden. 2013. Susi: A tool for the fully automated classification and categorization of android sources and sinks. Technical Report TUDCS-2013-0114 University of Darmstadt."},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594299"},{"key":"e_1_3_2_11_2","first-page":"46","volume-title":"Proceedings of the International Conference on Software Engineering Research and Practice (SERP)","author":"Boxler Dan","year":"2018","unstructured":"Dan Boxler and Kristen R. Walcott. 2018. Static taint analysis tools to detect information flows. In Proceedings of the International Conference on Software Engineering Research and Practice (SERP). The Steering Committee of The World Congress in Computer Science, Computer Engineering and Applied Computing, 46\u201352."},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/1640089.1640108"},{"key":"e_1_3_2_13_2","unstructured":"Haonan Chen Daihang Chen Yizhuo Yang Lingyun Xu Liang Gao Mingyi Zhou Chunming Hu and Li Li. 2025. ArkAnalyzer: The static analysis framework for OpenHarmony. arXiv:2501.05798. Retrieved from https:\/\/arxiv.org\/abs\/2501.05798"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695364"},{"key":"e_1_3_2_15_2","first-page":"110","volume-title":"Proceedings of the Network and Distributed System Security","volume":"15","author":"Gordon Michael I.","year":"2015","unstructured":"Michael I. Gordon, Deokhwan Kim, Jeff H. Perkins, Limei Gilham, Nguyen Nguyen, and Martin C. Rinard. 2015. Information flow analysis of Android applications in DroidSafe. In Proceedings of the Network and Distributed System Security, Vol. 15, 110."},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3133926"},{"key":"e_1_3_2_17_2","first-page":"238","volume-title":"Proceedings of the International Static Analysis Symposium","author":"Holm Jensen Simon","year":"2009","unstructured":"Simon Holm Jensen, Anders M\u00f8ller, and Peter Thiemann. 2009. Type analysis for JavaScript. In Proceedings of the International Static Analysis Symposium. Springer, 238\u2013255."},{"key":"e_1_3_2_18_2","first-page":"229","volume-title":"Proceedings of the International Conference on Tools and Algorithms for the Construction and Analysis of Systems","author":"Karakaya Kadiray","year":"2024","unstructured":"Kadiray Karakaya, Stefan Schott, Jonas Klauke, Eric Bodden, Markus Schmidt, Linghui Luo, and Dongjie He. 2024. SootUp: A redesign of the soot static analysis framework. In Proceedings of the International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Springer, 229\u2013247."},{"key":"e_1_3_2_19_2","first-page":"230","volume-title":"Proceedings of the 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM)","author":"Krishnamurthy Ranjith","year":"2022","unstructured":"Ranjith Krishnamurthy, Goran Piskachev, and Eric Bodden. 2022. To what extent can we analyze Kotlin programs using existing Java taint analysis tools? In Proceedings of the 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM). IEEE, 230\u2013235."},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.48"},{"key":"e_1_3_2_21_2","doi-asserted-by":"crossref","unstructured":"Li Li Xiang Gao Hailong Sun Chunming Hu Xiaoyu Sun Haoyu Wang Haipeng Cai Ting Su Xiapu Luo Tegawend\u00e9 Bissyande et al. 2023. Software engineering for OpenHarmony: A research roadmap. ACM Computing Surveys 58 2 (2023) 1\u201336.","DOI":"10.1145\/3720538"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3640537.3641574"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3696630.3728556"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3696630.3728565"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695362"},{"key":"e_1_3_2_26_2","unstructured":"Benjamin Livshits. 2006. Improving Software Security with Precise Static and Runtime Analysis. Thesis. Stanford University."},{"key":"e_1_3_2_27_2","first-page":"229","volume-title":"Proceedings of the 2012 ACM Conference on Computer and Communications Security","author":"Lu Long","year":"2012","unstructured":"Long Lu, Zhichun Li, Zhenyu Wu, Wenke Lee, and Guofei Jiang. 2012. CHEX: Statically vetting android apps for component hijacking vulnerabilities. In Proceedings of the 2012 ACM Conference on Computer and Communications Security, 229\u2013240."},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jksuci.2023.01.009"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3127005.3127010"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3605232"},{"key":"e_1_3_2_31_2","first-page":"124","volume-title":"Proceedings of the 19th International Conference on Compiler Construction (CC \u201910), Held as Part of the Joint European Conferences on Theory and Practice of Software (ETAPS \u201910)","author":"Naeem Nomair A.","year":"2010","unstructured":"Nomair A. Naeem, Ond\u0159ej Lhot\u00e1k, and Jonathan Rodriguez. 2010. Practical extensions to the IFDS algorithm. In Proceedings of the 19th International Conference on Compiler Construction (CC \u201910), Held as Part of the Joint European Conferences on Theory and Practice of Software (ETAPS \u201910). Springer, 124\u2013144."},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3468264.3468556"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199462"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER56733.2023.00091"},{"key":"e_1_3_2_35_2","first-page":"393","volume-title":"Proceedings of the International Conference on Tools and Algorithms for the Construction and Analysis of Systems","author":"Schubert Philipp Dominik","year":"2019","unstructured":"Philipp Dominik Schubert, Ben Hermann, and Eric Bodden. 2019. PHASAR: An inter-procedural static analysis framework for C\/C++. In Proceedings of the International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Springer, 393\u2013410."},{"key":"e_1_3_2_36_2","first-page":"224","volume-title":"Proceedings of 11th ACM Conference on Security & Privacy in Wireless and Mobile Networks","author":"Spreitzer Raphael","year":"2018","unstructured":"Raphael Spreitzer, Gerald Palfinger, and Stefan Mangard. 2018. SCAnDroid: Automated side-channel analysis of Android APIs. In Proceedings of 11th ACM Conference on Security & Privacy in Wireless and Mobile Networks, 224\u2013235."},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/2892208.2892235"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598120"},{"key":"e_1_3_2_39_2","first-page":"1","volume-title":"Proceedings of 46th IEEE\/ACM International Conference on Software Engineering","author":"Tileria Marcos","year":"2024","unstructured":"Marcos Tileria, Jorge Blasco, and Santanu Kumar Dash. 2024. DocFlow: Extracting taint specifications from software documentation. In Proceedings of 46th IEEE\/ACM International Conference on Software Engineering, 1\u201312."},{"key":"e_1_3_2_40_2","first-page":"214","volume-title":"Proceedings of the CASCON 1st Decade High Impact Papers","author":"Vall\u00e9e-Rai Raja","unstructured":"Raja Vall\u00e9e-Rai, Phong Co, Etienne Gagnon, Laurie Hendren, Patrick Lam, and Vijay Sundaresan. 2010. Soot: A java bytecode optimization framework. In Proceedings of the CASCON 1st Decade High Impact Papers, 214\u2013224."},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.5555\/3620237.3620576"},{"key":"e_1_3_2_42_2","first-page":"932","volume-title":"Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE)","author":"Wang Chao","year":"2023","unstructured":"Chao Wang, Ronny Ko, Yue Zhang, Yuqing Yang, and Zhiqiang Lin. 2023. Taintmini: Detecting flow of sensitive data in mini-programs with static taint analysis. In Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 932\u2013944."},{"key":"e_1_3_2_43_2","first-page":"1477","volume-title":"Proceedings of 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering","author":"Wang Jie","year":"2020","unstructured":"Jie Wang, Yunguang Wu, Gang Zhou, Yiming Yu, Zhenyu Guo, and Yingfei Xiong. 2020. Scaling static taint analysis to industrial SOA applications: A case study at Alibaba. In Proceedings of 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 1477\u20131486."},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3183575"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3109563"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.3390\/app11167763"},{"key":"e_1_3_2_47_2","first-page":"110","volume-title":"Proceedings of 2023 IEEE\/ACM 45th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP)","author":"Zhong Zexin","year":"2023","unstructured":"Zexin Zhong, Jiangchao Liu, Diyu Wu, Peng Di, Yulei Sui, Alex X. Liu, and John C. S. Lui. 2023. Scalable compositional static taint analysis for sensitive data tracing on industrial micro-services. In Proceedings of 2023 IEEE\/ACM 45th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP). IEEE, 110\u2013121."}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3793863","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T15:20:48Z","timestamp":1789658448000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3793863"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,17]]},"references-count":46,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2026,10,31]]}},"alternative-id":["10.1145\/3793863"],"URL":"https:\/\/doi.org\/10.1145\/3793863","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,17]]},"assertion":[{"value":"2025-09-18","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-07","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-09-17","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}