CoinOpSelect Research
Security & Governance › Zero-Storage Verticals

NEAR Intents $3.8M deposit-notification exploit postmortem

Article near-intents-deposit-bug-postmortem  |  2026-10-18  |  3 sources  |  revision 9d65f7eacadc
Source document: near-intents-deposit-bug-postmortem.html

What happened

A deposit-notification feature in the NEAR Intents contract let an attacker create $3.8M of unbacked ledger credit ("ghost funds") across 23 deliberately-failing deposits, then withdraw real tokens via Omni. All funds returned within 36 hours; feature removed Oct 7 after a second critical report; $300k bounty paid.

Why it matters for us

What to do next

Rec 1: Add an invariant check (sum user balances == contract token balance) with auto-pause to any escrow/intent contract spec.
Rec 2: Prefer execute-path deposits over notification callbacks; treat all cross-contract callbacks as untrusted.

Sources

← Onchain Cover / Parametric Cover (Firelight) Yield Farming Venues and Current APYs →