link.png

ID:

kaoya-swap-1068

Date:

Status:

Incident Count:

August 24, 2022

Verified

1

info.png
target.png
REKT

Contributor:

chain.png

web3rekt.com

KYC By:

KYC:

None

info.png

Audit By:

Audits:

None

Loss Amount:

118,594

info.png

Recovered:

-

Rewards:

Currency:

USD

Key Indicators

Platform:

Type:

Category:

Method:

Data Sources:

Binance Smart Chain

Protocol

Dexes

Contract Vulnerabilities

Extended Method:

Logic error

info.png

Days in Operation:

50

(0.14 Years)

chain.png
chain.png
chain.png
chain.png
datasource.png

KaoyaSwap is a bsc-chain deployed decentralized transaction protocol built upon AMM and exchange pools.

BlockSec reported that the protocol was attacked and 271 WBNB and 37k BUSD were taken.

According to BlockSec the attack was the result of the bad logic of the swap b/c it miscalculates the amount should be transferred to user when the last pair just appear one or more times.

The attacker borrows a flashloan of 1800 WBNB, then add liquidity to [tokenA, WBNB] pair and [tokenB, WBNB] pair. Then, he gets 1019 WBNB after swap and 1029 WBNB after liquidity removal, leaving away with the profit of about 271 WBNB and 37295 BUSD. Funds were moved via Multichain to Ethereum.

Funds for the attack was sourced from mexc.com

https://bscscan.com/tx/0xe88d214aa59d676ef55922bdd89b8101463fbb9263e69e16530df8ec7cafd827

info.png

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.