STON.fi Escrow Contract Exploit and Integrator Fee Impact

Important Information STON.fi: Exploit drained fees from three STON.fi escrow contracts. Affected integrators will be reimbursed within 30 days. DEX

Details of the Escrow Contract Vulnerability

On August 29, attackers exploited a technical vulnerability in STON.fi’s escrow system, resulting in unauthorized withdrawal of both protocol and integrator fees. This incident affected three specific escrow contracts:

  • EQAzSd3ZA9X_E5348_RxhVqGhY3kfN6fmS0Qi-XFghbpJrBn
  • EQBHE9-DYaPCdDq2Cqn355GTAzzDTdowS52RPS-yLmIQNZKq
  • EQAbWJ3Y1HgIIvcMq1prG1anlDC0T3cZlAU7luPT6LmTpmrZ

Attackers exploited a flaw in how smart contract virtual machines (VMs) on the TON blockchain interact. In technical terms, the vulnerability allowed the child VM to alter the parent VM’s stack. This manipulation broke the expected security boundary—essentially letting the exploiters bypass usual contract safeguards and drain escrowed funds that were collected as fees from protocol operations.

Importantly, these escrow contracts had undergone external audits prior to the incident, but the specific virtual machine isolation flaw went unnoticed at the time. Many integrators and fee recipients may notice that their dashboard balances still include these affected fees, but attempts to withdraw from the compromised contracts will simply fail. This is a residual legacy of the exploit, where the interface shows a balance that no longer correlates to retrievable assets.

STON.fi has stressed in its Important Information for STON.fi Integrators update that only these three contracts were affected. The main DEX contracts—where regular trading, swaps, and liquidity pool operations occur—remained fully secure. No user liquidity or provider funds were at risk at any point. The problem was isolated exclusively to the collection of protocol and integrator rewards routed through the vulnerable escrow contracts.

Impact on Integrators and Fee Withdrawal

The practical impact of the exploit was the loss of specific integrator and protocol fee balances. For integrators (including wallets and DeFi projects that share in DEX fee revenue), the affected balances still appear in administrative dashboards because they are tracked off-chain or in on-chain state. However, those balances are now unrecoverable from the compromised escrow contracts. Any withdrawal attempt for those exact funds will fail technically and will not deliver tokens.

STON.fi has also warned integrators not to attempt manual intervention or to use any third-party "recovery" or "restoration" services that claim to retrieve lost funds. Such services are highly likely to be fraudulent, especially in the aftermath of a technical breach. The only valid process is what STON.fi has outlined:

  • The STON.fi team is currently verifying lost balances for each impacted wallet or fee recipient.
  • Within 30 days, reimbursements for these lost fees will be distributed directly as wallet transfers from the official team, requiring no action from integrators.
  • There is no claims process, form, or action required. Integrators will simply receive the compensating funds.

This approach reduces the possibility of phishing attacks or misinformation. By eliminating any manual claims process, STON.fi ensures that integrators do not accidentally compromise themselves further when already in a vulnerable situation.

For protocol teams or analytics platforms displaying integrator-related balances, it is important to mark the affected fee amounts as “pending” or “in reimbursement” rather than available or claimable. This transparency for end-users prevents confusion while the reimbursement process takes place.

Resolution Steps, Security Lessons, and Monitoring

The exploit was not detected by automated monitoring in real-time because the malicious withdrawals were made to resemble common failed swaps—a frequent on-chain event that did not initially draw suspicion. Only a close post-incident investigation revealed the systematic abuse of the VM isolation flaw.

Following detection, STON.fi engineers rapidly patched the VM interaction vulnerability and deployed a new, secure version of the escrow contract. They conducted a full scope review to ensure that no other contracts or balances were exposed to similar risks.

This incident highlights several critical best practices for DeFi and smart contract projects on TON and other blockchains:

  • Contract Upgradeability: Regular updates and the ability to promptly deploy fixes to production contracts can contain damage from future vulnerabilities.
  • Diverse Audits: Even after external audits, new blockchain VM features or interactions can introduce unexpected risks.
  • Incident Communication: Swift, clear communication—as in the official STON.fi Telegram announcement—prevents panic and helps integrators manage user expectations.
  • Dashboard Integrity: Displaying accurate, up-to-date information about which balances are truly available versus pending or unrecoverable is crucial for frontend teams.

While the incident did result in the theft of assets, the measured, transparent response and the commitment to reimburse all affected integrators demonstrate a strong standard for crisis management in DeFi. No integrator or liquidity provider will lose out in the long term as a result of this exploit.

For ongoing insights into wallet, security, and decentralized finance developments on TON, be sure to follow our coverage in the TON tools and DeFi section.

Conclusion: Key Takeaways for the TON Ecosystem

This Important Information STON.fi incident underscores the complex security landscape of blockchain-based protocols. Even with audits and rigorous security, new types of vulnerabilities can emerge—especially when platforms introduce novel features at the smart contract or virtual machine layer.

For integrators, the clear message is to trust only direct communications from protocol teams during incidents, and to remain patient during the reimbursement process. Users and teams operating on TON should take this event as a reminder of the need for careful monitoring, responsive project teams, and user education about how exploit aftermaths are managed.

If you are an affected integrator, rest assured that all balances will be refunded without any required action on your part. For more official updates and technical details, always consult the STON.fi documentation and announcement channel.

The Important Information STON.fi episode will serve as a learning experience for the entire ecosystem, raising standards for transparency and rapid technical response in DeFi.