Reproduced Exploit

H-4: Direct Morpho borrow misprices withdrawal-request collateral

Over-borrow vs request-backed LTV (bad debt) when Morpho price ignores withdraw request

Jun 2025Otheruntagged2 min read

Chain

Other

Category

untagged

Date

Jun 2025

Source

AuditVault

EVM Playground

Source-level debugger — step opcodes and Solidity in sync

evm-hack-analyzer

The attack is replayed in an in-browser EVM preloaded with the exact dumped fork state. The execution tree shows every call; step by Solidity line or by opcode across all depths — source, Stack, Memory, Storage, Balances (native / ERC-20 / NFT), Transient storage and Return value stay in sync. Click a tree node, opcode, or source line to jump. No backend, no live RPC.

Loading fork state…

Source & credit. Reproduction of a public audit finding curated by AuditVault — the original finding: 62485-h-4-when-users-borrow-directly-from-morpho-price-of-the-coll. Standalone Foundry PoC and full write-up: 62485-h-4-when-users-borrow-directly-from-morpho-price-of-the-coll_exp in the evm-hack-registry mirror.


FieldValue
ProtocolNotional Exponent
Severityhigh
SourceAuditVault / https://github.com/sherlock-audit/2025-06-notional-exponent-judging
HarmOver-borrow vs request-backed LTV (bad debt) when Morpho price ignores withdraw request

TL;DR#

Over-borrow vs request-backed LTV (bad debt) when Morpho price ignores withdraw request

Vulnerable code#

See the synthetic reproduction in test/62485-h-4-when-users-borrow-directly-from-morpho-price-of-the-coll.sol — the blamed line is marked // @> VULN.

Root cause#

Faithful reduction of the AuditVault finding. The vulnerable line is preserved so the Playground locator points at the real bug, not scaffolding.

Attack walkthrough#

  1. Deploy the reduced protocol pieces via the Exploit constructor.
  2. run() performs the attack end-to-end and requires the harm.

Diagrams#

sequenceDiagram participant A as Attacker participant V as Vulnerable participant T as Target A->>V: trigger vulnerable path V->>V: @> VULN line executes V->>T: harm materializes A->>A: assert harm

Impact#

Over-borrow vs request-backed LTV (bad debt) when Morpho price ignores withdraw request

Taxonomy#

  • severity/high
  • sector/lending
  • platform/auditvault

Sources#


Sources & further analysis#

Reproductions & code

Alerts & third-party analyses

  • Web3Sec X hacked database: search.
  • Rekt leaderboard: search.
  • Solodit incident search: search.

These dashboards index community alerts tweets, post-mortems, and independent write-ups. Reach them through the protocol name above to cross-check this reproduction against other analyses.