
ID:
gcs-token-1606
100 pts
Platform:
Type:
Category:
Method:
Data Sources:
Binance Smart Chain
Assets
Token
Contract Vulnerabilities
Extended Method:
Logic error
Days in Operation:
449
(1.23 Years)





100 pts each
GCS Token project was hacked for $3k. The hacker was able to direct the swap contract which still has the tokens approved to the sender, to transfer that to his contract. The root cause of the hack was the transferFrom/approve logic contains incorrect variable, in that the transferFrom(fromAddr, toAddr, amount) updates the allowance of the fromAddr to msg.sender, not to toAddress.
Initial funds were sourced from Tornado Cash.
DISCLAIMER: While web3rekt has used the best efforts in aggregating and maintaining this database, this web site makes no representations or warranties with respect to the accuracy or completeness of its information and data herein, and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose.
Under no circumstances, shall web3rekt be liable for any loss of profit or funds, any regulatory or governmental penalties, any legal costs, or any other commercial and non-commercial damages, including but not limited to special, incidental, consequential, or other damages from any or all usage of the data and information derived from this database.