Proceedings

Large Language Models for Blockchain Security and Analytics: A Survey

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Survey Track. Pages 7976-7985.

https://doi.org/10.24963/ijcai.2026/885

Abstract

Large Language Models (LLMs) are transforming blockchain security and analytics, yet a systematic evaluation of their capabilities remains limited. This survey provides a comprehensive, AI‑centric assessment of LLM‑based methods across over 70 recent studies spanning 11 application domains, such as security auditing, transaction fraud detection, and cryptocurrency portfolio management. Our unified taxonomy standardizes task formulations and evaluation practices to enable a comparison of six LLM roles across domains. For each domain, we review input representations tailored to blockchain data; LLM architectures, learning and inference paradigms, e.g., fine‑tuning, retrieval‑augmented generation, and agentic strategies. Our review analyzes the strengths, limitations, and emerging patterns of LLM roles observed in current systems. Finally, we provide practical guidance for selecting LLMs for specific roles and outline promising research directions.

  1. [Azad et al., 2025] Poupak Azad, Cuneyt Gurcan Akcora, and Arijit Khan. Machine learning for blockchain data analysis: Progress and opportunities. Distributed Ledger Technologies, 5(1), 2025.
  2. [Biagio et al., 2024] Boi Biagio, Christian Esposito, and Sokjoon Lee. Smart contract vulnerability detection: The role of large language model (LLM). ACM SIGAPP ACR, 24(2):19-29, 2024.
  3. [Chaffard et al., 2025] Owen Chaffard, Pablo Mollá, Marc Cavazza, and Helmut Prendinger. Enhancing large language models for Bitcoin time series forecasting. Knowledge-Based Systems, 330:114449, 2025.
  4. [Chang et al., 2025] Shuyu Chang, Chen Geng, Haiping Huang, Rui Wang, Qi Li, and Yang Zhang. Codespeak: Improving smart contract vulnerability detection via llm- assisted code analysis. JSS, page 112635, 2025.
  5. [Chegenizadeh et al., 2025] Mostafa Chegenizadeh, Zixian Pang, Junyong Cao, and Lundrim Azemi. Scalable blockchain analytics: an llm-powered approach. In ICBC, 2025.
  6. [Chen et al., 2025] Chong Chen, Jianzhong Su, Jiachi Chen, Yanlin Wang, Tingting Bi, Jianxing Yu, Yanli Wang, Xing- wei Lin, Ting Chen, and Zibin Zheng. When ChatGPT meets smart contract vulnerability detection: How far are we? ACM TOSEM, 34(4):1-30, 2025.
  7. [Corazza et al., 2025] Jan Corazza, Ivan Gavran, Gabriela Moreira, and Daniel Neider. Accessible smart contracts verification: Synthesizing formal models with tamed llms. In ICST, 2025.
  8. [Daspe et al., 2024] Etienne Daspe, Mathis Durand, Julien Hatin, and Salma Bradai. Benchmarking large language models for ethereum smart contract development. In BRAINS, 2024.
  9. [Dikovitsky, 2025] Vladimir Dikovitsky. Short-term cryp- tocurrency price forecasting based on news headline anal- ysis. Frontiers Blockchain, 8, 2025.
  10. [Dinara and Baizal, 2025] Alfara Nafi Dinara and ZKA Baizal. Large language model-based conversational rec- ommender system for personalizing long-term cryptocur- rency portfolio recommendation. In ICoICT, 2025.
  11. [Ding et al., 2025] Hao Ding, Yizhou Liu, Xuefeng Piao, Huihui Song, and Zhenzhou Ji. Smartguard: An llm- enhanced framework for smart contract vulnerability de- tection. Expert Syst. Appl., 269:126479, 2025.
  12. [Fan and Min, 2025] Sizheng Fan and Tian Min. Web3agent: Automating on-chain operations via natural language in- terfaces. ACM TWEB, 2025.
  13. [Fan et al., 2023] Angela Fan, Beliz Gokkaya, Mark Har- man, Mitya Lyubarskiy, Shubho Sengupta, Shin Yoo, and Jie M Zhang. Large language models for software engi- neering: Survey and open problems. In ICSE-FoSE, 2023.
  14. [Feng and Fan, 2025] Chi Feng and Lei Fan. Blocklens: De- tecting malicious transactions in ethereum using llm tech- niques. In ISC, 2025.
  15. [Gai et al., 2023] Yu Gai, Liyi Zhou, Kaihua Qin, Dawn Song, and Arthur Gervais. Blockchain large language models. arXiv:2304.12749, 2023.
  16. [Gai et al., 2025] Keke Gai, Haochen Liang, Jing Yu, Liehuang Zhu, and Dusit Niyato. Llama: Multi-feedback smart contract fuzzing framework with llm-guided seed generation. arXiv:2507.12084, 2025.
  17. [Gao et al., 2025] Sheng Gao, Wenting Liu, Jianming Zhu, Xuewen Dong, and Jin Dong. Bpmn-llm: Transforming bpmn models into smart contracts using large language models. IEEE Software, 2025.
  18. [Gebreab et al., 2025] Senay A. Gebreab, Ahmad Musamih, Khaled Salah, and Raja Jayaraman. Llm-based exploration and analysis of real-time and historical blockchain data. Expert Syst. Appl., page 129851, 2025.
  19. [Gong et al., 2026] Jianghao Gong, Peiqi Yan, Yue Zhang, Hongli An, and Logan Liu. Blockchain meets llms: A liv- ing survey on bidirectional integration. Expert Syst. Appl., 298:129851, 2026.
  20. [Hajaghaie and Thulasiram, 2025] Ahmadreza Hajaghaie and Ruppa K Thulasiram. Leveraging large language models and retrieval-augmented generation for enhanced multi-asset portfolio construction. In CiFer, 2025.
  21. [He et al., 2024] Zheyuan He, Zihao Li, Sen Yang, He Ye, Ao Qiao, Xiaosong Zhang, Xiapu Luo, and Ting Chen. Large language models for blockchain security: A system- atic literature review. arXiv:2403.14280, 2024.
  22. [Hu et al., 2023] Sihao Hu, Zhen Zhang, Bingqiao Luo, Shengliang Lu, Bingsheng He, and Ling Liu. Bert4eth: A pre-trained transformer for ethereum fraud detection. In WWW, 2023.
  23. [Hu et al., 2024] Sihao Hu, Tiansheng Huang, Ka-Ho Chow, Wenqi Wei, Yanzhao Wu, and Ling Liu. Zipzap: Efficient training of language models for large-scale fraud detection on blockchain. In WWW, 2024.
  24. [Islayem et al., 2025] Ruba Islayem, Senay Gebreab, Walaa AlKhader, Ahmad Musamih, Khaled Salah, Raja Jayara- man, and Muhammad Khurram Khan. Using large lan- guage models for enhanced fraud analysis and detection in blockchain based health insurance claims. Sci. Rep., 15(1):29763, 2025.
  25. [Ji et al., 2025] Songyan Ji, Mingyue Xu, Jin Wu, and Jian Dong. Fuzzlgen: Logical seed generation for smart con- tract fuzzing via llm-based agents and program analysis. In NDSS Symposium, 2025.
  26. [Jia et al., 2025] Yifan Jia, Yanbin Wang, Jianguo Sun, Ye Tian, and Peng Qian. Lmae4eth: Generalizable and robust ethereum fraud detection by exploring transaction semantics and masked graph embedding. TIFS, 2025.
  27. [Jin et al., 2024] Ming Jin, Shiyu Wang, Lintao Ma, Zhix- uan Chu, James Y. Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, and Qingsong Wen. Time-llm: Time series forecasting by reprogram- ming large language models. In ICLR, 2024.
  28. [Jin et al., 2025] Yanli Jin, Chunpei Li, Peng Fan, Peng Liu, Xianxian Li, Chen Liu, and Wangjie Qiu. LLM-BSCVM: an llm-based blockchain smart contract vulnerability man- agement framework. In International Conference on Al- gorithms and Architectures for Parallel Processing, pages 44-55. Springer, 2025.
  29. [Jung et al., 2025] Hae Sun Jung, Haein Lee, and Jang Hyun Kim. Detecting Bitcoin sentiment: Leveraging language model applications in sentiment analysis for Bitcoin price prediction. Neural Process. Lett., 57(5):77, 2025.
  30. [Karim et al., 2025] Md Monjurul Karim, Dong Hoang Van, Sangeen Khan, Qiang Qu, and Yaroslav Kholodov. Ai agents meet blockchain: A survey on secure and scal- able collaboration for multi-agents. Future Internet, 17(2), 2025.
  31. [Kayikci and Khoshgoftaar, 2024] Safak Kayikci and Taghi M Khoshgoftaar. Blockchain meets machine learning: A survey. J. Big Data, 11(9), 2024.
  32. [Kevin and Yugopuspito, 2025] Jun Kevin and Pujianto Yu- gopuspito. Smartllm: Smart contract auditing using cus- tom generative ai. In ICoCSETI, 2025.
  33. [Khan and Akcora, 2022] Arijit Khan and Cuneyt G. Ak- cora. Graph-based management and mining of blockchain data. In CIKM, 2022.
  34. [Lee et al., 2020] Xi Tong Lee, Arijit Khan, Sourav Sen Gupta, Yu Hann Ong, and Xuan Liu. Measurements, analyses, and insights on the entire ethereum blockchain network. In WWW, 2020.
  35. [Lei et al., 2025] Yuchen Lei, Yuexin Xiang, Qin Wang, Rafael Dowsley, Tsz Hon Yuen, Kim-Kwang Raymond Choo, and Jiangshan Yu. Large language models for cryptocurrency transaction analysis: A Bitcoin case study. arXiv:2501.18158, 2025.
  36. [Li et al., 2024] Yuan Li, Bingqiao Luo, Qian Wang, Nuo Chen, Xu Liu, and Bingsheng He. Cryptotrade: A re- flective llm-based agent to guide zero-shot cryptocurrency trading. In EMNLP, 2024.
  37. [Li et al., 2025] Haohang Li, Yupeng Cao, Yangyang Yu, Shashidhar Reddy Javaji, Zhiyang Deng, Yueru He, Yuechen Jiang, Zining Zhu, Kp Subbalakshmi, Jimin Huang, et al. Investorbench: A benchmark for financial decision-making tasks with llm-based agents. In ACL, 2025.
  38. [Liu et al., 2024] Chenghao Liu, Arunkumar Arulappan, Ranesh Naha, Aniket Mahanti, Joarder Kamruzzaman, and In-Ho Ra. Large language models and sentiment anal- ysis in financial markets: A review, datasets, and case study. IEEE Access, 12:134041-134061, 2024.
  39. [LIU et al., 2025] Ye LIU, Yue XUE, Daoyuan WU, Yuqiang SUN, Yi LI, Miaolei SHI, and Yang LIU. Prop- ertygpt: Llm-driven formal verification of smart contracts through retrieval-augmented property generation. In Net- work and Distributed System Security (NDSS) Symposium 2025. Internet Society, 2025.
  40. [Nguyen et al., 2025] Cong T Nguyen, Yinqiu Liu, Hongyang Du, Dinh Thai Hoang, Dusit Niyato, Diep N Nguyen, and Shiwen Mao. Generative ai-enabled blockchain networks: Fundamentals, applications, and case study. IEEE Netw., 39(2):232-241, 2025.
  41. [Nicholls et al., 2023] Jack Nicholls, Aditya Kuppa, and Nhien-An Le-Khac. Enhancing illicit activity detec- tion using xai: A multimodal graph-llm framework. arXiv:2310.13787, 2023.
  42. [Nicholls et al., 2024] Jack Nicholls, Aditya Kuppa, and Nhien-An Le-Khac. Large language model xai approach for illicit activity investigation in bitcoin. Neural Comput. Appl., pages 1-13, 2024.
  43. [Palaiokrassas et al., 2025] Georgios Palaiokrassas, Sarah Bouraga, and Leandros Tassiulas. Machine learning on blockchain data: A systematic mapping study. an annual review of information science and technology (arist) pa- per. JASIST, pages 1-48, 2025.
  44. [Popov and Roshka, 2024] Andrey Popov and Oleg Roshka. FolioLLM: Constructing Portfolio of ETFs using Large Language Models. Technical report, Stan- ford University, Department of Computer Science, 2024. https://web.stanford.edu/class/cs224n/final- reports/256938687.pdf. Link
  45. [Qin, 2024] Hao Qin. Revolutionizing cryptocurrency oper- ations: The role of domain-specific large language models (LLMs). IJCTT, 72(6):101-113, 2024.
  46. [Romandini et al., 2025] Nicolò Romandini, Carlo Maz- zocca, Kai Otsuki, and Rebecca Montanari. Sok: Secu- rity and privacy of ai agents for blockchain. In 2025 7th International Conference on Blockchain Computing and Applications (BCCA), pages 708-720. IEEE, 2025.
  47. [Sen and He, 2024] Yang Sen and Jiahao He. Sellm: An in- tegrated tool leveraging symbolic execution and llms for smart contract vulnerability detection. In ICCWAMTIP, 2024.
  48. [Sham et al., 2025] Nikumbh Sarthak Sham, Sandip Chakraborty, and Shamik Sural. Generation of optimized solidity code for machine learning models using LLMs. In ICBC, 2025.
  49. [Shou et al., 2024] Chaofan Shou, Jing Liu, Doudou Lu, and Koushik Sen. Llm4fuzz: Guided fuzzing of smart con- tracts with large language models. arXiv:2401.11108, 2024.
  50. [Simonyan, 2024] Aleksandr Simonyan. Breakgpt: Lever- aging large language models for predicting asset price surges. In Workshop on LLMs and Generative AI for Fi- nance@ICAIF, 2024.
  51. [Sun et al., 2024a] Yuqiang Sun, Daoyuan Wu, Yue Xue, Han Liu, Wei Ma, Lyuye Zhang, Yang Liu, and Yingjiu Li. Llm4vuln: A unified evaluation framework for de- coupling and enhancing llms' vulnerability reasoning. arXiv:2401.16185, 2024.
  52. [Sun et al., 2024b] Yuqiang Sun, Daoyuan Wu, Yue Xue, Han Liu, Haijun Wang, Zhengzi Xu, Xiaofei Xie, and Yang Liu. Gptscan: Detecting logic vulnerabilities in smart contracts by combining GPT with program analysis. In ICSE, 2024.
  53. [Sun et al., 2025a] Jianguo Sun, Yifan Jia, Yanbin Wang, Ye Tian, and Sheng Zhang. Ethereum fraud detection via joint transaction language model and graph representation learning. IF, 120:103074, 2025.
  54. [Sun et al., 2025b] Jiaze Sun, Zhiqiang Yin, Hengshan Zhang, Xiang Chen, and Wei Zheng. Adversarial gener- ation method for smart contract fuzz testing seeds guided by chain-based llm. ASE, 32(1):12, 2025.
  55. [Toyoda et al., 2024] Kentaroh Toyoda, Xiao Wang, Mingzhe Li, Bo Gao, Yuan Wang, and Qingsong Wei. Blockchain data analysis in the era of large-language models. arXiv:2412.09640, 2024.
  56. [Ural and Yoshigoe, 2023] Ozgur Ural and Kenji Yoshigoe. Survey on blockchain-enhanced machine learning. IEEE Access, 11:145331-145362, 2023.
  57. [Wahidur et al., 2024] Rahman SM Wahidur, Ishmam Tashdeed, Manjit Kaur, and Heung-No Lee. Enhancing zero-shot crypto sentiment with fine-tuned language model and prompt engineering. IEEE Access, 12:10146- 10159, 2024.
  58. [Wang et al., 2025] Lingxiang Wang, Hainan Zhang, Qin- nan Zhang, Ziwei Wang, Hongwei Zheng, Jin Dong, and Zhiming Zheng. Codebc: A more secure large language model for smart contract code generation in blockchain. arXiv:2504.21043, 2025.
  59. [Watson et al., 2025] Adriana Watson, Grant Richards, and Daniel Schiff. Explain first, trust later: Llm-augmented explanations for graph-based crypto anomaly detection. arXiv:2506.14933, 2025.
  60. [Wei et al., 2025] Zhiyuan Wei, Jing Sun, Yuqiang Sun, Ye Liu, Daoyuan Wu, Zijian Zhang, Xianhao Zhang, Meng Li, Yang Liu, Chunmiao Li, et al. Advanced smart contract vulnerability detection via llm-powered multi- agent systems. IEEE Trans. Softw. Eng., 2025.
  61. [Witt et al., 2025] Leon Witt, Armando Teles Fortes, Ken- taroh Toyoda, Wojciech Samek, and Dan Li. Blockchain and artificial intelligence: Synergies and conflicts. In Ad- vances in Artificial Intelligence, pages 89-108. Springer, 2025.
  62. [Wu et al., 2023] Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prab- hanjan Kambadur, David Rosenberg, and Gideon Mann. Bloomberggpt: A large language model for finance. arXiv:2303.17564, 2023.
  63. [Wu et al., 2024] Cong Wu, Jing Chen, Ziwei Wang, Ruichao Liang, and Ruiying Du. Semantic sleuth: Identi- fying ponzi contracts via large language models. In ASE, 2024.
  64. [Wu et al., 2025] Zhiying Wu, Jiajing Wu, Hui Zhang, Zibin Zheng, and Weiqiang Wang. Hunting in the dark forest: A pre-trained model for on-chain attack transaction detection in web3. In WWW, 2025.
  65. [Xia et al., 2024] Shihao Xia, Shuai Shao, Mengting He, Tingting Yu, Linhai Song, and Yiying Zhang. Auditgpt: Auditing smart contracts with ChatGPT. arXiv:2404.04306, 2024.
  66. [Xian et al., 2024] Youquan Xian, Xueying Zeng, Du- ancheng Xuan, Danping Yang, Chunpei Li, Peng Fan, and Peng Liu. Connecting large language models with blockchain: Advancing the evolution of smart contracts from automation to intelligence. arXiv:2412.02263, 2024.
  67. [Yang et al., 2023] Hongyang Yang, Xiao-Yang Liu, and Christina Dan Wang. Fingpt: Open-source financial large language models, 2023.
  68. [Yang et al., 2025] Shuo Yang, Xingwei Lin, Jiachi Chen, Qingyuan Zhong, Lei Xiao, Renke Huang, Yanlin Wang, and Zibin Zheng. Hyperion: Unveiling dapp inconsisten- cies using llm and dataflow-guided symbolic execution. In Proceedings of the IEEE/ACM 47th International Confer- ence on Software Engineering, pages 2125-2137, 2025.
  69. [Yu et al., 2025] Jiahao Yu, Xian Wu, Hao Liu, Wenbo Guo, and Xinyu Xing. Blockscan: Detecting anomalies in blockchain transactions. In NeurIPS, 2025.
  70. [Zhang et al., 2025a] Jie Zhang, Haoyu Bu, Hui Wen, Yongji Liu, Haiqiang Fei, Rongrong Xi, Lun Li, Yun Yang, Hong- song Zhu, and Dan Meng. When llms meet cybersecurity: a systematic literature review. Cybersecur., 8(1):55, 2025.
  71. [Zhang et al., 2025b] Lyuye Zhang, Kaixuan Li, Kairan Sun, Daoyuan Wu, Ye Liu, Haoye Tian, and Yang Liu. Acf ix: Guiding llms with mined common rbac practices for context-aware repair of access control vulnerabilities in smart contracts. IEEE Trans. Softw. Eng., 2025.
  72. [Zhang et al., 2026] Quanjun Zhang, Chunrong Fang, Yang Xie, Yaxin Zhang, Shengcheng Yu, Weisong Sun, Yun Yang, and Zhenyu Chen. A survey on large language mod- els for software engineering. Science China Information Sciences, 69(4):141102, 2026.
  73. [Zhou et al., 2024] Chenyu Zhou, Hongzhou Chen, Hao Wu, Junyu Zhang, and Wei Cai. Artemis: Detecting airdrop hunters in nft markets with a graph learning system. In WWW, pages 1824-1834, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards