A Unified Specification Mining Framework for Smart Contracts

被引:0
作者
Liu, Ye [1 ]
机构
[1] Nanyang Technol Univ, Singapore, Singapore
来源
PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022 | 2022年
基金
新加坡国家研究基金会;
关键词
Smart contract; specification mining;
D O I
10.1145/3551349.3559512
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Smart contracts are self-governed computer programs that run on blockchain to facilitate asset transfer between users within a trustless environment. The absence of contract specifications hinders routine tasks, such as program understanding, debugging, testing, and verification of smart contracts. In this work, we propose a unified specification mining framework to infer specification models from past transaction histories. These include access control models describing high-level authorization rules, program invariants capturing low-level program semantics, and behavior models characterizing interaction patterns allowed by contract implementations. The extracted specification models can be used to perform conformance checking on smart contracts, with the goal of eliminating unforeseen contract quality issues.
引用
收藏
页数:3
相关论文
共 30 条
  • [1] Behavioral Simulation for Smart Contracts
    Beillahi, Sidi Mohamed
    Ciocarlie, Gabriela
    Emmi, Michael
    Enea, Constantin
    [J]. PROCEEDINGS OF THE 41ST ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '20), 2020, : 470 - 486
  • [2] Chauhan P, 2002, LECT NOTES COMPUT SC, V2517, P33
  • [3] TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum
    Chen, Ting
    Zhang, Yufei
    Li, Zihao
    Luo, Xiapu
    Wang, Ting
    Cao, Rong
    Xiao, Xiuzhuo
    Zhang, Xiaosong
    [J]. PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'19), 2019, : 1503 - 1520
  • [4] Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contracts
    Durieux, Thomas
    Ferreira, Joao F.
    Abreu, Rui
    Cruz, Pedro
    [J]. 2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 530 - 541
  • [5] eips.ethereum.org, 2015, EIP-20: A standard interface for tokens
  • [6] The Daikon system for dynamic detection of likely invariants
    Ernst, Michael D.
    Perkins, Jeff H.
    Guo, Philip J.
    McCarnant, Stephen
    Pacheco, Carlos
    Tschantz, Matthew S.
    Xiao, Chen
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2007, 69 (1-3) : 35 - 45
  • [7] etherscan.io, 2020, Etherscan
  • [8] Slither: A Static Analysis Framework For Smart Contracts
    Feist, Josselin
    Greico, Gustavo
    Groce, Alex
    [J]. 2019 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB 2019), 2019, : 8 - 15
  • [9] github.com, 2022, OpenZeppelin
  • [10] Mining Positive and Negative Attribute-Based Access Control Policy Rules
    Iyer, Padmavathi
    Masoumzadeh, Amirreza
    [J]. SACMAT'18: PROCEEDINGS OF THE 23RD ACM SYMPOSIUM ON ACCESS CONTROL MODELS & TECHNOLOGIES, 2018, : 161 - 172