Despite being audited, this decentralized exchange used malicious practices that led to loss of users’ funds
CertiK, a prominent blockchain security firm that conducts audits of smart contracts, has recently come under fire after a project they audited turned out to be flawed, draining users’ funds. The project in question, MerlinDEX, had a contract that allowed the deployer address to withdraw unlimited funds, leading to the loss of users’ assets. This incident raises questions about the effectiveness of smart contract audits and the need for heightened vigilance over DeFi.
In the case of MerlinDEX, the smart contract contained a function that approved the maximum value of uint256 to the deployer address, allowing the funds to be drained. Users could withdraw their liquidity provider (LP) tokens, but they were unable to remove liquidity from the pool as there were no funds left. One user commented, “Certik legit saw the contract allow infinite to some random address and gave it a pass.”
Despite the backlash, CertiK responded, stating they were actively investigating the MerlinDEX incident. They pointed to a potential private key management issue as the root cause, rather than an exploit. While audits cannot prevent private key issues, CertiK highlighted its commitment to promoting best practices in projects.
Nonetheless, it is essential to understand that smart contract audits are not a guarantee of security. While they can catch many potential vulnerabilities, they cannot guarantee that a project is entirely safe. Investors should always do their research and assess the risks associated with any DeFi project, even if it has undergone an audit.
The MerlinDEX incident is not the first time an audited project has faced issues. There have been previous cases where audited projects either rugpulled their users, or users became victims of exploits that should have been caught during the audit process.
Source: https://u.today/certik-audit-firm-called-scam-contract-safe-users-funds-are-gone