Close Menu
Altcoin ObserverAltcoin Observer
  • Regulation
  • Bitcoin
  • Altcoins
  • Market
  • Analysis
  • DeFi
  • Security
  • Ethereum
Categories
  • Altcoins (2,943)
  • Analysis (3,080)
  • Bitcoin (3,689)
  • Blockchain (2,157)
  • DeFi (2,619)
  • Ethereum (2,499)
  • Event (111)
  • Exclusive Deep Dive (1)
  • Landscape Ads (2)
  • Market (2,714)
  • Press Releases (11)
  • Reddit (2,372)
  • Regulation (2,461)
  • Security (3,549)
  • Thought Leadership (3)
  • Uncategorized (2)
  • Videos (43)
Hand picked
  • I Was Told That There Was No More Jane Street
  • Ripple Signals Corporate Treasury Could Spark Next Wave of Crypto Adoption
  • AVNT up 24% as Avantis begins to burn through supply – Can bulls hold above $0.20?
  • Metaplanet creates two subsidiaries to facilitate the integration of Bitcoin USD
  • TreasureNFT Related Services Data Migration NOVA Platform Global Reboot Plan Officially Launched
We are social
  • Facebook
  • Twitter
  • Instagram
  • YouTube
Facebook X (Twitter) Instagram
  • About us
  • Disclaimer
  • Terms of service
  • Privacy policy
  • Contact us
Facebook X (Twitter) Instagram YouTube LinkedIn
Altcoin ObserverAltcoin Observer
  • Regulation
  • Bitcoin
  • Altcoins
  • Market
  • Analysis
  • DeFi
  • Security
  • Ethereum
Events
Altcoin ObserverAltcoin Observer
Home»DeFi»A16z Crypto wants DeFi to abandon ‘code is law’ in favor of ‘spec is law’ to combat $649 million mining problem – DL News
DeFi

A16z Crypto wants DeFi to abandon ‘code is law’ in favor of ‘spec is law’ to combat $649 million mining problem – DL News

January 19, 2026No Comments
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email


  • DeFi protocols need to adopt a more principled security approach to mature.
  • They could use standardized specifications that limit what a protocol is allowed to do.
  • Many protocols already adopt so-called invariant controls.

DeFi protocols must move beyond “patch-after-hack” security guarantees and hardcode security in their software if the $168 billion industry is to mature, according to a16z Crypto.

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

Central to this change, according to Park, is the use of standardized specifications that limit what a protocol is allowed to do and automatically roll back any transactions that violate these predefined assumptions about correct behavior.

“Almost all exploits to date would have triggered one of these checks at runtime, which could potentially stop the hack,” Park said. “So the once popular idea that ‘code is law’ is evolving into ‘specification is law.’ »

Such an idea, sometimes called runtime enforcement or invariant controls, is not new. But it’s getting a facelift as DeFi protocols struggle to defend against hackers exploiting bugs in their code.

Last year, hackers stole more than $649 million through code exploits, according to a report from Slowmist, a blockchain security company.

Even proven protocols like Balancer, whose code had been active on the Ethereum blockchain since 2021, were not immune. The company lost $128 million in November after a hacker exploited a code bug.

In recent months, DeFi developers are concerned that hackers are increasingly using artificial intelligence to detect vulnerabilities in the DeFi protocol and exploit them.

“Not the miracle solution”

Park’s suggestions, if widely adopted, could go a long way toward preventing exploits. But they are not without their drawbacks.

DeFi protocols often have an advantage over their competitors by offering the cheapest fees. Adding additional controls on transactions would increase gas costs, which could cause them to lose users, said Gonçalo Magalhães, head of security at Immunefi. DL News.

Magalhães said that invariant controls 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 difficult to get the controls to work properly, said Felix Wilhelm, co-founder of Asymmetric Research, a crypto security company. DL News.

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

Wilhelm said enforcement of runtime is an important part of protocol security. But it is generally used to detect anomalies, such as an unusual flow of funds over a short period of time.

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

Many protocols already adopt invariant controls.

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

The XRP Ledger, the blockchain behind the $120 billion XRP token, has also implemented invariant verification. Blockchain developers said the verifications are necessary because XRP Ledger is complicated and there is a high risk of incorrect code execution.

“Invariants should not trigger, but they guarantee the integrity of the XRP Ledger against bugs that have not yet been discovered or even created,” the XRP Ledger developers said.

Tim Craig is DL News’ DeFi correspondent based in Edinburgh. Contact us with advice at tim@dlnews.com.



Source link

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleEthereum founder Vitalik Buterin calls for ‘garbage collection’ to save the blockchain
Next Article Crypto Market Set for Strong Momentum, Says Fabian Dori, CIO of Sygnum — TradingView News

Related Posts

DeFi

How Tokenized Treasuries Became a Multi-Trillion Dollar DeFi Market

February 22, 2026
DeFi

DEX Launch Authorized by XRPL: Wall Street Moves On-Chain

February 21, 2026
DeFi

Why is Grayscale buying more Cardano? Bitcoin DeFi could be the answer

February 21, 2026
Add A Comment
Leave A Reply Cancel Reply

Single Page Post
Share
  • Facebook
  • Twitter
  • Instagram
  • YouTube
Featured Content
Event

Istanbul Blockchain Week Launches Institutional Markets Summit: Pioneering Institutional Adoption of Digital Assets

March 12, 2026

Istanbul, Türkiye – March, 2026 – Istanbul Blockchain Week announces the launch of The Institutional…

Event

HIPTHER Baltics Launches in Vilnius with Agenda Revealing Lithuania’s 2026 Regulatory Reset

March 10, 2026

Vilnius, Lithuania — HIPTHER officially announces the agenda for HIPTHER Baltics: Vilnius 2026, the inaugural event of its…

1 2 3 … 77 Next
  • Facebook
  • Twitter
  • Instagram
  • YouTube

AVNT up 24% as Avantis begins to burn through supply – Can bulls hold above $0.20?

March 13, 2026

RIVER Rebounds 22% – Analyzing Whether Traders Should Bet on $20 Next

March 12, 2026

Pump.fun Is Solana’s First $1B Revenue App: Ethereum Expansion Incoming

March 12, 2026
Facebook X (Twitter) Instagram LinkedIn
  • About us
  • Disclaimer
  • Terms of service
  • Privacy policy
  • Contact us
© 2026 Altcoin Observer. all rights reserved by Tech Team.

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

bitcoin
Bitcoin (BTC) $ 71,369.00
ethereum
Ethereum (ETH) $ 2,111.39
tether
Tether (USDT) $ 0.999947
bnb
BNB (BNB) $ 660.37
xrp
XRP (XRP) $ 1.41
usd-coin
USDC (USDC) $ 0.999906
solana
Solana (SOL) $ 89.29
tron
TRON (TRX) $ 0.289851
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.01
staked-ether
Lido Staked Ether (STETH) $ 2,265.05