Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications

23Citations
Citations of this article
33Readers
Mendeley users who have this article in their library.

Abstract

We propose VetSC, a novel UI-driven, program analysis guided model checking technique that can automatically extract contract semantics in DApps so as to enable targeted safety vetting. To facilitate model checking, we extract business model graphs from contract code that capture its intrinsic business and safety logic. To automatically determine what safety specifications to check, we retrieve textual semantics from DApp user interfaces. To exclude untrusted UI text, we also validate the UI-logic consistency and detect any discrepancies. We have implemented VetSC and applied it to 34 real-world DApps. Experiments have demonstrated that VetSC can accurately interpret smart contract code, enable autonomous safety vetting, and discover safety risks in real-world Dapps. Using our tool, we have successfully discovered 19 new safety risks in the wild, such as expired lottery tickets and double voting.

Cite

CITATION STYLE

APA

Duan, Y., Zhao, X., Pan, Y., Li, S., Li, M., Xu, F., & Zhang, M. (2022). Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications. In Proceedings of the ACM Conference on Computer and Communications Security (pp. 921–935). Association for Computing Machinery. https://doi.org/10.1145/3548606.3559384

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free