SquirRL: Automating Attack Analysis on Blockchain Incentive Mechanisms with Deep Reinforcement Learning
Charlie Hou, Mingxun Zhou, Yan Ji, Phil Daian, Florian, Tramer, Giulia Fanti, Ari Juels

TL;DR
SquirRL employs deep reinforcement learning to analyze and uncover vulnerabilities in blockchain incentive mechanisms, revealing new attack strategies and challenging existing assumptions about their security properties.
Contribution
This work introduces SquirRL, a novel framework that automates attack analysis on blockchain incentives using deep reinforcement learning, discovering both known and new attack vectors.
Findings
Recovered known attacks like selfish mining and Nash equilibria.
Discovered flaws in the rushing adversary model.
Identified a new attack on Ethereum's Casper FFG.
Abstract
Incentive mechanisms are central to the functionality of permissionless blockchains: they incentivize participants to run and secure the underlying consensus protocol. Designing incentive-compatible incentive mechanisms is notoriously challenging, however. As a result, most public blockchains today use incentive mechanisms whose security properties are poorly understood and largely untested. In this work, we propose SquirRL, a framework for using deep reinforcement learning to analyze attacks on blockchain incentive mechanisms. We demonstrate SquirRL's power by first recovering known attacks: (1) the optimal selfish mining attack in Bitcoin [52], and (2) the Nash equilibrium in block withholding attacks [16]. We also use SquirRL to obtain several novel empirical results. First, we discover a counterintuitive flaw in the widely used rushing adversary model when applied to multi-agent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security
