Side Contract Commitment Attacks on Blockchains

01/20/2023
by   Daji Landis, et al.
0

We identify a subtle security issue that impacts the design of smart contracts, because agents may themselves deploy smart contracts (side contracts). Typically, equilibria of games are analyzed in vitro, under the assumption that players cannot arbitrarily commit to strategies. However, equilibria thus obtained do not hold in general in vivo, when games are deployed on a blockchain. Being able to deploy side contracts changes fundamental game-theoretic assumptions by inducing a meta-game wherein agents strategize to deploy the best contracts. Not taking side contracts into account thus fails to capture an important aspect of deploying smart contracts in practice. A game that remains secure when the players can deploy side contracts is said to be side contract resilient. We demonstrate the non-triviality of side contract resilience by analyzing two smart contracts for decentralized commerce. These contracts have the same intended functionality, but we show that only one is side contract resilient. We then demonstrate a side contract attack on first-price auctions, which are the transaction mechanisms used by most major blockchains. We show that an agent may deploy a contract ensuring their transaction is included in the next block at almost zero cost while forcing most other agents to enter into a lottery for the remaining block space. This benefits all the users, but is detrimental to the miners. This might be cause for re-evaluation of the use of auctions in transaction fee mechanisms. We show that the attack works under certain conditions that hold with high probability from natural distributions. The attack also works against the transaction mechanism EIP-1559. Our work highlights an issue that is necessary to address to ensure the secure deployment of smart contracts and suggests that other contracts already deployed on major blockchains may be susceptible to these attacks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/07/2023

Stackelberg Attacks or: How I Learned to Stop Worrying and Trust the Blockchain

We identify a subtle security issue that impacts the design of smart con...
research
10/27/2018

Designing Refund Bonus Schemes for Provision Point Mechanism in Civic Crowdfunding

Civic crowdfunding is a practice with which interested players can raise...
research
07/09/2021

Game theory on the blockchain: a model for games with smart contracts

We propose a model for games in which the players have shared access to ...
research
08/02/2023

Stake Your Claim: Zero-Trust Validator Deployment Leveraging NFTs and Smart Contracts in Proof-of-Stake Networks

We present a novel method for a multi-party, zero-trust validator infras...
research
05/03/2023

Stackelberg Attacks on Auctions and Blockchain Transaction Fee Mechanisms

We study an auction with m identical items in a context where n agents c...
research
01/23/2019

AStERISK: Auction-based Shared Economy ResolutIon System for blocKchain

Recent developments in blockchains and edge computing allows to deploy d...
research
04/22/2019

Scalable, Secure and Broad-Spectrum Enforcement of Contracts, Without Blockchains

This paper introduces a scalable and secure contract-enforcement mechani...

Please sign up or login with your details

Forgot password? Click here to reset