Billions in Buggy Bitcoin Bindings

Having written (imperfectly) both software and contracts, the enthusiasm for smart contracts has surprised me. Adrian Colyer put this deliciously today:

I’m sure many readers of The Morning Paper are also relatively experienced programmers. So how does this challenge sound? I want you to write a program that has to run in a concurrent environment under Byzantine circumstances where any adversary can invoke your program with any arguments of their choosing. The environment in which your program executes (and hence any direct or indirect environmental dependencies) is also under adversary control. If you make a single exploitable mistake or oversight in the implementation, or even in the logical design of the program, then either you personally or perhaps the users of your program could lose a substantial amount of money. Where your program will run, there is no legal recourse if things go wrong. Oh, and once you release the first version of your program, you can never change it. It has be right first time.

I don’t think there are many experienced programmers that would fancy taking on this challenge. But call it ‘writing a smart contract’ and programmers are lining up around the block to have a go! Most of them it seems, get it wrong.

That's from Mr. Colyer's summary of the paper Zeus: Analyzing safety of smart contracts by Kalra, Goel, Dhawan, and Sharma (IBM Research India) at NDSS 2018. Kalra, et al found almost 95% of the cryptocurrency contracts studied (worth more than half a billion US$, though wait a few minutes and that will change) they examined were buggy. Both the summary and the paper are worth reading.

Five days a week Mr. Colyer posts an incisive summary of a technical paper, a remarkable dedication to self-education and public education by a guy whose day job is venture capital. I've learned a lot from him, though I've occasionally found him a bit uncritically accepting of authors' assertions.


要查看或添加评论,请登录

Dave Lewis的更多文章

  • My Take on ChatGPT and LLMs

    My Take on ChatGPT and LLMs

    A legal technology colleague asked for my opinion of ChatGPT today. Below is a slightly edited version of my email to…

    12 条评论
  • My Conspiracy Theory about DARPA's Hidden Lair Post: Conspiracy Theories

    My Conspiracy Theory about DARPA's Hidden Lair Post: Conspiracy Theories

    As widely reported, the Defense Advanced Research Projects Agency (DARPA) posted the following tweet on August 28th:…

  • Privacy, Search, and Email @ Archives 2018

    Privacy, Search, and Email @ Archives 2018

    I'm pleased to be speaking tomorrow (Thursday, 16Aug18) on a panel on privacy-preserving search of email archives at…

  • 3 Hats @ 2018 Archives

    3 Hats @ 2018 Archives

    I'm pleased to be speaking Thursday in DC on a panel on privacy-preserving search in email archives, at the ARCHIVES *…

  • PROFS #1 & SIGIR 0.731

    PROFS #1 & SIGIR 0.731

    I'm delighted to be giving a keynote talk in Ann Arbor this Thursday at the First International Workshop on…

  • Grand Pwning Unit

    Grand Pwning Unit

    Microarchitecture timing attacks are pretty scary, but can be kind of slow. Good thing attackers can't attach a…

  • The DOJ's Proposal for Machine Learning in the Michael Cohen Case

    The DOJ's Proposal for Machine Learning in the Michael Cohen Case

    Yesterday, the United States Attorney’s Office for the Southern District of New York proposed that a special master…

    13 条评论
  • Ola! An amazing legal tech conference in Brazil

    Ola! An amazing legal tech conference in Brazil

    I had the honor speaking on text analytics in the law last week at I Congresso Internacional de Direito e Tecnologia…

    4 条评论
  • AI & Law Panel tomorrow in Chicago

    AI & Law Panel tomorrow in Chicago

    I'm pleased to speaking on the panel Demystifying Artificial Intelligence: What Lawyers Need to Know About AI and…

  • Back from Tokyo

    Back from Tokyo

    SIGIR 2017, the 40th annual conference of the ACM Special Interest Group on Information Retrieval was a fantastic (and…

    5 条评论

社区洞察

其他会员也浏览了