Formal Verification Platform as a Service: WebAssembly Vulnerability Detection Application
Authors:
- LiangJun DengLDLiangJun Deng
- Hang LeiHLHang Lei
- Zheng YangZYZheng Yang
- WeiZhong QianWeiZhong Qian
- XiaoYu LiXLXiaoYu Li
- Hao WuHWHao Wu
- Sihao DengSDSihao Deng
- RuChao ShaRSRuChao Sha
- WeiDong DengWDWeiDong Deng
Open Access
- 1 January 2023
- journal article
- research article
- Published by Tech Science Press in Computer Systems Science and Engineering
- Vol. 45 (2) , 2155-2170
Abstract
In order to realize a general-purpose automatic formal verification platform based on WebAssembly technology as a web service (FVPS), which aims to provide an automated report of vulnerability detections, this work builds a Hyperledger Fabric blockchain runtime model. It proposes an optimized methodology of the functional equivalent translation from source program languages to formal languages. This methodology utilizes an external application programming interface (API) table to replace the source codes in compilation, thereby pruning the part of housekeeping codes to ease code inflation. Code inflation is a significant metric in formal language translation. Namely, minor code inflation enhances verification scale and performance efficiency. It determines the efficiency of formal verification, involving launching, running, and memory usage. For instance, path explosion increases exponentially, resulting in out-of-memory. The experimental results conclude that program languages like golang severely impact code inflation. FVPS reduces the wasm code size by over 90%, achieving two orders of optimization magnitude, from 2000 kilobyte (KB) to 90 KB. That means we can cope with golang applications up to 20 times larger than the original in scale. This work eliminates the gap between Hyperledger Fabric smart contracts and WebAssembly. Our approach is pragmatic, adaptable, extendable, and flexible. Nowadays, FVPS is successfully applied in a Railway-Port-Aviation blockchain transportation system.Keywords
This publication has 9 references indexed in Scilit:
- Robust Reversible Audio Watermarking Scheme for Telemedicine and Privacy ProtectionComputers, Materials & Continua, 2022
- Blockchain and Machine Learning for Intelligent Multiple Factor-Based Ride-Hailing ServicesComputers, Materials & Continua, 2022
- Secured Vehicle Life Cycle Tracking Using Blockchain and Smart ContractComputer Systems Science and Engineering, 2022
- Blockchain: Secured Solution for Signature Transfer in Distributed Intrusion Detection SystemComputer Systems Science and Engineering, 2022
- Multiple cloud storage mechanism based on blockchain in smart homesFuture Generation Computer Systems, 2021
- Hyperledger Fabric Blockchain: Secure and Efficient Solution for Electronic Health RecordsComputers, Materials & Continua, 2021
- ContractWard: Automated Vulnerability Detection Models for Ethereum Smart ContractsIEEE Transactions on Network Science and Engineering, 2020
- A Learning Framework for Intelligent Selection of Software Verification AlgorithmsJournal on Artificial Intelligence, 2020
- Smart Contract Fuzzing Based on Taint Analysis and Genetic AlgorithmsJournal of Information Hiding and Privacy Protection, 2020