{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,24]],"date-time":"2026-11-24T13:09:23Z","timestamp":1795525763621,"version":"4.11.0"},"reference-count":61,"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":["62402146 and 62362021"],"award-info":[{"award-number":["62402146 and 62362021"]}],"id":[{"id":"https:\/\/ror.org\/01h0zpd94","id-type":"ROR","asserted-by":"crossref"}]}],"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>\n                    As the Ethereum platform continues to mature and gain widespread usage, it is crucial to maintain high standards of smart contract writing practices. While bad practices in smart contracts may not directly lead to security issues, they elevate the risk of encountering problems. Therefore, to understand and avoid these bad practices, this article introduces the first systematic study of bad practices in smart contracts, delving into over 47 specific issues. Specifically, we propose Smart Contract Audit Language Model (\n                    <jats:sc>SCALM)<\/jats:sc>\n                    , an LLM-powered framework featuring two methodological innovations: (1) A hybrid architecture that combines context-aware function-level slicing with knowledge-enhanced semantic reasoning via extensible vectorized pattern matching. (2) A multi-layer reasoning verification system connects low-level code patterns with high-level security principles through syntax, design patterns, and architecture analysis. Our extensive experiments using multiple LLMs and datasets have shown that\n                    <jats:sc>SCALM<\/jats:sc>\n                    outperforms existing tools in detecting bad practices in smart contracts.\n                  <\/jats:p>","DOI":"10.1145\/3795692","type":"journal-article","created":{"date-parts":[[2026,2,3]],"date-time":"2026-02-03T14:11:38Z","timestamp":1770127898000},"page":"1-21","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":7,"title":["No More Hidden Pitfalls? Exposing Smart Contract Bad Practices with LLM-Powered Hybrid Analysis"],"prefix":"10.1145","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6012-9178","authenticated-orcid":false,"given":"Xiaoqi","family":"Li","sequence":"first","affiliation":[{"name":"Hainan University, Haikou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-7233-9464","authenticated-orcid":false,"given":"Zongwei","family":"Li","sequence":"additional","affiliation":[{"name":"Hainan University, Haikou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4238-8846","authenticated-orcid":false,"given":"Wenkai","family":"Li","sequence":"additional","affiliation":[{"name":"Hainan University, Haikou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8306-7195","authenticated-orcid":false,"given":"Yuqing","family":"Zhang","sequence":"additional","affiliation":[{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-6012-9518","authenticated-orcid":false,"given":"Xin","family":"Wang","sequence":"additional","affiliation":[{"name":"Hainan University, Haikou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,9,17]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/3616855.3635856"},{"key":"e_1_3_1_3_2","unstructured":"Josh Achiam Steven Adler Sandhini Agarwal Lama Ahmad Ilge Akkaya Florencia Leoni Aleman Diogo Almeida Janko Altenschmidt Sam Altman Shyamal Anadkat et al. 2023. GPT-4 technical report. arXiv:2303.08774. Retrieved from https:\/\/arxiv.org\/abs\/2303.08774"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/3528226.3528370"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3687251.3687253"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3605098.3636003"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3623302"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.bcra.2024.100258"},{"key":"e_1_3_1_9_2","unstructured":"Jacob Devlin Ming-Wei Chang Kenton Lee and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. arXiv:1810.04805. Retrieved from https:\/\/arxiv.org\/abs\/1810.04805"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2025.126479"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/3637528.3671445"},{"key":"e_1_3_1_12_2","unstructured":"Zhengxiao Du Yujie Qian Xiao Liu Ming Ding Jiezhong Qiu Zhilin Yang and Jie Tang. 2022. GLM: General language model pretraining with autoregressive blank infilling. arXiv:2103.10360. Retrieved from https:\/\/arxiv.org\/abs\/2103.10360"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380364"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3709358"},{"key":"e_1_3_1_15_2","unstructured":"FIRST. 2019. Common Vulnerability Scoring System v3.1 Calculator. Retrieved July 15 2025 from https:\/\/www.first.org\/cvss\/calculator\/3-1"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3641846"},{"key":"e_1_3_1_17_2","unstructured":"Yunfan Gao Yun Xiong Xinyu Gao Kangxiang Jia Jinliu Pan Yuxi Bi Yi Dai Jiawei Sun Meng Wang and Haofen Wang. 2024. Retrieval-augmented generation for large language models: A survey. arXiv:2312.10997. Retrieved from https:\/\/arxiv.org\/abs\/2312.10997"},{"key":"e_1_3_1_18_2","unstructured":"Aaron Grattafiori Abhimanyu Dubey Abhinav Jauhri Abhinav Pandey Abhishek Kadian Ahmad Al-Dahle Aiesha Letman Akhil Mathur Alan Schelten Alex Vaughan et al. 2024. The Llama 3 herd of models. arXiv:2407.21783. Retrieved from https:\/\/arxiv.org\/abs\/2407.21783"},{"key":"e_1_3_1_19_2","unstructured":"Sasun Hambardzumyan Abhinav Tuli Levon Ghukasyan Fariz Rahman Hrant Topchyan David Isayan Mark McQuade Mikayel Harutyunyan Tatevik Hakobyan Ivo Stranic et al. 2022. Deep lake: A lakehouse for deep learning. arXiv:2209.10785. Retrieved from https:\/\/arxiv.org\/abs\/2209.10785"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/TPS-ISA58951.2023.00044"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.taml.2025.100583"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.lindif.2023.102274"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3711901"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695601"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3589335.3651488"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3412841.3442130"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-62974-8_20"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/TR.2024.3509414"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3643674"},{"key":"e_1_3_1_30_2","doi-asserted-by":"crossref","unstructured":"Ye Liu Yue Xue Daoyuan Wu Yuqiang Sun Yi Li Miaolei Shi and Yang Liu. 2024. PropertyGPT: LLM-driven formal verification of smart contracts through retrieval-augmented property generation. arXiv:2405.02580. Retrieved from https:\/\/arxiv.org\/abs\/2405.02580","DOI":"10.14722\/ndss.2025.241357"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/Blockchain62396.2024.00021"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978309"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1109\/Blockchain62396.2024.00064"},{"key":"e_1_3_1_34_2","unstructured":"Mythril. 2024. Mythril. Retrieved July 15 2025 from https:\/\/mythril-classic.readthedocs.io\/"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC57700.2023.00283"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3589335.3651580"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.3390\/s23010541"},{"key":"e_1_3_1_38_2","unstructured":"RikkaLzw. 2025. SolQuality: A Quality-Related Bad Practices Dataset for Smart Contracts. Retrieved October 19 2025 from https:\/\/github.com\/RikkaLzw\/SolQuality"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10586-021-03491-1"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.5555\/3620237.3620380"},{"key":"e_1_3_1_41_2","unstructured":"Chaofan Shou Jing Liu Doudou Lu and Koushik Sen. 2024. LLM4Fuzz: Guided fuzzing of smart contracts with large language models. arXiv:2401.11108. Retrieved from https:\/\/arxiv.org\/abs\/2401.11108"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-023-10398-5"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE59848.2023.00035"},{"key":"e_1_3_1_44_2","unstructured":"Gemini Team Petko Georgiev Ving Ian Lei Ryan Burnell Libin Bai Anmol Gulati Garrett Tanzer Damien Vincent Zhufeng Pan Shibo Wang et al. 2024. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. arXiv:2403.05530. Retrieved from https:\/\/arxiv.org\/abs\/2403.05530"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/EuroSP51992.2021.00018"},{"key":"e_1_3_1_46_2","unstructured":"Nuno Veloso. 2024. Conkas: A Modular and Static Analysis Tool for Ethereum Bytecode. Retrieved July 15 2025 from https:\/\/github.com\/nveloso\/conkas\/"},{"key":"e_1_3_1_47_2","unstructured":"G. Wagner. 2018. Eip-1470: Smart Contract Weakness Classification (SWC). Retrieved July 15 2025 from https:\/\/github.com\/ethereum\/EIPs"},{"issue":"8","key":"e_1_3_1_48_2","first-page":"1","article-title":"Advanced smart contract vulnerability detection via LLM-powered multi-agent systems","volume":"14","author":"Wei Zhiyuan","year":"2025","unstructured":"Zhiyuan Wei, Jing Sun, Yuqiang Sun, Ye Liu, Daoyuan Wu, Zijian Zhang, Xianhao Zhang, Meng Li, Yang Liu, Chunmiao Li, et al. 2025. Advanced smart contract vulnerability detection via LLM-powered multi-agent systems. IEEE Transactions on Software Engineering 14, 8 (2025), 1\u201316.","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_1_49_2","unstructured":"Zhiyuan Wei Jing Sun Zijiang Zhang Xianhao Zhang Meng Li and Zhe Hou. 2024. LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection. arXiv:2410.09381. Retrieved from https:\/\/arxiv.org\/abs\/2410.09381"},{"key":"e_1_3_1_50_2","unstructured":"Qingyun Wu Gagan Bansal Jieyu Zhang Yiran Wu Beibin Li Erkang Zhu Li Jiang Xiaoyun Zhang Shaokun Zhang Jiale Liu et al. 2023. Autogen: Enabling next-gen LLM applications via multi-agent conversation. arXiv:2308.08155. Retrieved from https:\/\/arxiv.org\/abs\/2308.08155"},{"key":"e_1_3_1_51_2","unstructured":"Shihao Xia Shuai Shao Mengting He Tingting Yu Linhai Song and Yiying Zhang. 2024. AuditGPT: Auditing Smart Contracts with ChatGPT. arXiv:2404.04306. Retrieved from https:\/\/arxiv.org\/abs\/2404.04306"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3699597"},{"key":"e_1_3_1_53_2","first-page":"19","volume-title":"Proceedings of the International Conference on Blockchain Technology and Applications (ICBTA \u201924)","author":"Yang Zhiju","year":"2024","unstructured":"Zhiju Yang, Gaoyuan Man, and Songqing Yue. 2024. Automated smart contract vulnerability detection using fine-tuned large language models. In Proceedings of the International Conference on Blockchain Technology and Applications (ICBTA \u201924), 19\u201323."},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.hcc.2024.100211"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3674725"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/QRS57517.2022.00025"},{"key":"e_1_3_1_57_2","unstructured":"Binbin Zhao Xingshuang Lin Yuan Tian Saman Zonouz Na Ruan Jiliang Li Raheem Beyah and Shouling Ji. 2025. Detecting functional bugs in smart contracts through LLM-powered and bug-oriented composite analysis. arXiv:2503.23718. Retrieved from https:\/\/arxiv.org\/abs\/2503.23718"},{"key":"e_1_3_1_58_2","unstructured":"Huaixiu Steven Zheng Swaroop Mishra Xinyun Chen Heng-Tze Cheng Ed. H. Chi Quoc V. Le and Denny Zhou. 2024. Take a step back: Evoking reasoning via abstraction in large language models. arXiv:2310.06117. Retrieved from https:\/\/arxiv.org\/abs\/2310.06117"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3383422"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER56733.2023.00027"},{"issue":"2","key":"e_1_3_1_61_2","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3628160","article-title":"CLFuzz: Vulnerability detection of cryptographic algorithm implementation via semantic-aware fuzzing","volume":"33","author":"Zhou Yuanhang","year":"2023","unstructured":"Yuanhang Zhou, Fuchen Ma, Yuanliang Chen, Meng Ren, and Yu Jiang. 2023. CLFuzz: Vulnerability detection of cryptographic algorithm implementation via semantic-aware fuzzing. ACM Transactions on Software Engineering and Methodology 33, 2 (2023), 1\u201328.","journal-title":"ACM Transactions on Software Engineering and Methodology"},{"key":"e_1_3_1_62_2","unstructured":"SlowMist Zone. 2024. SlowMist Hacked. Retrieved July 15 2025 from https:\/\/hacked.slowmist.io"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3795692","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T15:19:47Z","timestamp":1789658387000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3795692"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,17]]},"references-count":61,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2026,10,31]]}},"alternative-id":["10.1145\/3795692"],"URL":"https:\/\/doi.org\/10.1145\/3795692","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-07-15","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-12-15","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"}}]}}