Co-founder of @bgdlabs, building... Previously core development on the Aave DAO and CTO at @aave (labs)

Joined February 2022
For me, Aave at $10 million versus now $70 billion feels pretty similar in terms of how critically important it is. Are you curious about Aave’s approach to security and their take on AI's Impact on Security? Check out my notes on the Web3 Security podcast episode featuring Ernesto Boado (@eboadom) of @bgdlabs and ex-CTO of @Aave, hosted by @jack__sanford from @sherlockdefi. From Geographic Systems to DeFi's Biggest Protocol Ernesto isn't the typical "obsessed with programming from age 5" genius coder. He's a multi-disciplinary software engineer who studied computer science in Spain but wasn't deeply into coding from an early age. What really changed everything for him was Ethereum's initial ethos in 2018: this global server that anyone can access, involved with financial transactions. That's what hooked him. Before ETH Lend (which later became Aave), Ernesto was working in geographical systems (maps and GIS software). He was experimenting with early Ethereum on his own (Remix, Truffle, MetaMask era), building a governance application. In December 2017 (top of the bull market!), he reached out to @StaniKulechov, the founder of ETH Lend, which had just completed its ICO. Stani saw potential, and Ernesto joined a small team of about 15 people. Managing $70 Billion: Abstract the Numbers Aave currently has roughly $70 billion in TVL, making it the number one protocol in the world by TVL. If Aave were a US bank, it would be one of the 40 largest banks in the entire United States. Ernesto's most fascinating take: "For me, when Aave was $10 million versus now $70 billion, it's pretty similar in terms of my perception of criticality." He explains that it's mandatory for developers on systems like Aave to be very abstract. You need to understand what's at stake, but you can't get obsessed. If you get obsessed, you'll immobilize yourself and not do anything because you're terrified of breaking something. The key is having good procedures. If you have good procedures, you shouldn't break anything. And you need protections so that if any problem happens, you can react. Ernesto believes this abstraction is very positive. Understanding criticality without obsessing over the numbers allows the team to keep shipping. Upgrade Philosophy: V3.x vs. Uniswap's Approach One of the most interesting topics was comparing Aave's upgrade strategy to Uniswap's. Uniswap goes V2 → V3 → V4 with completely new deployments and user migration required. Aave goes V3.0 → V3.1 → V3.2 → V3.3 → V3.4 → V3.5, upgrading the existing system. Ernesto thinks comparing these systems is misleading. The underlying systems are completely different. For Uniswap V4, it makes sense to be fully immutable because it's a very simple system. When you want to change it, the change is so radical that it probably makes more sense for users to migrate to another smart contract, and you just focus on the tooling for that migration. For Aave, the more mature it gets, the less sense migration makes. From V1 to V2 or V2 to V3, the changes were relatively radical and complicated to apply safely. But now on V3, that line starts to blur. Certain architectural changes aren't so simple to apply on V3, but they're doable. Whether it's worth it is debatable. “If you have a system with $70 billion, you should probably just maintain it for as much as possible and try to improve it if it's not some completely out-of-hand project.” He highlights that V3.0 at the beginning compared to V3.5 running now involved very radical changes: accounting (static vs. dynamic), precision math completely revamped, grouping of assets in the pool, features deprecated, features added, and countless other changes. It's good that people still perceive V3 as V3, but there were five upgrades over three years. Not super fast-paced, not super slow-paced either. V4 Is Coming: How Will Aave Manage Both? Aave V4 is in the audit process, which creates an interesting situation. V3 has $70 billion in TVL, and V4 will start from zero. So how will Aave manage supporting both? Ernesto notes that Aave already has experience with this. Aave V2 is still active with about $400-500 million across three networks, even with active deprecation steps (adjusting rates to incentivize migration to V3). V4 has a slightly different target. From communications, V4 seems quite oriented to builders or a more modularized approach, even targeting people who want to run their own mini pools. V3, on the other hand, is very monolithic on purpose, controlled by a sole entity (the DAO, which is multiple entities behind the scenes) and opinionated on almost everything. Ernesto thinks this was one of the recipes for V3's success. When you try to do too much modularity, it becomes tricky for users, confusing, and UX doesn't catch up in time. The advantage: V3 is perfectly fine, and V4 will exist. If people migrate to V4 or stay on V3, the benefit is for the same DAO behind the scenes. Maintenance is a concern for sure, but Ernesto believes V4's different focus means both can coexist. Decentralization: Being Honest Is Key When asked about advice for other teams navigating decentralization, Ernesto highlighted that it's a very gray area: is centralization good, or is decentralization good, and how do you do one versus the other? One of the main issues is that until very recently, there weren't clear guidelines. This is especially challenging for small teams in a completely open environment where anyone can write and deploy smart contracts. How do you structure a company? What's the plan for progressive decentralization? Does it make sense from a business standpoint or common good perspective? There are so many variables. For Aave, decisions were pretty natural: - People trust non-anonymous people to run a protocol more than anonymous people - Once the AAVE token was pretty well distributed, it was clear the DAO should give back governance control Ernesto emphasizes that onchain governance via token, if the token is well distributed, is just very good security-wise. You need certain protections, but it's arguably stronger than alternatives like multisigs. How to Become a Trusted Independent Researcher When asked how an independent researcher can become one of Aave's go-to trusted researchers, Ernesto's answer was simple: It boils down to work. The researchers BGD works with (both firms and solos) spend a lot of time on Aave's codebase. They submit reports, invalid reports, minor valid reports, sometimes major ones. It's just a lot of work behind the scenes. That creates trust. Being honest and not trying to do weird shenanigans is key. Ernesto understands why the industry is sometimes polarized and adversarial between bounty hunters and projects (there's a lot of history of projects not being fair), but for Aave, there's nothing to win from being unfair with researchers. It's just stupid. What they don't accept is speculation. They know what speculation looks like because they have enough knowledge of Aave to distinguish it. The pattern Ernesto sees with majorly successful researchers and bounty hunters: It's usually very easy to work with them. There's no drama. These are people who've earned millions of dollars in bounties and contracts, and they're rational. They accept when something is a fair evaluation, whether it's low, medium, or high severity. His advice to researchers: 1. Be honest, especially with top protocols that have no incentive to be unfair 2. Spend a lot of time on the code 3. Participate in discussions (even if Aave has some apathy in participation, researchers should engage) 4. Proactively add value: Many of BGD's relationships with solo researchers started with someone reaching out with something that maybe wasn't valid, but the effort and understanding showed a good approach, and they were put in the front line to work with BGD AI's Impact on Security Ernesto sees symptoms of AI having an impact. In recent months, more and more security researchers are clearly using some type of hybrid approach. He doesn't think AI is at the level of finding deep bugs involving lots of components, but in both DeFi and traditional software, bugs and their costs have historically been the same: buffer overflows, pointer issues, injections, these have been happening for 70 years. AI could serve as a filtering tool, hinting tool, or reminder. Another very important aspect Ernesto sees in successful researchers: They're organized people, quite systematic. Yes, they have strong intuition, but they don't just act on intuition. They keep it in mind, use pattern recognition, and probably document their own internal checklists. That's the secret sauce, you need some type of assistant, which historically has been your own notes and your past self. AI could be that assistant: "Did you check this? By the way, you trained me with some patterns, so did you think in this direction?" That's where Ernesto sees potential value. Documentation Is Non-Negotiable One of Ernesto's core principles: Documentation should always be oriented to auditors, and specifically to auditors they didn't work with before. In a system like Aave, if you cannot explain to a security auditor in the DeFi industry (even if not familiar with Aave) what the upgrade is about, all the edge cases, points of focus, etc., then the upgrade is not ready. There's no other way to see it. This is BGD's internal policy: Documentation should be very good, always. If you don't do it well, it means you don't understand the system.
7
9
1
41
8,176
Friday could have one of DeFi's worst black swan events. On paper, over $19 billion in liquidations hit across CEXs and perp DEXs. The real figure was likely higher. Many were surprised that on-chain lending markets came out mostly untouched, but outcomes can be misleading. Markets saw violent dislocations: PAXG at $3,600 on @binance EURC at $1.085 on @coinbase USDE at $0.65 on Binance These were not depegs. A mispricing on a single venue is not a structural loss of parity. However, if those gaps had remained open, the price impact would have spilled over into DEXs and lending markets, draining liquidity and triggering liquidations faster than the system could absorb. On @aave alone, $4.8 billion in positions were at risk, with $180 million in potential penalties. If those liquidations had cleared, assets would have gone to zero before stabilizers could react. We avoided that outcome because of risk management deliberate design choices. One of them was the decision to price USDe 1:1 with USDT (s/o to @LlamaRisk too!). The Limits of Traditional Oracles Traditional price oracles are a pale version of what a true oracle should be. They aggregate quotes from secondary markets and assume those order books reflect fair value. That assumption works for liquid, fungible assets. Not for the new class of asset-backed and mechanism-dependent tokens that now dominate DeFi. For tokens like: - USDe - LRTs - PTs - tokenized RWAs Value depends on primary liquidity, reserve composition, and redemption mechanics. Treating all tokens as homogenous ignores these embedded dependencies and redemption paths that define their real economic worth. A real oracle must go deeper. It must integrate every structural layer. Reserves, counterparties, redemption logic, protocol logic, and dependencies, to produce a risk-aware measure of value. Otherwise, you’re not pricing assets; you’re quoting volatility. The Convergence of Price, Proof, and Risk This is where price, proof of reserve, and risk oracles converge. They are not separate systems but interdependent layers of the same framework. For asset-backed tokens, value cannot be defined solely by a price oracle. It emerges from the combination of market pricing and verified reserves. The interaction between what the market observes and what can be proven to exist. Price oracles surface external market signals that reflect secondary-market behavior. Proof-of-reserve oracles ground those signals in verifiable collateral, confirming the economic backing that gives the token meaning. Risk oracles contextualize both, determining what the asset is worth to a specific system based on its structure, liquidity, and correlation to other exposures. In other words, price without proof is speculation, and proof without context is static. True valuation in DeFi depends on all three layers working together: market, backing, and risk, operating in real time. Proof-of-Reserve oracles are progress, but we’re still far from the endgame. There’s no standard for attestation frequency or depth. Every gap between proofs is a blind spot where solvency is assumed, not verified. The ideal state is continuous, real-time attestation enabling live, observable reserves that update as conditions change. We’re moving in that direction, but we’re not there yet. ** Oracles, in a world of sophisticated DeFi, are application-specific instruments of risk, not universal truth machines. ** A lending market shouldn’t necessarily use the same oracle as a perps exchange. Each system must decide what kind of volatility it wants to internalize and what kind it’s willing to pass downstream. There’s no free lunch; pricing stability always transfers volatility somewhere else. The question is who absorbs it, and when. Hard-coding 1:1 parity can be the right trade-off for lending systems that prioritize depositor safety, but it’s not universally optimal or endgame. The underlying NAV risk doesn’t disappear; it just moves. Good risk design makes that transfer explicit, transparent, and priced. A Call for Discipline If you’re an asset issuer minting a tokenized RWA, stablecoin, or money market instrument, you must have a proof-of-reserve system in place and work with an oracle to provide a PoR oracle. Without it, integrators like lending markets, perp DEXs, and vault managers are blindly extending credit to your assumptions of solvency. And if you’re an integrator: - an exchange - lending protocol - vault manager you need to work directly with asset issuers and risk partners to understand each asset’s structure, redemption logic, and reserve mechanics. Otherwise, your users will absorb risks that should have been managed at the protocol level. The Path Forward Yesterday could’ve been ** much worse ** for DeFi. We’re building systems that now mirror the scale of traditional finance, but not yet its discipline. Real progress in financial infrastructure won’t come from speed . It will come from precision, transparency, and shared standards. Every oracle, asset, and market design is a set of trade-offs. The next phase of DeFi will belong to those who recognize that truth early and build with that rigor. Not those who move fastest, but those who move correctly.
43
61
20
336
136,095
Ernesto retweeted
With Aave v3 more than 3 years in production, countless improvements done & ongoing, and v4 approaching its latest stage of development, we have published our vision regarding the Aave v3.X product going forward, and its relation with v4. Link and a summary below ⬇️
4
15
6
104
22,143
Ernesto retweeted
Aave Umbrella 👻 ☂️ staking is active stake.onaave.com/
10
19
2
146
22,701
Ernesto retweeted
Introducing Aave v3.4 👻 (link to forum below 🔽)
1
13
5
107
19,465
Ernesto retweeted
Walkthrough episode 2 - Fostering permissionless innovation with @aave V4 ⬇️
9
25
7
105
37,303
Less than 24 hours until the inaugural @ChaosSummit! The summit is focused on the new internet's greatest challenges: - Data Integrity - Underwriting Risk - Trust in AI Kicking off w/ @marczeller @eboadom @whale_hunter_ @MattSchmenk Oracles for the New Internet - 11 AM
1
6
20
8,505
Ernesto retweeted
Important information for all Aave integrators! From now on, we will be sharing announcements on Aave protocol technical upgrades proposed by BGD in the following channels: - Aave Community Discord: bgd-tech-updates channel (join the Aave community on discord.com/invite/aave) - Telegram: Aave Upgrade Announcements: t.me/+nrkqK6TsFGlmM2I0
1
6
1
28
6,978
Announcing the next DSS Monthly Webinar🔥 "How to diagnose a faulty compiler: the LLVM bug", on September 23th (next monday) With: • John Toman ( @johnadtoman),
Chief Scientist
@Certora and, • Ernesto ( @eboadom), Co-founder of @bgdlabs, Register ⬇️ us06web.zoom.us/webinar/regi…
1
8
6
25
7,028
Ernesto retweeted
Aave <> BGD Phase 2 has been unanimously approved by governance on Aave proposal 311. Thanks 🙏 to the Aave community for the support, the Bored Ghosts will keep pushing forward 👻💪
4
5
36
2,310
1/ 🚀Chaos Labs is thrilled to unveil the latest version of our Risk Hub. Prepare for an upgraded experience redefining risk management, monitoring, and alerting. @AaveAave @BenqiFinance @GMX_IO @VenusProtocol @tapioca_dao @compoundfin @RDNTCapital 🧵🔍 New Developments 🔽
2
17
3
68
68,612
Ernesto retweeted
The highly anticipated AIP to deploy @GHOAave on the Ethereum Mainnet is now live. Voting opens in 24 hours. Read and discuss here: app.aave.com/governance/prop…
32
112
46
382
156,672
Ernesto retweeted
Today we present a.DI (Aave Delivery Infrastructure), a cross-chain communication abstraction layer for decentralized systems like the Aave DAO
3
38
14
190
63,511
🔍 How can attacks be detected in real time? Join the #DeFiSecuritySummit panel discussion. 🌟 Introducing our esteemed moderator, @eboadom, Co-founder, @bgdlabs (@AaveAave) ✨ We're thrilled to have the following experts on board: 🧵
1
1
24
1,952
"dapps" means "Decentralized app" But as we covered in the prev thread, (link at end) decentralization is a spectrum having, open-source, permissionless code is nice and all, but how users interact with this code is often overlooked. here's few remarks 👇(article at the end)
6
20
6
97
22,634
Ernesto retweeted
After some alpha leak last week, we are glad to officially unveil all the details about Aave Governance V3 on governance.aave.com/t/bgd-aa… 👻🥳👻🥳 We think it is a game-changing architecture for on-chain governance systems, a summary ⬇️⬇️
9
21
8
95
73,374
Ernesto retweeted
✅ Aave v3 live on Ethereum
5
33
3
239
38,355
Ernesto retweeted
The Aave community has approved the activation of Aave v3 Ethereum. After a timelock of 24h, the pool will be live. Congrats to all the 👻
2
11
1
63
4,148