Panda: Security Analysis of Algorand Smart Contracts

被引:0
|
作者
Sun, Zhiyuan [1 ,2 ]
Luo, Xiapu [1 ]
Zhang, Yinqian [2 ]
机构
[1] Hong Kong Polytech Univ, Hong Kong, Peoples R China
[2] Southern Univ Sci & Technol, Shenzhen, Peoples R China
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Algorand has recently grown rapidly as a representative of the new generation of pure-proof-of-stake (PPoS) blockchains. At the same time, Algorand has also attracted more and more users to use it as a trading platform for non-fungible tokens. However, similar to traditional programs, the incorrect way of programming will lead to critical security vulnerabilities in Algorand smart contracts. In this paper, we first analyze the semantics of Algorand smart contracts and find 9 types of generic vulnerabilities. Next, we propose Panda, the first extensible static analysis framework that can automatically detect such vulnerabilities in Algorand smart contracts, and formally define the vulnerability detection rules. We also construct the first benchmark dataset to evaluate Panda. Finally, we used Panda to conduct a vulnerability assessment on all smart contracts on the Algorand blockchain and found 80,515 (10.38%) vulnerable smart signatures and 150,676 (27.73%) vulnerable applications. Of the vulnerable applications, 4,008 (4.04%) are still on the blockchain and have not been deleted. In the disclosure process, the vulnerabilities found by Panda have been acknowledged by many projects, including some critical blockchain infrastructures such as the decentralized exchange and the NFT auction platform.
引用
收藏
页码:1811 / 1828
页数:18
相关论文
共 50 条
  • [1] A Formal Model of Algorand Smart Contracts
    Bartoletti, Massimo
    Bracciali, Andrea
    Lepore, Cristian
    Scalas, Alceste
    Zunino, Roberto
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2021, PT I, 2021, 12674 : 93 - 114
  • [2] EOSAFE: Security Analysis of EOSIO Smart Contracts
    He, Ningyu
    Zhang, Ruiyi
    Wang, Haoyu
    Wu, Lei
    Luo, Xiapu
    Guo, Yao
    Yu, Ting
    Jiang, Xuxian
    PROCEEDINGS OF THE 30TH USENIX SECURITY SYMPOSIUM, 2021, : 1271 - 1288
  • [3] A Survey on Security Analysis Methods of Smart Contracts
    Zhu, Huijuan
    Yang, Lei
    Wang, Liangmin
    Sheng, Victor S.
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (06) : 4522 - 4539
  • [4] SECURIFY: Practical Security Analysis of Smart Contracts
    Tsankov, Petar
    Dan, Andrei
    Drachsler-Cohen, Dana
    Gervais, Arthur
    Bunzli, Florian
    Vechev, Martin
    PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18), 2018, : 67 - 82
  • [5] An Extensive Security Analysis on Ethereum Smart Contracts
    Ashouri, Mohammadreza
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM 2021, PT I, 2021, 398 : 144 - 163
  • [6] HORSTIFY: Sound Security Analysis of Smart Contracts
    Holler, Sebastian
    Biewer, Sebastian
    Schneidewind, Clara
    2023 IEEE 36TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM, CSF, 2023, : 245 - 260
  • [7] Machine Learning Model for Smart Contracts Security Analysis
    Momeni, Pouyan
    Wang, Yu
    Samavi, Reza
    2019 17TH INTERNATIONAL CONFERENCE ON PRIVACY, SECURITY AND TRUST (PST), 2019, : 272 - 277
  • [8] A Semantic Framework for the Security Analysis of Ethereum Smart Contracts
    Grishchenko, Ilya
    Maffei, Matteo
    Schneidewind, Clara
    PRINCIPLES OF SECURITY AND TRUST, POST 2018, 2018, 10804 : 243 - 269
  • [9] Security Smells in Smart Contracts
    Demir, Mehmet
    Alalfi, Manar
    Turetken, Ozgur
    Ferworn, Alexander
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 442 - 449
  • [10] Clockwork Finance: Automated Analysis of Economic Security in Smart Contracts
    Babel, Kushal
    Daian, Philip
    Kelkar, Mahimna
    Juels, Ari
    2023 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP, 2023, : 2499 - 2516