Improving smart contract security with contrastive learning-based vulnerability detection

Y Chen, Z Sun, Z Gong, D Hao - Proceedings of the IEEE/ACM 46th …, 2024 - dl.acm.org
Currently, smart contract vulnerabilities (SCVs) have emerged as a major factor threatening
the transaction security of blockchain. Existing state-of-the-art methods rely on deep learning …

Wasai: uncovering vulnerabilities in wasm smart contracts

W Chen, Z Sun, H Wang, X Luo, H Cai… - Proceedings of the 31st …, 2022 - dl.acm.org
WebAssembly (Wasm) smart contracts have shown growing popularity across blockchains
(eg, EOSIO) recently. Similar to Ethereum smart contracts, Wasm smart contracts suffer from …

Automated transpilation of imperative to functional code using neural-guided program synthesis

B Mariano, Y Chen, Y Feng, G Durrett… - Proceedings of the ACM on …, 2022 - dl.acm.org
While many mainstream languages such as Java, Python, and C# increasingly incorporate
functional APIs to simplify programming and improve parallelization/performance, there are …

Safeguarding defi smart contracts against oracle deviations

X Deng, SM Beillahi, C Minwalla, H Du… - Proceedings of the …, 2024 - dl.acm.org
This paper presents OVer, a framework designed to automatically analyze the behavior of
decentralized finance (DeFi) protocols when subjected to a" skewed" oracle input. OVer …

SolType: refinement types for arithmetic overflow in solidity

B Tan, B Mariano, SK Lahiri, I Dillig… - Proceedings of the ACM on …, 2022 - dl.acm.org
As smart contracts gain adoption in financial transactions, it becomes increasingly important
to ensure that they are free of bugs and security vulnerabilities. Of particular relevance in this …

Smart contracts refinement for gas optimization

K Nelaturu, SM Beillahi, F Long… - 2021 3rd conference on …, 2021 - ieeexplore.ieee.org
Smart contracts facilitate the execution of programmable code on a blockchain. The cost for
executing smart contract code is metered using gas-the exact amount of which is based on …

Satisfiability modulo custom theories in Z3

N Bjørner, C Eisenhofer, L Kovács - International Conference on …, 2023 - Springer
We introduce user-propagators as a new feature of the Z3 SMT solver. User-propagation
allows users to write custom theory extensions for Z3, by implementing callbacks via the Z3 …

Synthesis-powered optimization of smart contracts via data type refactoring

Y Chen, Y Wang, M Goyal, J Dong, Y Feng… - Proceedings of the ACM …, 2022 - dl.acm.org
Since executing a smart contract on the Ethereum blockchain costs money (measured in
gas), smart contract developers spend significant effort in reducing gas usage. In this paper …

Learning contract invariants using reinforcement learning

J Liu, Y Chen, B Tan, I Dillig, Y Feng - Proceedings of the 37th IEEE/ACM …, 2022 - dl.acm.org
Due to the popularity of smart contracts in the modern financial ecosystem, there has been
growing interest in formally verifying their correctness and security properties. Most existing …

[PDF][PDF] Using my functions should follow my checks: understanding and detecting insecure OpenZeppelin code in smart contracts

H Liu, D Wu, Y Sun, H Wang, K Li… - 33rd USENIX Security …, 2024 - daoyuan14.github.io
OpenZeppelin is a popular framework for building smart contracts. It provides common
libraries (eg, SafeMath), implementations of Ethereum standards (eg, ERC20), and reusable …