Close Menu
xpertsstudio

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    US government unlikely to buy Bitcoin for Strategic Reserve, says Bitget CEO

    August 21, 2026

    Solana Cuts Blockchain Slot Time to 350 Milliseconds, Targets 200ms Under SIMD-0525: how 12 outlets framed it

    August 21, 2026

    Standard Chartered Forecasts Bitcoin Will Retest All

    August 21, 2026
    Facebook Instagram YouTube WhatsApp TikTok Telegram
    xpertsstudio
    Facebook Instagram YouTube WhatsApp TikTok Telegram
    • Home
    • DeFi News
    • Altcoin News
    • Bitcoin News
    • Ethereum News
    • Crypto Business
    • Crypto Markets
    • Crypto Regulation
    • More
      • Blockchain & Web3
    xpertsstudio
    Home»DeFi News»A16z Crypto wants DeFi to ditch ‘code is law’ for ‘spec is law’ to combat $649m exploit problem
    August 19, 20260 Views

    A16z Crypto wants DeFi to ditch ‘code is law’ for ‘spec is law’ to combat $649m exploit problem

    EditorBy EditorAugust 19, 2026No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email Copy Link
    Follow Us
    Google News Flipboard
    A16z Crypto wants DeFi to ditch ‘code is law’ for ‘spec is law’ to combat $649m exploit problem
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Don't want to trade it yourself?

    Our desk runs DEX portfolios on profit share.

    35% Share
    $2.5K Minimum
    Learn more
    • DeFi protocols must adopt a more principled approach to security to mature.
    • They could use standardised specifications that constrain what a protocol is allowed to do.
    • Many protocols are already adopting so-called invariant checks.

    DeFi protocols must move beyond “patch-after-the-hack” security and hard-code safety guarantees into their software if the $168 billion sector is to mature, according to a16z Crypto.

    In a January 11 post, Daejun Park, a senior security researcher at the firm, argued that DeFi developers should adopt a more principled approach to security instead of relying on trial and error.

    At the core of that shift, Park said, is the use of standardised specifications that constrain what a protocol is allowed to do, and automatically revert any transaction that violates those predefined assumptions about correct behaviour.

    “Almost every exploit to date would have tripped one of these checks during execution, potentially halting the hack,” Park said. “So the once-popular idea of ‘code is law’ evolves into ‘spec is law.’”

    Such an idea, sometimes referred to as runtime enforcement or invariant checks, isn’t new. But it’s getting a fresh look as DeFi protocols struggle to defend against hackers exploiting bugs in their code.

    Last year, hackers swiped over $649 million through code exploits according to a report from Slowmist, a blockchain security firm.

    Even battle-tested protocols like Balancer, whose code had been live on the Ethereum blockchain since 2021, were not immune. It lost $128 million in November after a hacker exploited a code bug.

    In recent months, DeFi developers fear hackers are increasingly using artificial intelligence to find DeFi protocol vulnerabilities and exploit them.

    ‘Not the silver bullet’

    Park’s suggestions, if widely adopted, could go a long way in preventing exploits. But they’re not without downsides.

    DeFi protocols often gain an edge over their competitors by having the cheapest fees. Adding extra checks on transactions would increase gas costs, potentially losing them users, Gonçalo Magalhães, head of security at Immunefi, told DL News.

    <img src="https://xpertsstudio.com/wp-content/uploads/2026/08/image-40.jpg" alt="<a href="https://xpertsstudio.com/bitcoin-tests-65000-after-a-wave-of-liquidations/” title=”Bitcoin tests $65,000 after a wave of liquidations”>Bitcoin at $1.6m? How Greenland fears and dollar debasement will fuel price.” loading=”lazy”>

    Bitcoin at $1.6m? How Greenland fears and dollar debasement will fuel priceWolfgang Münchau is a columnist for DL News. He is…Wolfgang Münchau is a columnist for DL News. He is co-founder and director of Eurointelligence, and writes a column on European…

    Magalhães said invariant checks are a great security strategy, but they can’t account for everything — especially exploits that a protocol’s developers can’t reasonably anticipate. “It’s not the silver bullet,” he said.

    It’s also tricky to get the checks to work properly, Felix Wilhelm, co-founder of Asymmetric Research, a crypto security firm, told DL News.

    “For many vulnerabilities and real-life hacks, it is difficult or even impossible to write an invariant that detects the hack without also triggering under normal circumstances,” he said.

    Wilhelm said runtime enforcement is an important part of protocol security. But it is typically used to detect anomalies, like an unusual flow of funds in a short timeframe.

    “While helpful, this often serves only to limit impact or alert the team, rather than stopping the attack outright,” he said.

    Many protocols are already adopting invariant checks.

    Kamino, a Solana-based lending protocol, began checking for critical invariants using Certora Prover in March last year.

    Vitalik Buterin: Five reasons why Ethereum needs DAOs to thriveEthereum needs to head back to its roots after years of…Ethereum needs to head back to its roots after years of sacrificing its ideals to chase scale and mainstream adoption, the…

    The XRP Ledger, the blockchain behind the $120 billion XRP token, has also implemented invariant checking. The blockchain’s developers said the checks are necessary because XRP Ledger is complicated, and there is a high potential for code to execute incorrectly.

    “Invariants should not trigger, but they ensure the XRP Ledger’s integrity from bugs yet to be discovered or even created,” XRP Ledger developers said.

    Tim Craig is DL News’ Edinburgh-based DeFi Correspondent. Reach out with tips attim@dlnews.com.

    Related Topics
    HACKS AND EXPLOITS

    Source: www.dlnews.com

    Partner offer

    Start trading on Bybit

    Deep derivatives liquidity, tight spreads, and a deposit bonus on your first funding.

    Claim bonus
    a16z Crypto DeFi Ditch wants
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    K
    Mentioned in this article

    KuCoin

    Spot, futures and trading bots in one account. Our link applies a fee discount at signup.

    Open account

    Related Posts

    The latest $1.61 billion crypto ETF surge risks grinding to a halt against a 30

    August 21, 2026

    Trump’s Crypto Push Could Be the Catalyst for Bitcoin’s $100K Breakout | Market Bitcoin

    August 21, 2026

    Korea’s crypto trading volume is surging. Why are these investors re

    August 21, 2026
    Leave A Reply Cancel Reply

    Accepting new clients

    Portfolio Management

    Managed trading on centralised and decentralised markets, handled by our experienced trading desk.

    Professional crypto trading management
    Profit share 35%
    Min. capital $2,500
    Wallet Set up by us
    Execution Full service
    How the service works
    • New to on-chain trading? Our team runs it for you on a profit-sharing basis.
    • We create the wallet and place every trade — no DEX experience needed on your side.
    • The share is 35% of profit on each token traded.
    • Minimum starting capital is $2,500.
    Start DEX Management
    Profit share 00%
    Min. capital $0,000
    Custody Your account
    Execution Full service
    How the service works
    • Your funds remain in your own exchange account while our team manages the trading activity.
    • You maintain control of your account and funds throughout the management period.
    • We provide professional trading management based on the agreed strategy and terms.
    • Works with KuCoin, MEXC, Bybit and Phemex.
    • Receive a monthly report covering positions, trading activity and performance.
    CEX management terms, profit split and minimum capital are agreed in writing before onboarding.
    Apply for CEX Management

    Not financial advice. Crypto trading involves substantial risk and past results do not guarantee future returns. Capital can be lost in full. Full terms are agreed in writing before onboarding.

    Trusted Exchanges

    5

    Open an account through our partner links to claim fee discounts and sign-up bonuses.

    K KuCoin Spot & futures · trading fee discount M MEXC Widest altcoin listings · low maker fees B Blofin Copy trading · no-KYC onboarding Y Bybit Deep derivatives liquidity · deposit bonus P Phemex Contract trading · zero-fee spot plan

    Affiliate disclosure: We may earn a commission when you sign up through these links, at no extra cost to you. Trading carries risk — never invest more than you can afford to lose.

    Top Posts

    XRP Price to $0.18? Analysts Warn of Drop as Brad Garlinghouse Bets on Ripple’s Crypto Winter

    August 19, 20264 Views

    🚀 Best Crypto Exchange Liquidity Provider

    August 18, 20262 Views

    Chainlink hits seven-month high: DeFi, institutional demand fuel LINK rally

    August 21, 20261 Views
    0% Spot fees

    Phemex zero-fee spot plan

    Sign up with our referral code to activate the plan on a new account.

    CODE · E4G2K
    Redeem
    Most Popular

    XRP Price to $0.18? Analysts Warn of Drop as Brad Garlinghouse Bets on Ripple’s Crypto Winter

    August 19, 20264 Views

    🚀 Best Crypto Exchange Liquidity Provider

    August 18, 20262 Views

    Chainlink hits seven-month high: DeFi, institutional demand fuel LINK rally

    August 21, 20261 Views
    Our Picks

    US government unlikely to buy Bitcoin for Strategic Reserve, says Bitget CEO

    August 21, 2026

    Solana Cuts Blockchain Slot Time to 350 Milliseconds, Targets 200ms Under SIMD-0525: how 12 outlets framed it

    August 21, 2026

    Standard Chartered Forecasts Bitcoin Will Retest All

    August 21, 2026

    Stay Ahead of Crypto

    Get the latest crypto, blockchain, and Web3 news delivered straight to your inbox.

    Facebook Instagram YouTube WhatsApp TikTok Telegram
    • About Us
    • Contact us
    • Disclaimer
    • Privacy Policy
    • Terms & Conditions
    © 2026 Xperts Studio. All rights reserved.

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