Trust Wallet, Port3, Gana Payment: $10.3M Lost to Extension Hacks, Signature Logic, and Key Compromise
In Brief
Trust Wallet lost $7M due to a Chrome extension hack.
Port3 lost $166K after a logic error allowed an attacker to mint 1 billion tokens.
Gana Payment lost $3.1M due to a compromised owner key.
Hacks Analysis
Trust Wallet | Amount Lost: $7M
On December 21st, the Trust Wallet exploit resulted in a $7M loss due to a Chrome extension hack. According to the developers, the attacker injected malicious code to redirect user data through the PostHog library to a malicious server. Trust Wallet acknowledged the incident and confirmed that only version 2.68 of the Chrome extension was affected. Mobile wallets and other extension versions remained safe.
On December 19th, the Port3 exploit on BSC resulted in a $166K loss. The root cause of the exploit was a logic error that allowed the attacker to mint PORT3 tokens. The attacker called the registerChain() function with an invalid signature. Port3 had renounced token ownership, so owner() was set to address(0). Inside onlyOwnerOrOwnerSignature, verifySignature called ecrecover to validate the attacker’s signature. ecrecover returned address(0) because the signature was invalid. The code checked if recovered == authority and since both were address(0), so the check passed. This let the attacker mint 1 billion PORT3 tokens without authorization.
On November 20th, the Gana Payment exploit on BSC resulted in a $3.1M loss. The root cause of the exploit was a compromised owner key that gave the attacker control over a delegator contract. Using this access, the attacker drained funds using the staking mechanism. The Gana Payment protocol had launched just nine days earlier on November 11th.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.
Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.
In Brief
Remitano suffered a $2.7M loss due to a private key compromise.
GAMBL’s recommendation system was exploited.
DAppSocial lost $530K due to a logic vulnerability.
Rocketswap’s private keys were inadvertently deployed on the server.
Hacks
Hacks Analysis
Huobi | Amount Lost: $8M
On September 24th, the Huobi Global exploit on the Ethereum Mainnet resulted in a $8 million loss due to the compromise of private keys. The attacker executed the attack in a single transaction by sending 4,999 ETH to a malicious contract. The attacker then created a second malicious contract and transferred 1,001 ETH to this new contract. Huobi has since confirmed that they have identified the attacker and has extended an offer of a 5% white hat bounty reward if the funds are returned to the exchange.