CrediX Hack

TOTAL LOST $4.5M
Medium Private Key Compromised / Access Control sonic

Summarize with AI

Affected Chain sonic Incident surface
Recovered - No recovery reported
All-Time Rank #451 By amount stolen
Auditors 1 Prior security audit

Incident Overview

On August 4th, 2025, CrediX, a decentralized exchange (DEX) on Sonic, was exploited for approximately $4.5 million, about a month after its launch. The attacker exploited poor access controls to drain funds from the protocol, but CrediX successfully negotiated with the exploiter to recover all stolen assets through a private settlement paid from the CrediX treasury.

The attack began six days before the actual exploit when an account controlled by the attacker was assigned broad administrative permissions including ASSET_LISTING_ADMIN, BRIDGE, EMERGENCY_ADMIN, POOL_ADMIN, and RISK_ADMIN via ACLManager by the Credix Multisig wallet. The critical BRIDGE role enabled the core attack vector. Using these elevated privileges, the attacker minted unbacked acUSDC tokens within the protocol's Sonic USDC market and drained deposited assets from the protocol's pools.

The stolen $4.5 million was then bridged from Sonic to Ethereum and distributed across three different wallets. The attack was funded initially through Tornado Cash, which also helped launder part of the proceeds. The root cause was a vulnerability in the protocol's privilege management system that allowed excessive permissions to be assigned to the malicious account, highlighting the importance of proper access control and separation of privileges in DeFi protocols.

Attacker Wallets on Ethereum:

0xea39a990…d6dbba

0xc4662b33…4150b6

0xf3216838…ec662e

Incident Report

Protocol / Project CrediX
Date of Incident
Affected Chain(s) sonic
Attack Technique Private Key Compromised / Access Control
Classification Infrastructure / Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type RWA Lending
Smart Contract Language Solidity
Official Website app.credix.market/
Protocol Twitter/X @CrediX_fi
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Toncoin Ecosystem

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Operational-security tradecraft (phishing, malware, leaked seed phrases, or insider access) to obtain treasury signing authority
Capital Required Minimal capital - only enough to cover gas while draining the compromised accounts
On-Chain Access Valid signing authority over the compromised wallets / multisig signers, allowing direct transfer of funds or stake authorization
Target Reconnaissance Identification of CrediX's high-value treasury accounts and the authority / multisig structure controlling them
Execution Speed Speed to drain the compromised accounts before the team detects the breach and revokes signing authority or freezes the assets
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Hard to catch — private key / OpSec failures are outside smart contract audit scope
Audited by Audit Report 1 — still lost $4.5M. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to CrediX, these are the critical security checks that could have prevented this incident (August 2025).

  • Verify all logic paths related to Private Key Compromised / Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Access Control Attacks examples →

Sources & References

Learn to Prevent the Next CrediX

The CrediX hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial