NEAR Intents, the cross-chain blockchain, where users swap tokens directly from their own wallets without handing custody of their funds to a company.">swap system built on NEAR Protocol, has published its postmortem of the exploit that drained about $3.8 million between 29 September and 1 October 2026, and it rewrites the first explanation. In a post on X on 16 October at 15:56 UTC, general manager Alex Shevchenko said the attacker abused a deposit “notification” feature inside the intents.near contract: 23 deliberately failing deposits created about $3.8 million of what he calls “ghost funds”, which were then withdrawn to other chains. All of the money came back on 2 October. The feature is gone.
What is new is the explanation. The postmortem says the bug sat in the NEAR Intents contract itself, not in the Omni bridge that the team blamed on 1 October. It also says monitoring missed the drain for about 37 hours, and that the same feature had already drawn a bug report in January. A second critical report, filed on 7 October, earned a $300,000 bounty before the team removed the code.
The attacker has not been named. The team says it identified the person within a day and got the money back after a public ultimatum, but it has not explained how.
NEAR Intents postmortem: a contract bug, not the Omni bridge
The first account came fast. At 12:53 UTC on 1 October, the @near_intents account said services had been stopped after an incident caused by “a bug in the Omni deposit and withdrawal infrastructure interaction with NEAR Intents smart contract”. It put the preliminary loss at about $3.8 million, said users would be “compensated in full” and that the contract-side flaw was patched. Deposits and withdrawals on 11 networks stayed off for about 12 more hours: BSC, Polygon, TON, Optimism, Avalanche, Stellar, Monad, LayerX, Adi, Scroll and Plasma.
NEAR co-founder Illia Polosukhin went further three hours later. He wrote on X that the bug was “isolated to USDT on BSC” and fixed within an hour of detection, and that the core NEAR Protocol, the NEAR token and other applications were not affected.
The 16 October text draws the line elsewhere. “This was a bug of the NEAR Intents contract, not a bug of the Omni infrastructure,” Shevchenko wrote. Omni, the bridge layer that moves assets between NEAR and other chains, only carried the withdrawals out. The postmortem does not name the token used for the 23 deposits, and it does not repeat the USDT-on-BSC detail.
The older framing lives on in the data. As of 17 October, DefiLlama’s hacks list still files the incident under “Bridge & Cross-Chain”, with BSC as the chain and “Bridge Logic Flaw” as the technique, and its returned-funds field is empty. That entry predates the postmortem.
How 23 failing deposits minted $3.8 million in ghost funds
The postmortem starts from three separate balances that the system tracks: tokens on the origin chain (say, BSC), the same tokens represented on NEAR Protocol, and the balances users hold inside the intents.near contract. A deposit moves tokens from the second layer into the third.
NEAR’s fungible tokens support “transfer and call”: one transaction sends tokens to a contract and asks it to do something with them, instead of the approve-then-call pattern used on Ethereum. The catch is that the NEAR runtime is asynchronous. A transfer and call is split into several steps that execute one after another, and if a later step fails, earlier changes are not rolled back automatically. Each smart contract has to handle that failure itself, including the case where a step runs out of gas.
During a deposit, intents.near could pass a “notification” to a third-party contract on NEAR, the recipient of the funds. The attacker deployed a contract built to make those notification calls fail. When they failed, the token contract returned the deposited tokens to the sender, as designed. The Intents contract, however, kept the deposit on its books.
Repeated 23 times, that gap produced about $3.8 million of credit with no tokens behind it. The contract’s internal ledger now said it held more than its real balance on the token contract, the balance_of figure. The attacker then asked to withdraw. Because $3.8 million was less than the real tokens pooled in the contract by other users, the withdrawals looked normal and went through via Omni to another chain.
Other users’ deposits paid for the ghost credit until the gap was found. It is the same family of failure as the Pirate Chain bug that minted unbacked ARRR earlier this month, although the mechanics differ.
Exactly why the Intents contract missed the failure is not stated in the postmortem: an error may have been swallowed, or a callback may have run short of gas. An independent walk-through by Vini Barbosa on the “thecoding” Substack, published on 16 October, reads the sub-cause from the code changes. Coindaro does not treat that reading as established. Shevchenko’s own summary is plainer: “The feature had a history of bug reports, all in the gap between its two steps.”

Timeline of the NEAR Intents hack, from January to 7 October
Shevchenko’s timeline gives times without a time zone. The return payments it mentions match UTC timestamps on the Bitcoin blockchain, so the table below reads them as UTC.
| Date (2026) | What happened | Source |
|---|---|---|
| 13 to 15 Jan | Bug bounty report on a similar third-party contract call feature; fixed on mainnet in 2 days, not exploited | Postmortem |
| Jan to Mar | Further security hardening merged | Postmortem |
| 29 Sep, 16:14 | First withdrawal of ghost funds via Omni | Postmortem |
| 1 Oct, 05:54 | Last withdrawal; about $3.8M out in roughly 37.7 hours | Postmortem |
| 1 Oct, 08:04 | Withdrawal problems identified | Postmortem |
| 1 Oct, 08:33 / 08:40 | Contract paused; near.com in maintenance mode | Postmortem |
| 1 Oct, 11:20 / 14:00 | Contract unpaused with affected routes still paused; near.com back | Postmortem |
| 1 Oct, 12:53 UTC | First public statement blames Omni and contract interaction | @near_intents |
| 2 Oct, 00:18 UTC | “We have identified you, sir” ultimatum, 48-hour window | Shevchenko on X |
| 2 Oct, 14:31 to 15:05 UTC | 34.59 BTC arrives at the published return address | mempool.space |
| 2 Oct, 16:15 UTC | Attacker’s apology message on BNB Chain | BscScan |
| 2 Oct, 20:31 / 20:38 | Fix deployed on mainnet; contract-side deposits unpaused | Postmortem |
| 7 Oct | Another critical bug reported in the same feature; feature removed that day | Postmortem, GitHub |
| 16 Oct, 15:56 UTC | Postmortem published | Shevchenko on X |
Why monitoring missed the drain for 37 hours
Balances were watched. The monitoring compared the tokens locked on each origin chain with the total of the same tokens on the NEAR side. That check catches a broken bridge, where tokens appear on NEAR without being locked elsewhere.
It did not compare the sum of user balances inside the Intents contract with the tokens the contract really held. The exploit lived entirely in that blind spot. The bridge stayed in balance throughout, while the contract’s ledger grew larger than its holdings.
The first withdrawal went out at 16:14 on 29 September. Nobody noticed until 08:04 on 1 October, 2 hours and 10 minutes after the last one. From there the response was quick: the contract was paused 29 minutes later.
The team now runs that missing check. According to the postmortem, a new monitor compares users’ total balances with the contract’s token balance and pauses the contract automatically if the two disagree.
“We have identified you, sir”: how the $3.8 million came back
At 00:18 UTC on 2 October, Shevchenko posted a short message to the attacker: “We have identified you, sir.” He listed return addresses on Bitcoin, BNB Chain and Ethereum, and Solana, and gave a 48-hour window for what he called “responsible disclosure”.
According to on-chain investigator ZachXBT, the stolen funds had gone to KuCoin and were bridged to Bitcoin, as Cointelegraph and Decrypt reported at the time. Neither outlet reported a comment from KuCoin, and the exchange has not said publicly whether it froze anything. Coindaro found no public alert on the incident from security firms such as PeckShield, Cyvers or CertiK; ZachXBT’s tracing is the only outside on-chain account.
The money moved within hours. The Bitcoin return address on mempool.space shows four payments on 2 October: 5.79441418 BTC at 14:31 UTC, 8.67565137 BTC and 11.44807246 BTC at 14:45, and 8.67111231 BTC at 15:05. With a little dust, it received 34.58927254 BTC in total. Polosukhin wrote that the funds came back “at 14:30 UTC today” and that the party had been identified “less than 24h after the hack”. Neither he nor the postmortem explains how.
That bitcoin did not cover everything. On-chain researcher Kuncoro, quoted by Unchained on 5 October, estimated it at about 78% of the loss and asked whether the rest came back another way. Shevchenko replied that it had, without saying how. The address was emptied on 14 October in two transactions, at 10:56 and 12:29 UTC, to destinations Coindaro could not identify. The team has not said whether it controls them.
At 15:52 UTC Shevchenko announced the funds were “sent back in full” and the investigation closed. “Please use bug bounties instead of disrupting the services,” he added. Twenty-three minutes later, a wallet on BNB Chain sent 0.0387 BNB to the NEAR Intents return address with a message written into the transaction: “We’ve returned all the funds, we were in the wrong.” The text went on to thank the NEAR team for being cordial during the return and to recommend bug bounties.
In Shevchenko’s account, the result was “100% of the funds” recovered within 36 hours of detection, and all affected users were made whole. The postmortem credits SHIELD, the security layer NEAR Intents runs on its flows, along with chain analysis and industry researchers. It mentions “negotiations with the attacker” but gives no terms, so whether a bounty or any deal was offered is unknown.

The exploit in figures
| Item | Figure | Source |
|---|---|---|
| Amount exploited | About $3.8M | Postmortem, 16 Oct; @near_intents, 1 Oct |
| Failing deposit transactions | 23 | Postmortem |
| Withdrawal window | About 37.7 hours (29 Sep 16:14 to 1 Oct 05:54) | Postmortem |
| Detection after last withdrawal | 2 h 10 min | Postmortem |
| Pause after detection | 29 min | Postmortem |
| Networks with deposits and withdrawals held | 11, for about 12 hours | @near_intents, 1 Oct |
| BTC sent to the return address | 34.58927254 BTC, 2 Oct 14:31 to 15:05 UTC | mempool.space |
| Share of the loss covered by that BTC | About 78% (estimate) | Unchained, 5 Oct |
| Funds recovered | 100%, within 36 hours of detection | Postmortem |
| Bounty for the 7 Oct report | $300,000 | Postmortem |
Notification deposits removed, and what changed in the code
The public near/intents repository on GitHub shows the repair in steps. On 1 October at 18:02 UTC, pull request #362, titled “chore: reproduce bug”, was merged; it adds a token audit that compares token supply with the contract’s real balance. A change to disable state init followed at 19:03 UTC, then release v0.4.3 at 21:29 UTC.
On 2 October at 12:50 UTC, pull request #367 made the contract, according to its release notes, report errors from transfer notifications instead of ignoring them silently, and release v0.4.4 shipped five minutes later. The postmortem dates the mainnet fix to 20:31 that evening, with deposits reopened on the contract side at 20:38.
That was not the end of it. On 7 October another critical bug was reported “in the same feature”, and the team removed it the same day. Pull request #374, merged at 17:51 UTC, deletes notification-based deposits for fungible tokens, NFTs and multi-tokens. Deposits through the “execute” path remain, and withdrawal and resolve callbacks get more gas. The content of the 7 October bug has not been disclosed.
Polosukhin said on 1 October that formal verification, mathematical proof that code behaves as specified, would become part of the NEAR release process. He returned to the theme on 2 October with a NEAR AI tool built on the Lean proof language. No date has been given. The postmortem also invites protocols and investigators to join a SHIELD partner programme.
A $300,000 bounty, and a known weak spot since January
The project runs its bug bounty on HackenProof, with up to $300,000 for critical findings. The 7 October report came from researcher @rohanganapa, who was paid the full $300,000, according to the postmortem.
The January report is the awkward part. Between 13 and 15 January a researcher flagged a similar third-party contract call feature, and the team fixed it within two days. Hardening work continued through March. Yet the deposit notification path stayed live until an attacker found the gap in late September. Shevchenko notes that both bounty reports on the feature this year came through the programme and neither was exploited. The flaw the attacker used in September was not among them.
The swap router that blocked Bitget money, then got drained
The timing is uncomfortable. Bitget lost about $387.5 million in a hack on 24 September (Coindaro covered how Bitget restored withdrawals after the $388 million hack). On 29 September NEAR Intents said SHIELD had blocked more than $50 million of Bitget-linked flows trying to pass through its system, frozen about $503,000 and let roughly $166,000 through, according to crypto.news. Those were team estimates.
At 16:14 the same day, the first ghost-fund withdrawal left NEAR Intents. Nothing published so far links the Bitget hackers to the NEAR Intents attacker, and the team has not suggested one. Polosukhin did cite Bitget, MetaMask and Lido on 1 October as recent targets of “criminals equipped with AI systems”. He called the incident “the first major exploit on Intents”.
The wider NEAR ecosystem has been attacked before, with a better outcome. In 2022 the Rainbow Bridge, which links NEAR, Ethereum and Aurora, rejected forged-block attacks twice: in May, when the attacker lost 2.5 ETH, and in August, when the attacker lost 5 ETH and the attempt was stopped automatically within 31 seconds, Decrypt reported. Shevchenko, then chief executive of Aurora Labs, announced the August result himself.
What NEAR Intents is, and how much runs through it
The service lets a user, or a wallet such as HOT or the near.com app, state what they want (“swap this USDT on BSC for SOL on Solana”) rather than build the route. Market makers compete to fill that intent, and settlement happens in the intents.near contract on NEAR. Assets reach NEAR from other chains through Omni, a cross-chain bridge layer. The design means the Intents contract holds pooled balances for many users at once, which is why a ledger error could be paid out of other people’s tokens.
The system is sizeable. DefiLlama data fetched at about 07:00 UTC on 17 October show $88.2 million of volume in 24 hours, $882 million in seven days, $4.76 billion in 30 days and $34.17 billion since launch. DefiLlama, which lists it as a bridge, puts its total staking or liquidity, measured at current market prices. It is the main size metric in DeFi.">value locked at about $214 million. Polosukhin’s “over $4B a month” on 1 October fits the 30-day figure, and Decrypt reported the project’s claim of more than $30 billion in swaps across 35 chains.
The NEAR token traded near $5.05 at 07:00 UTC on 17 October, down 2.90% in 24 hours and 2.35% in seven days. Nothing in the data ties that move to the postmortem.
What changes for NEAR Intents users
For people who swapped through NEAR Intents, near.com or wallets built on it, the practical outcome was a pause, not a loss: routes on 11 networks were held for about 12 hours on 1 October and reopened gradually over the following days, and the team says every affected user was made whole. Whether that was done from the team’s own reserves before the attacker returned the funds is not stated in the postmortem.
The protection came from the team, not from any rule. NEAR Intents is a decentralised protocol, and there is no regulator-backed compensation scheme behind it in the US or elsewhere. Users relied on a public promise, which the team kept. Anyone who suffered a loss from a hack and wants to know how it is treated for tax should ask an adviser.
The broader lesson is about pooled contracts. Any system that keeps an internal ledger of user balances is only as safe as the check that the ledger never exceeds what it really holds. NEAR Intents added that check after 1 October, with an automatic pause when it fails.
Open questions and what to watch
Several gaps remain. The attacker has not been named, and the team has not explained how it identified the person or what was agreed. The token used for the 23 deposits and the attacker’s NEAR contract address have not been published. Nobody has said how the roughly 22% not repaid in bitcoin came back, or where the 34.59 BTC went on 14 October.
The 1 October statement said the incident was reported to law enforcement; there has been no update since, and no word on whether KuCoin froze anything. No date has been set for formal verification in NEAR releases.
The next signs to watch are a change to DefiLlama’s “Bridge Logic Flaw” label and returned-funds field, any law-enforcement news, and whether the HackenProof programme keeps its $300,000 ceiling for critical bugs.
