OAK — OnChain Attack Knowledge

Worked example · 2026-08

Ankr ankrFLOW — a flaw in the staking contract's mint path created unbacked ankrFLOW, which the attacker posted as collateral on MORE Markets to borrow out the WFLOW reserve — Ankr ankrFLOW / MORE Markets / Flow EVM — 2026-08-31

Loss
~$410,000 at spot for about 15.5 million WFLOW taken from the mFlowWFLOW reserve, of which the attacker realised about $246,000 after slippage, per the Flow Foundation statement (relayed through crypto.news, whose page carries Flow's figures). Blockaid put the realised amount at about $250,000. The first reports said about $9.3M; that was a detector estimate that Blockaid later withdrew (see Root-cause evidence). Flow states that no MORE Markets or ankrFLOW depositor lost funds and that it will work with Ankr to replace the drained WFLOW; whether this has happened is undisclosed in the pages opened. No recovery is reported.
OAK Techniques observed
OAK-T9.016 (Contract Accounting / State-Invariant Flaw — primary. Flow's statement says a vulnerability in Ankr's ankrFLOW contract let an attacker create about 8.6 million ankrFLOW with no backing. The caller needed no special role; the contract's bookkeeping of shares against FLOW was wrong. A third-party code analysis, sigintzero, traces it to _stakeBonds in FlowStakingPool converting with the bond token's bondsToShares, which returned its input unchanged, instead of the certificate token's rate. That detail is one analyst's reading, not Ankr's. See techniques/T9.016-contract-accounting-state-invariant-flaw.md). OAK-T7.003 (Cross-Chain Bridge Laundering — secondary, per Chainbounty: proceeds bridged off Flow EVM through Relay, LI.FI and Stargate). OAK-T7.001 (Mixer-Routed Hop — secondary, per the same page: the stablecoin proceeds were sent to the Railgun privacy protocol). Flash-loan capital (a flash swap used in the mint loop, per sigintzero) is recorded in the timeline without a separate tag because only that one analysis states it. The access-control Technique was considered and not used: no source says a caller or role was accepted that should have been rejected.
Attribution
unattributed. No source names an actor; Chainbounty says no centralised-exchange deposit was seen and no person, company or country is identified. The attacker address printed by two third-party analyses is in Key addresses.
Key teaching point
A lending market that takes a liquid-staking token as collateral inherits the token's mint path, and its own oracle cannot see a broken mint. Chainbounty notes the oracle priced ankrFLOW correctly and the market still accepted counterfeit collateral because the issuance invariant had already failed. Controls that would have limited this: a supply cap or per-block mint cap on the collateral asset in the lending market, a borrow cap on the WFLOW reserve smaller than its whole balance, and on the staking side a check that shares minted never exceed shares implied by FLOW deposited, enforced in the contract. These are OAK's reasoning from the mechanism, not recommendations from Flow, Ankr or MORE.

Summary

At about 06:18 UTC on 2026-08-31 an attacker exploited a flaw in Ankr's ankrFLOW liquid-staking contract on Flow EVM and created about 8.6 million ankrFLOW with no FLOW behind it (Flow). The attacker posted the tokens as collateral on MORE Markets, a lending protocol on Flow EVM, used E-Mode borrowing, and took about 15.5 million WFLOW from the mFlowWFLOW reserve. Blockaid disclosed it first, at about $9.3M; MORE said it was investigating. Ankr and MORE Markets paused the affected contracts within hours, and Flow later corrected the loss to about $410,000 and said the fault was in Ankr's contract, not in Flow EVM, the Flow protocol or MORE Markets. This is a different event from the 2026-11-16 MORE Markets liquidation-accounting incident, filed in 2026-11-more-markets-flow-evm-self-liquidation-cleared-collateral-not-wflow-debt.md.

Timeline (UTC)

Stages: Flaw (the ankrFLOW mint path), Preparation (gas funding, helper contract), Take (mint, collateral, borrow), Money (swaps, bridges, Railgun), Response. Times for 2026-08-31 are from the sigintzero and Chainbounty analyses (both from their own on-chain reads, not verified by OAK); Flow gives "approximately 06:18 UTC".

When What happened OAK
Before 2026-08-31 (date undisclosed) The ankrFLOW staking contract has a mint path that issues more ankrFLOW than the FLOW deposited justifies. Ankr's documentation states the Flow staking contracts were audited by Halborn (per a search summary; the page was not opened). Whether the flaw was in the original deployment or an upgrade is undisclosed. T9.016
05:46:02 Attacker address receives 172.5446 FLOW for gas (sigintzero). Source of the FLOW: undisclosed. —
05:52:21 Helper contract deployed (sigintzero). —
06:18:52 Exploit transaction, Flow EVM block 76986328. Per sigintzero, a loop of flash-swapped ankrFLOW, redemption at the correct rate and restaking through the faulty bond path minted 51,942,364.75 ankrFLOW in one transaction (supply up 42.55%), of which about 8.65 million was unbacked. The attacker posted 13,307,608.86 ankrFLOW as collateral on MORE Markets and borrowed WFLOW; 15,488,124.15 WFLOW left the reserve and it was left at zero. Chainbounty gives the same totals and says E-Mode raised borrowing capacity. The two analyses differ on how the mint worked in detail (see Root-cause evidence). T9.016
06:19:41 to 06:41:26 Twelve follow-up swaps into stablecoins (sigintzero); ankrFLOW was also sold into the ankrFLOW/WFLOW pool, which sigintzero says ended with 499,266.69 WFLOW against 46,764,434.47 before. —
06:43:36 Last bridge transfer out, via a LI.FI proxy (sigintzero). Chainbounty: assets bridged off Flow EVM via Relay/LI.FI and Stargate and swapped to 246,694.037262 USDC on Ethereum. T7.003
After 06:43 (Ethereum, times undisclosed) The USDC goes to a previously unfunded relay wallet, which sends 616.735093 and 246,077.302169 USDC to the Railgun proxy; the trail ends there (Chainbounty; transactions in Key addresses). T7.001
2026-08-31 (time undisclosed) Blockaid posts about $9.3M. MORE Markets: "Our team is currently investigating a claim that MORE Markets was exploited." (MORE post, 08:13:15 UTC). response
2026-08-31 Ankr and MORE Markets pause the affected contracts within hours; some exchanges pause FLOW deposits as a precaution (Flow). response
2026-08-31 19:24 / 20:12 Flow publishes its root-cause statement (19:24); Blockaid withdraws its $9.3M estimate (20:12) (iTokenly, which lists these times). response
2026-09-01 The Flow post is dated 1 September in the page content read; staking and lending stay paused until Ankr deploys a fixing upgrade, and Flow says it will replace the drained WFLOW. response

Key addresses. All are from the third-party analyses, not from Flow, Ankr or MORE, and OAK has not verified them. Flow EVM addresses are not linked because tools/chains.json has no Flow EVM explorer. Ethereum transactions are from Chainbounty.

Funds (not traced by OAK)

OAK did not trace this incident (tools/chains.json has no Flow EVM entry) and no oak-flow block is given. The hops relayed from Chainbounty are in the timeline: Flow EVM stablecoin proceeds bridged through Relay/LI.FI and Stargate, swapped to 246,694.037262 USDC on Ethereum, sent from the relay wallet to the Railgun proxy. Chainbounty reports remaining balances as negligible.

Root-cause evidence

  • Technique: OAK-T9.016
  • Source: https://flow.com/post/statement-on-the-ankr-liquid-staking-exploit; https://sigintzero.com/blog/more-markets-15-5m-wflow-ankrflow-mint-ratio-flaw; https://community.chainbounty.io/posts/01a0648b-5db3-73a2-a93b-34fdcdc49959; https://crypto.news/more-markets-suffers-9-3m-wflow-exploit-on-flow-evm/
  • Source type: operator
  • Confidence: reported
  • Evidence: Flow Foundation, which is adjacent to the two operators and not Ankr or MORE itself, states the mechanism as a vulnerability in Ankr's ankrFLOW Solidity contract that allowed about 8.6 million unbacked ankrFLOW to be created, used as collateral on MORE Markets with E-Mode. Flow says the flaw was not in Flow EVM or MORE Markets. Two independent third-party analyses agree on the shape and the 31 August 06:18:52 transaction but differ on the contract detail: sigintzero reads it as a rate mismatch between two staking paths repeated in a flash-swap loop, and Chainbounty as a "mint-ratio failure" that let a helper contract mint 51,942,364.75 ankrFLOW. Neither is an Ankr post-mortem; none from Ankr or MORE was found, and a search summary says Ankr's detailed post-mortem was still outstanding, so the status stays reported. Sigintzero itself says the public record does not settle whether the identity rate was an unset value or intended behaviour. Loss: Blockaid's first estimate of about $9.3M was withdrawn. The crypto.news page quotes Blockaid: "The ~$9.3M in our first post was an initial detector estimate." The corrected figures are Flow's (about $410,000 spot, about $246,000 realised). Sigintzero's own price check gives about $424,771 at the oracle price and $248,328.75 realised; Chainbounty gives 246,694.037262 USDC. MORE's X thread, as relayed by Web3 is Going Great, says its contracts are secure and solvent and that the attacker bridged out less than 5% of the value Blockaid announced; the page does not give a figure, and OAK did not open the thread itself.

Public references

Techniques demonstrated (3)

More incidents