喵ID:01Mt44免责声明

Automated Generation of Security-Centric Descriptions for Smart Contract Bytecode

基本信息

DOI:
10.1145/3597926.3598132
发表时间:
2023-07
期刊:
Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis
影响因子:
--
通讯作者:
Yufei Pan;Zhichao Xu;Li Li-Li;Yunhe Yang;Mu Zhang
中科院分区:
其他
文献类型:
--
作者: Yufei Pan;Zhichao Xu;Li Li-Li;Yunhe Yang;Mu Zhang研究方向: -- MeSH主题词: --
关键词: --
来源链接:pubmed详情页地址

文献摘要

Smart contract and DApp users are taking great risks, as they do not obtain necessary knowledge that can help them avoid using vulnera- ble 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 de- rived 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 out- performs state-of-the-art solutions and can effectively help end users avoid risky contracts
智能合约和去中心化应用(DApp)的用户面临着巨大风险,因为他们没有获取必要的知识来帮助自己避免使用有漏洞和恶意的合约代码。在本文中,我们开发了一种新颖的系统Tx2TXT,它能够直接从智能合约字节码自动创建以安全为核心的文本描述。为了捕捉金融应用的安全方面,我们正式定义了一个资金转移图来对智能合约中的关键资金流进行建模。为了确保从这些图中得出的描述具有表现力和简洁性,我们采用了一种基于图卷积网络(GCN)的模型来识别与安全相关的条件语句,并有选择地将它们添加到我们的图模型中。为了将低级字节码指令转换为人类可读的文本脚本,我们利用强大的应用程序编程接口(API)签名来恢复字节码语义。我们在890个有明确标注的存在漏洞、恶意以及安全的合约上对Tx2TXT进行了评估,这些合约都有开发者撰写的描述。我们的结果表明,Tx2TXT的性能优于现有最佳解决方案,并且能够有效地帮助终端用户避免有风险的合约。
参考文献(59)
被引文献(0)

数据更新时间:{{ references.updateTime }}

关联基金

CICI:SIVD:Context-Aware Vulnerability Detection in Configurable Scientific Computing Environments
批准号:
2115167
批准年份:
2021
资助金额:
49.98
项目类别:
Standard Grant
Yufei Pan;Zhichao Xu;Li Li-Li;Yunhe Yang;Mu Zhang
通讯地址:
--
所属机构:
--
电子邮件地址:
--
免责声明免责声明
1、猫眼课题宝专注于为科研工作者提供省时、高效的文献资源检索和预览服务;
2、网站中的文献信息均来自公开、合规、透明的互联网文献查询网站,可以通过页面中的“来源链接”跳转数据网站。
3、在猫眼课题宝点击“求助全文”按钮,发布文献应助需求时求助者需要支付50喵币作为应助成功后的答谢给应助者,发送到用助者账户中。若文献求助失败支付的50喵币将退还至求助者账户中。所支付的喵币仅作为答谢,而不是作为文献的“购买”费用,平台也不从中收取任何费用,
4、特别提醒用户通过求助获得的文献原文仅用户个人学习使用,不得用于商业用途,否则一切风险由用户本人承担;
5、本平台尊重知识产权,如果权利所有者认为平台内容侵犯了其合法权益,可以通过本平台提供的版权投诉渠道提出投诉。一经核实,我们将立即采取措施删除/下架/断链等措施。
我已知晓