SVT's $56.8K Loss and How Olympix Would Have Prevented It
At 09:28:37 UTC on November 26, 2026, a single BNB Chain transaction took the SVT/WBNB PancakeSwap pool from 103.17 WBNB down to 0.73 WBNB. The attacker walked away with 102.44 WBNB, worth about $56,840 at the time, and paid back every token of the flash loan that funded the run. Most of the transaction's 1,342 event logs come from a single repeated move: send SVT into the pool, watch the token burn a slice of the pool's own SVT and resync it, then pull the SVT straight back out. The attacker did that 185 times.
Defimon's alert put the loss at about $56.7K and described a 185-round burn loop that shrank the pool's SVT side from roughly 75,085 tokens to about 128. Our trace of the transaction's logs matches that picture and adds one detail that explains why the token's anti-flash guard never fired: every SVT purchase and every withdrawal from the pool was routed to the PancakeSwap router, an address SVT's own code refuses to treat as a buyer.
What SVT Was Built to Do
SVT, listed on-chain under the name 星瀚, is a 100,000-supply BEP-20 token paired against WBNB on PancakeSwap V2. Its contract charges a 3% tax on buys and sells, splits it between two wallets and an LP dividend pool, and gates early buys behind a quota token. The headline feature is deflation: on every sell, the contract burns SVT out of the PancakeSwap pair itself until a cumulative BURN_TARGET of 90,000 SVT has been destroyed.
That burn doesn't come from the seller. According to the verified SVTv2 source on Sourcify, the sell branch of the tax function hands the post-tax amount to an internal routine called _burnFromPool, which subtracts tokens from the pair's balance, sends them to the zero address and then forces the pair to adopt its new balance:
Each burn is capped at 3% of the pair's SVT balance (burnCapBP is 300 basis points) and stops if the pair would drop below 100 SVT. Those caps limit a single sell. Nothing in the contract limits how many sells can happen in one transaction, and every one of them moves the pool's SVT reserve down while its WBNB reserve stays where it is. In a constant-product pool, that pushes the price of SVT up with every round.
The Guard That Watched the Wrong Address
The SVT developers clearly saw flash-loan buys coming. The contract labels every transfer before it applies any fee, and it blocks a buy unless WBNB has already been paid into the pair. These are the lines that decide what counts as a buy or a sell:
Here r is the PancakeSwap router. Excluding the router makes sense for ordinary liquidity operations, where the router briefly holds tokens on a user's behalf. It also means that any SVT leaving the pair for the router isn't a buy at all, so it skips the _wbnbAboveReserve check, the quota burn and the 3% tax. Anyone can make the router the recipient of a swap or a skim, and the router's fee-on-transfer remove-liquidity path forwards whatever SVT the router holds to the caller. That combination turned the router into a side door out of the pool.
Inside the 185-Round Burn Loop
The attacker's contract opened by flash-borrowing 112.4993 WBNB from Moolah, Lista DAO's lending market. It then added a dust position to the pool (0.97 SVT and a dust amount of WBNB) to receive a few LP tokens, which it needed later to call the router's remove-liquidity function.
Next came the buy. The contract paid 112.3769 WBNB into the pair and took out exactly 39,100 SVT, with the router as the recipient. The pool's reserves moved from 75,085 SVT and 103.17 WBNB to 35,985 SVT and 215.54 WBNB. Because the tokens went to the router, SVT's code saw no buy, so neither the flash guard nor the quota check ran. A remove-liquidity call on the dust position then pushed the router's 39,100 SVT on to the attacker.
The loop followed. In each round the attacker sent SVT into the pair, which the token labeled a sell: 3% went to the contract as tax, and _burnFromPool burned up to 3% of the pair's SVT and called sync(). The pair then held more SVT than its newly synced reserve, so the attacker skimmed that excess back out to the router. In the first round, 1,112.94 SVT went in, 1,079.56 SVT was burned from the pool, and 1,079.56 SVT came back out. Over 185 rounds the pool's SVT reserve fell from 35,985 to 128.50 while its WBNB reserve held at 215.54. The only cost to the attacker was the tax on each round, and the second remove-liquidity call swept 35,856.72 SVT back from the router.
The finish was a normal sell. The attacker sent 37,991 SVT to the pair; after tax and one last small burn, 36,851.30 SVT landed in a pool that held 124.64 SVT and 215.54 WBNB. The pair paid out 214.8147 WBNB, leaving 0.7284 WBNB behind. The contract repaid Moolah's 112.4993 WBNB and sent 102.4364 WBNB to the attacker's wallet. Across the transaction, the pool lost 102.4378 WBNB of the liquidity its providers had put in, and about 35,860 SVT was burned out of it.
Why Every Check Passed
No single line in SVT is obviously broken. The burn cap, the minimum pool reserve and the flash guard all did exactly what their code says. The weakness sits in how they fit together. The contract treats the pair's reserve as something its own transfer hook may rewrite at will, on a path any holder can trigger, as many times per transaction as they like. And the protection against flash-loan buys depends on a labeling rule that a recipient address can switch off.
It's the same burn-from-the-pair pattern that cost JB Token $50K in June. SVT's version adds the router detour, which let the attacker recycle the same tokens through the burn instead of buying new ones each round.
As of November 27, 2026, the SVT team hadn't published a post-mortem or a public statement on the exploit.
How Olympix Would Have Exposed the Router Detour
Olympix reads a contract as states, transitions and entry points, and infers the invariants a system depends on even when no one wrote them down. For a token paired on PancakeSwap, one of those invariants is simple: the pair's recorded reserves should change only through the pair's own swaps, mints, burns and fees. A second one is specific to SVT: a transfer out of the pair to a new holder should always pass the flash guard and the quota check.
Static analysis would have surfaced the signal for both. The first is the call chain from a public transfer into _burnFromPool, which writes the pair's balance and then calls sync() on an external contract, inside a path with no per-transaction limit. The second is the asymmetry in the labeling rule: a guard tied to isBuy, and an isBuy definition that a caller can make false simply by naming the router as recipient. From there the engine narrows the paths to the feasible ones that touch the invariants, which here means transfers to and from the pair with the router in the middle.
BugPoCer works from the system outward. Starting from the reserve invariant, it searches for a sequence of calls that breaks it, and had the SVT team run it before launch, it would have returned a short counterexample: buy SVT with the router as recipient, sell into the pair, skim the excess to the router, and repeat until the SVT reserve sits near its floor while WBNB stays put. Each extra round in that sequence only moves the price further, so the counterexample wouldn't have needed all 185. It would have come with the minimal conditions for the break and a generated Forge test the team could run themselves. That test would have been the November 26 drain, produced in development and fixed before any liquidity was at risk.
Olympix runs at every merge and before every release, so a change like tightening the router exclusion or removing the pool burn would be checked against the same invariants each time it lands.
A Lesson for Token Builders
A deflationary burn that touches the pair's balance gives every holder a lever on the pool's price, and caps per call don't help when the lever can be pulled in a loop. If a token needs supply burns, they should come from the seller's own tokens or a treasury, never from the pair's reserve. Any rule that labels transfers as buys or sells deserves the same scrutiny as the guard that depends on it, because an attacker gets to choose the addresses those rules compare against.
If your token or protocol keeps logic in its transfer hooks, you can book a technical walkthrough to see how Olympix maps every path into your pool's reserves and returns a runnable counterexample for each one that breaks an invariant.
On-Chain References
Exploit Transaction: 0x5874...4f83
Attacker Wallet: 0x66bc...99cf
Attack Contract: 0x3600...ded5
SVT Token (SVTv2): 0x8346...a074
SVT/WBNB PancakeSwap Pair (Victim Pool): 0x6968...4962
Flash Loan Source (Moolah): 0x8f73...5d8c
More post-mortems
See every post-mortem →See what Olympix finds on your own code
Send us a repo that's already been audited, and we'll run Olympix at the same commit and show you what comes back.




