Crypto exploits

DLMC exploit analysis

DLMC priced redemptions off its own `livePrice()`, computed from treasury USDT reserves divided by circulating supply, so a flash-funded buy through a coordinator and a second buy through a disposable helper contract inflated the price before one `sell()` drained the treasury. DeFiHackLabs reports 222,560.22 USDT lost on BNB Chain on 24 June 2026, a figure Cryip independently reports as approximately $222,560.

David

Security ·

Reported loss
$223K
Occurred
Logged
Chain
BNB Chain

Logged as “2026-06-24: Reserve Derived Liveprice Manipulation on DLMC”.

Analysis2 min read

DLMC was a BNB Chain token that priced its own redemptions internally through a livePrice() function rather than reading an external oracle or an AMM pool directly. On 24 June 2026, DeFiHackLabs recorded a drain of 222,560.22 USDT from the token's contract, a loss independently reported as approximately $222,560 by Cryip, which credited the first alert to the on-chain monitoring firm TenArmor Security.

The contract sits at 0xF2ca2A3572B26Ae7c479dC7ae36D922113B1bdF2. Its interface exposes registerAffiliate(address referrer), buy(uint256 amountQuote), sell(uint256 amountTokens) and livePrice(). Cryip reports that livePrice was computed by dividing the contract's USDT reserves by DLMC's externally circulating supply, and that an internal _updatePrice routine excluded DLMC minted to and held by the contract itself (the tokens buy() mints) from the circulating-supply denominator.

DeFiHackLabs's proof of concept reconstructs the attack as:

  1. Borrow 1,420,000 USDT in a flash swap from the Pancake USDT/WBNB pair at 0x16b9a82891338f9bA80E2D6970FddA79D1eb0daE.
  2. Call registerAffiliate against an already-registered referrer, 0x62cefE76EEcc737D7ee384eFDbAd8D2C53c1d792, qualifying the attack contract under DLMC's referral structure.
  3. Spend 420,000 USDT through buy() from the attack contract itself, building a DLMC balance and referral standing.
  4. Deploy a second, disposable contract, fund it with the remaining 1,000,000 USDT, register it as an affiliate under the attack contract, and spend the full amount through buy(). Cryip reports this pushed DLMC's internal price from about 0.41 USDT to nearly 25 USDT.
  5. Compute the largest sell() the contract's USDT balance can cover at the now-inflated livePrice(), and call sell() for that amount.
  6. Repay the flash swap, 1,420,000 USDT plus Pancake's 0.25 percent fee, and forward the remainder to a separate address, 0x701Bb7B460ae231DBBcFA3d87f0aB5B458429699, kept apart from the contract's deploying address, 0x74c4A756933D0F713FAcB1DeA325eF511646c3B1.

Cryip puts the contract's total payout during the sell() call at roughly 1.646 million USDT, against the roughly 1.424 million USDT repaid to the Pancake pair, leaving the reported 222,560 USDT difference as the attacker's profit. Cryip also reports that referral or reward DLMC, on the order of 65,908 tokens, were among the holdings sold back into the contract at the inflated price, a detail the public proof of concept does not itself quantify.

No statement from a DLMC team or project account has been published. DLMC's own site, dlmc.io, no longer resolves. The attack transaction, 0x151025d3f0a782340a74d30ef33a5fad044b838e74437a803f0652e70c231306, has not been independently confirmed on BscScan beyond the figures DeFiHackLabs and Cryip report.

The fix this code needed was narrow. livePrice() could not be allowed to move within the same transaction that funds a sell() against it. Either DLMC's circulating-supply denominator had to count the tokens its own buy() function had just minted to the contract itself, or sell() had to price against a snapshot taken before that block, not against reserves the same caller had inflated moments earlier through a child contract it had just deployed and funded itself.

Sources read (3)

Other exploits

Query every incident yourself — free, no signup

Updated 9 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.