Automated Generation of Security-Centric Descriptions for Smart Contract Bytecode

被引:0
|
作者
Pan, Yu [1 ]
Xu, Zhichao [1 ]
Li, Levi Taiji [1 ]
Yang, Yunhe [1 ]
Zhang, Mu [1 ]
机构
[1] Univ Utah, Salt Lake City, UT 84112 USA
关键词
decentralized apps; smart contracts; textual description; program analysis; natural language generation;
D O I
10.1145/3597926.3598132
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Smart contract and DApp users are taking great risks, as they do not obtain necessary knowledge that can help them avoid using vulnerable and malicious contract code. In this paper, we develop a novel system Tx2TXT that can automatically create security-centric textual descriptions directly from smart contract bytecode. To capture the security aspect of financial applications, we formally define a funds transfer graph to model critical funds flows in smart contracts. To ensure the expressiveness and conciseness of the descriptions derived from these graphs, we employ a GCN-based model to identify security-related condition statements and selectively add them to our graph models. To convert low-level bytecode instructions to human-readable textual scripts, we leverage robust API signatures to recover bytecode semantics. We have evaluated Tx2TXT on 890 well-labeled vulnerable, malicious and safe contracts where developer-crafted descriptions are available. Our results have shown that Tx2TXT outperforms state-of-the-art solutions and can effectively help end users avoid risky contracts.
引用
收藏
页码:1244 / 1256
页数:13
相关论文
共 50 条
  • [1] Towards Automatic Generation of Security-Centric Descriptions for Android Apps
    Zhang, Mu
    Duan, Yue
    Feng, Qian
    Yin, Heng
    CCS'15: PROCEEDINGS OF THE 22ND ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2015, : 518 - 529
  • [2] Catering to Your Concerns: Automatic Generation of Personalised Security-Centric Descriptions for Android Apps
    Wu, Tingmin
    Tang, Lihong
    Zhang, Rongjunchen
    Wen, Sheng
    Paris, Cecile
    Nepal, Surya
    Grobler, Marthie
    Xiang, Yang
    ACM TRANSACTIONS ON CYBER-PHYSICAL SYSTEMS, 2019, 3 (04)
  • [3] Automating Comment Generation for Smart Contract from Bytecode
    Xiang, Jianhang
    Gao, Zhipeng
    Bao, Lingfeng
    Hu, Xing
    Chen, Jiayuan
    Xia, Xin
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (03)
  • [4] Automated Generation of Test Cases for Smart Contract Security Analyzers
    Kim, Ki Byung
    Lee, Jonghyup
    IEEE ACCESS, 2020, 8 : 209377 - 209392
  • [5] Security-Centric Evaluation Framework for IT Services
    Gupta, Smrati
    Ferrarons-Llagostera, Jaume
    Dominiak, Jacek
    Muntes-Mulero, Victor
    Matthews, Peter
    Rios, Erkuden
    GREEN, PERVASIVE, AND CLOUD COMPUTING (GPC 2017), 2017, 10232 : 736 - 747
  • [6] DefectChecker: Automated Smart Contract Defect Detection by Analyzing EVM Bytecode
    Chen, Jiachi
    Xia, Xin
    Lo, David
    Grundy, John
    Luo, Xiapu
    Chen, Ting
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 48 (07) : 2189 - 2207
  • [7] Lib2Desc: automatic generation of security-centric Android app descriptions using third-party libraries
    Cevik, Beyza
    Altiparmak, Nur
    Aksu, Murat
    Sen, Sevil
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2022, 21 (05) : 1107 - 1125
  • [8] Lib2Desc: automatic generation of security-centric Android app descriptions using third-party libraries
    Beyza Cevik
    Nur Altiparmak
    Murat Aksu
    Sevil Sen
    International Journal of Information Security, 2022, 21 : 1107 - 1125
  • [9] Concepts and architecture of a Security-centric Mobile Agent server
    Roth, V
    Jalali-Sohi, M
    5TH INTERNATIONAL SYMPOSIUM ON AUTONOMOUS DECENTRALIZED SYSTEMS, PROCEEDINGS, 2001, : 435 - 442
  • [10] A security-centric comparative study of PLEASE with existing GKM protocols
    Rhymend, Uthariarai, V
    Rangaraj, T. C.
    Srinivasan, S.
    Vennila S, Mary
    Sankaranarayanan, V
    CNSR 2007: PROCEEDINGS OF THE FIFTH ANNUAL CONFERENCE ON COMMUNICATION NETWORKS AND SERVICES RESEARCH, 2007, : 192 - +