#erc4626
Inertia exploit shows old ERC4626 vulnerabilities still threaten DeFi lending protocols
May 25 2026 15:18 UTC
Inertia said a known ERC4626 vulnerability and weak oracle protections allowed attackers to manipulate, and drain lending markets.
#erc4626 #defi-lending #inertia-protocol #exploit
May 25, 2026 at 10:42 PM
ERC-4626 Ecosystem: Protocols, Vaults & Tooling

What started as a vault standard is now powering a much broader #DeFi stack. #ERC4626 is increasingly connecting money markets, yield tokenization, liquid wrappers, and tooling into one more interoperable ecosystem.
April 7, 2026 at 8:26 AM
fxSAVE is ERC4626.
Call convertToAssets(1e18) on 0x7743e50F534a7f9F1791DdE7dCD89F7783Eefc39 and compare NAV across blocks.

Real on-chain APY:
📅 7d annualized → 6.29%
📅 30d annualized → 3.95%
📅 90d annualized → 3.10%

Yield is clearly picking up.
May 16, 2026 at 7:01 AM
The loan must be periodically repaid to retain its collateral; otherwise, it gets liquidated.

The credit is held in an ERC4626 vault proxy that deploys it to AAVE before origination and after each installment repayment to earn extra variable yield in the meantime.
November 26, 2025 at 11:13 AM
While the dev team is scaling our ERC-4626 auto-yield escrow upgrades to Solidity v0.8.36, our community is mobilizing.Test the tech, complete quests, and lead the charge.Join the dashboard 👇
🔗 zealy.io/cw/trestlede...
#ERC4626 #Solidity
Join Trestle Degens
Trestle DeFi testnet is live. Earn rewards for exploring our marketplace, escrow system, and yield vaults across Polygon, Arbitrum, and Base testnets. Join 5K+ degens farming the future of…
zealy.io
August 28, 2026 at 7:54 PM
Qwen2.5-Coder vs DeepSeek-Coder for Solidity Review: What I Actually See Locally
I keep a folder of ten small Solidity contracts with bugs I planted myself: a classic reentrancy in a withdraw function, a missing access modifier on an initializer, an ERC4626 vault that rounds in the depositor's favor, a signature check that never validates the signer, a few subtler logic bugs. Whenever I'm deciding which local model earns a slot on my disk, I run every candidate against all ten with the same prompts and compare notes. It's not a benchmark, there's no percentage at the end, but after doing this for months the patterns are consistent enough to be worth writing down. This round: qwen2.5-coder against deepseek-coder, both running through Ollama on WSL2, both at the sizes that actually fit comfortably on my hardware, meaning 7B and below. If you can run 33B models locally, your conclusions will differ and you should mostly stop reading benchmarks of small models anyway. ## Methodology, such as it is Same ten contracts, none over 150 lines. Same three prompts per contract: an open "review this contract for security issues", a targeted "check specifically for reentrancy and access control problems", and a structured one demanding findings as a severity-tagged list. Each combination run a few times because small models are noisy, one lucky sample proves nothing. Temperature low but not zero. I score by hand: did it find the planted bug, did it describe it correctly, and how much noise came along for the ride. Two honest caveats. First, these contracts are small and self-contained, which flatters every model. Real review means cross-contract call graphs and 2000-line diffs, and no 7B model survives contact with that regardless of family. Second, my planted bugs skew toward canonical patterns, the kind that appear in training data constantly. Both facts mean my setup measures "useful assistant on digestible code", not "auditor replacement". That's fine, it's the only job I'd give these models anyway. ## Where qwen2.5-coder wins **Instruction following.** This is the biggest practical gap and it has nothing to do with security knowledge. When I demand output like: Report findings as a list. For each: SEVERITY: HIGH | MEDIUM | LOW LINE: <number or range> ISSUE: <one sentence> Report at most 5 findings. If none, say NONE. qwen at 7B complies almost every run. deepseek at comparable size complies most of the time but drifts more, adding preambles, ignoring the cap, or wrapping the list in commentary I have to strip. If you're piping model output into a pipeline, which I am (this comparison started as model selection for spectr-ai, my open-source auditor), format discipline is worth more than a marginally better eye for bugs, because a finding you can't parse is a finding you don't have. **Targeted checks.** Ask qwen specifically about reentrancy and it stays on reentrancy. deepseek more often wanders into gas remarks and style nits mid-answer, which pollutes the signal when I asked a narrow question. **Explanation quality.** When both models find the same bug, qwen's explanation more often names the actual attack sequence (call withdraw, reenter through the fallback before the balance update) while deepseek at small sizes tends toward the generic textbook sentence about external calls. Both are "correct", one is more useful in a report. ## Where deepseek-coder holds its own or wins **Raw pattern recall on the classics.** On the bluntest bugs, unguarded selfdestruct-style privileged functions, missing modifiers, the crude reentrancy, deepseek is every bit as reliable and occasionally phrases the risk more concretely. Its training clearly included plenty of Solidity. **Skepticism.** deepseek flags slightly more, which cuts both ways. On one of my subtler contracts, a logic bug where a reward calculation uses a stale balance snapshot, deepseek raised a suspicious eyebrow at the right function more often than qwen, even though it rarely articulated the exact bug. As a "look here, human" pointer, that has real value. The cost is more noise on clean code: deepseek invented plausible-sounding problems on my one deliberately clean contract more often than qwen did. **Hallucination flavor.** Both hallucinate, differently. qwen's failure mode is confident omission, a clean bill of health on buggy code. deepseek's is confident invention, citing a reentrancy that structurally cannot happen because there's no external call. I mildly prefer deepseek's failure mode for security triage (false alarms cost minutes, misses cost everything) but prefer qwen's for automation, where noise erodes trust in every alert. ## Size beats family, and it's not close The most consistent finding across every round of this exercise: the gap between 1.5B and 7B within the same family dwarfs the gap between qwen and deepseek at the same size. qwen2.5-coder:1.5b, which I use daily and like a lot for quick classification and triage, is simply not a code reviewer. On these ten contracts it catches only the most textbook patterns, misses anything requiring two steps of reasoning, and frequently mangles the structured output format. The subtler planted bugs, the stale snapshot, the rounding direction, might as well be invisible to it. Same story for deepseek's smallest variants. Below roughly 7B, "which family" is the wrong question, both are too small for multi-step reasoning about state and control flow. At 7B, both families cross a threshold where they reliably nail the canonical top-ten-style bugs in small contracts and sometimes surprise you on harder ones. Neither crosses the next threshold: consistent detection of business logic bugs, the ones that require understanding what the code is supposed to do rather than matching a known-dangerous shape. That's exactly where real audit findings live, which is why I keep saying these are triage assistants, not auditors. The practical corollary: if you're choosing a local model for Solidity work, spend your effort getting the biggest model your hardware runs comfortably, and only then compare families. Family choice is a tiebreaker. ## What I actually run qwen2.5-coder:7b is my default for anything structured: review passes, classification, the pre-commit and repo-triage pipelines I've written about before. The instruction following is what earns it the slot. qwen2.5-coder:1.5b stays installed for fast, low-stakes filtering where a wrong answer costs nothing. deepseek-coder stays on disk as a second opinion: when a contract feels off and qwen shrugs, I run deepseek and read what it points at, treating it as a suspicion generator rather than a truth source. Two differently-wrong models disagreeing is often exactly where I should look harder, and both together still cost me zero dollars and zero data leaving my machine. Would a wrong-but-suspicious model or a quiet-but-precise one fit your workflow better?
dev.to
July 31, 2026 at 4:36 PM
ResupplyFi遭遇经典ERC4626捐赠攻击 引发近一亿美元损失的惨痛教训

https://qian.cx/posts/D113EA19-9D15-4435-A8AA-D0D278F8CFE3
September 28, 2025 at 2:09 AM
Крах ResupplyFi: Как классическая уязвимость ERC4626 обернулась кражей почти $10 миллионов

https://kripta.biz/posts/F3961099-E9D9-47F7-BC9B-1FB40FA93E73
September 28, 2025 at 2:09 AM
Protip: If youre building a vault woth share tokens just use OZ’s ERC4626 implementation. Vaults are still susceptible to share inflation attacks even if they have a require(shares > 0). Deposit 2 wei -> front run deposit of x with x - 1 donation -> user mints 1 share to your 2 shares -> profit.
March 5, 2026 at 3:06 PM
2/ Another noteworthy change is that I have added default support for EIP-5267 for all contracts that support EIP-712, i.e. ERC20, ERC721, and ERC4626. Important: The default EVM version since Vyper version 0.3.8 is set to shanghai (i.e. the EVM includes the PUSH0 instruction).
June 7, 2023 at 9:05 AM
PLAN for PRE-SEED LAUNCH

of #klobsGreatDigitalCreatorAdventure (#WorldRecordSpeedrun (.com) [ @mrbeast ] )

( Target = 2AM Los Angeles Time, Saturday, Feb 1st )

ERC4626 (obviously)
UPGRADEABLE (for now) etc

🆘 SOS // SITREP HERE: SPOTIFY :: KL AT LAW :: "KARI & DAY9 HALP" (45 MIN AUDIO) // SOS 🆘
February 1, 2025 at 9:05 AM
➤ DeFi lending protocol Inertia suffered a $152,000 exploit due to a known ERC4626 vulnerability and weak oracle protections.
May 25, 2026 at 10:42 PM