Join Nostr
2026-09-07 21:07:49 UTC

John on Nostr: Is there clear case law on what crimes or liabilities a party commits by using a ...

Is there clear case law on what crimes or liabilities a party commits by using a logical bug in software (i.e. bitcoin) to move funds to themselves?

Yes — but the answer is a little more interesting than “there's a law against exploiting bugs.”

There is now a pretty direct U.S. precedent that deliberately exploiting a software bug in a crypto smart contract to extract funds can constitute a federal crime. But there is not yet a clean Supreme Court/appeals-level rule saying that any use of a logical bug to cause a protocol to transfer assets is theft.

The distinction matters enormously.

The clearest case: United States v. Ahmed
In 2022, Shakeeb Ahmed exploited vulnerabilities in two decentralized exchanges' smart contracts. In the Nirvana Finance attack, he discovered a flaw that allowed him to buy tokens for less than the contract was supposed to charge, then immediately sell them back at the higher price, extracting about $3.6 million.

That's almost exactly the hypothetical you're describing: the protocol's own code executed the transaction; Ahmed supplied inputs that caused the buggy logic to transfer value to him.

He pled guilty to computer fraud and was sentenced to 3 years in prison, plus forfeiture of about $12.3 million and restitution. DOJ explicitly described it as the first conviction for hacking a smart contract.

So “but the smart contract itself authorized the transaction” is emphatically not a guaranteed defense.

However, Ahmed's case was a guilty plea, so we don't have an appellate judicial opinion carefully deciding why the conduct constituted computer fraud.