Close Menu
Crypto Valley Journal
    Facebook X (Twitter) Instagram
    Crypto Valley Journal
    • Hot Topics
      • News
      • Minds
    • Focus
      • Background
      • Blockchain
      • Legal & Compliance
      • Non-Fungible Token (NFTs)
    • Investing
      • Markets
      • Financial Products
      • Decentralized Finance (DeFi)
      • Exchange overview
    • Education
      • Basics
      • Glossary
      • Politicians on crypto
    • Statistics
      • Bitcoin-ETF-Flows
      • Ethereum-ETF-Flows
      • Crypto market data
      • On-chain data
    • Academy
      • Overview
      • Part 1: Blockchain
      • Part 2: Money
      • Part 3: Bitcoin
      • Part 4: Cryptocurrencies
      • Part 5: Decentralized Finance
      • Part 6: Investing
    • English
      • Deutsch
    Crypto Valley Journal
    You are at:Home » Focus » Legal & Compliance » Lawsuit against DeFi hacker: code is not law
    KelpDAO hack: USD 292 million loss in the largest DeFi attack of 2026. Investors pulled more than USD 15 billion from the sector.
    Payments System Hacking. Online Credit Cards Payment Security Concept. Hacker in Black Gloves Hacking the System.

    Lawsuit against DeFi hacker: code is not law

    By Editorial Office CVJ.CH on 12. July 2023 Legal & Compliance

    A programmer from New York has been charged by the US prosecutor's office for allegedly stealing millions of dollars in cryptocurrencies by exploiting vulnerabilities in a decentralized finance platform (DeFi). Another case where the slogan "Code is Law" does not always hold true.

    The US prosecutor's office describes the case as the first criminal case related to an attack on a smart contract of a decentralized exchange. The authorities accuse the 34-year-old programmer, Shakeeb Ahmed, of exploiting a vulnerability in an undisclosed DeFi protocol. According to the prosecutor's office, the defendant managed to generate approximately $9 million in unjustifiably inflated fees through price manipulation. Later, Ahmed laundered the stolen funds through various platforms. The case bears some similarities to last year's Mango Markets exploit and seriously questions the DeFi principle of "Code is Law."

    Subscribe to our newsletter

    The best articles of the week, directly delivered into your mailbox.

    "White Hat" DeFi hacker faces court despite returning the funds

    Although the US prosecutor's office does not name the exploited DeFi platform, the amount stolen and the date of the exploit match the manipulation of the Crema Finance project. The decentralized exchange based on the Solana blockchain suffered an $8.8 million hack in July 2022 using a technique called a flash loan. Interestingly, the attacker only kept $1.5 million for themselves, returning the rest to the exchange. This is a common practice in the DeFi world. Attackers with "good intentions" are also known as "White Hat Hackers" (in contrast to malicious black hat hackers). DeFi hackers themselves apply this term quite liberally.

    In this case, Ahmed reached an agreement with Crema Finance to return all funds except for a "reward" of $1.5 million. However, the platform was not allowed to report the attack to law enforcement agencies. According to the prosecutor's office, Ahmed then sent the funds through various blockchains and protocols to obscure their origin. In the transparent blockchain world, this was not enough to evade law enforcement authorities. After the attack, Ahmed allegedly conducted online research related to the hack, including inquiries about possible legal consequences, searching for lawyers specializing in the field, and considering the possibility of fleeing the United States.

    Ray Dalio’s Bridgewater Associates Minds

    Star investor Ray Dalio considers Bitcoin inferior to gold

    A Reuters analysis estimates the Trump family's crypto gains at $2.3 billion, while investors incurred book losses of the same amount. Background

    Trump family earns $2.3 billion from crypto projects

    VanEck lists VBNB, the first US spot BNB ETF on Nasdaq. Sponsor fee 0.39%, custody at Anchorage Digital, no staking at launch. Financial Products

    VanEck launches first US BNB ETF (VBNB) on Nasdaq

    Digital finance transparency relies on Proof of Reserves, Merkle trees, MPC custody and 24/7 monitoring to verify solvency and user assets. Basics

    Transparency as the foundation of security in digital finance

    Ray Dalio’s Bridgewater Associates Minds

    Star investor Ray Dalio considers Bitcoin inferior to gold

    A Reuters analysis estimates the Trump family's crypto gains at $2.3 billion, while investors incurred book losses of the same amount. Background

    Trump family earns $2.3 billion from crypto projects

    Code is not law

    The attacker is facing charges of fraud and money laundering, each carrying a maximum prison sentence of 20 years. If convicted, a US court would confirm for the first time that code is not law in the blockchain world. The English slogan "Code is Law" describes the idea that in decentralized systems, the applicable rules and regulations are automated and enforced through the underlying code. This would make conventional legal oversight unnecessary.

    However, the court case proves that law enforcement authorities hold a different opinion. Manhattan's US Attorney Damian Williams stated that the Southern District of New York has always pursued "old-fashioned fraud" through novel technologies. After all, the DeFi market is not a lawless space, and only the law is law.

    U.S. Attorney Damian Williams announces the first-ever criminal case involving an attack on a smart contract operated by a decentralized cryptocurrency exchange pic.twitter.com/j3JPv2L612

    — US Attorney SDNY (@SDNYnews) July 11, 2023

    Share. Facebook Twitter LinkedIn Email Telegram WhatsApp

    About the author

    Editorial Office CVJ.CH
    • Website
    • Twitter
    • LinkedIn

    Since 2018, the editorial team at Crypto Valley Journal has been reporting from Zug - the heart of Switzerland’s Crypto Valley - on Bitcoin, cryptocurrency, blockchain, and regulatory developments in digital assets. Behind the publication’s collective editorial voice is a team of writers with backgrounds in financial markets, law, and technology.

    Related Articles

    Crypto sanctions against Russia: the 21st package proposes a first-ever ban on crypto services targeting entire third countries.

    EU Commission plans expanded crypto sanctions against Russia

    The White House completed its review of a DOL rule that would allow crypto and alternative investments in US 401(k) plans - a $14T market.

    Clarity Act: Scott Bessent pushes for passage

    Binance offers US stocks: commission-free trading of over 7,000 U.S. securities outside the US, plus bStocks on the BNB Chain.

    Crypto exchange Binance offers trading in US stocks and ETFs

    Crypto sanctions against Russia: the 21st package proposes a first-ever ban on crypto services targeting entire third countries.
    10. June 2026

    EU Commission plans expanded crypto sanctions against Russia

    MUFG, SMBC and Mizuho plan to jointly issue a yen stablecoin by March 2027, backed by the FSA pilot program and an LDP recommendation.
    10. June 2026

    Japan’s largest banks to issue yen stablecoin by 2027

    Anthropic releases Claude Fable 5 with automatic fallback across three high-risk areas, the first publicly available Mythos-class model.
    10. June 2026

    Anthropic releases Claude Fable 5, a safeguarded Mythos-class model

    twitter image button instagram image button linkedin image button youtube image button

    About Crypto Valley Journal
    About Crypto Valley Journal

    On the pulse of the movement

    • Academy
    • Contact
    • Advertising
    • About us
    • Partner
    • Imprint
    • Privacy
    • Disclaimer
    Search

    Type above and press Enter to search. Press Esc to cancel.