DESCRIPTION OF EVENTS
"KetchupFinance is an automated market maker (AMM) — a decentralized finance (DeFi) application that allows users to exchange tokens, providing liquidity via farming and earning fees in return." "That means that users can trade digital assets without permission from a third-party. Instead the platform uses liquidity pools, which are filled by users themselves. In return users receive the native token, in this case KETCHUP."
"KetchupSwap launched its smart contracts on May 24th, but didn’t find an audience until the 26th. After that the protocol slowly grew its daily unique active wallets, reaching 391 on May 30th and 789 on May 31st."
"The first real moment of growth happened on June 1st, when KetchupSwap attracted 3,000 unique active user wallets. A partnership with Lokum Finance seems to have given the platform a boost."
"The newly launched DeFi protocol KetchupSwap on Binance Smart Chain has attracted exactly 3,000 unique active user wallets in 9 days. These user wallets brought $5,43 million in trading volume, now placing the dapp on the 12th spot in the DeFi Rankings on DappRadar." "The 3,000 unique active wallets on June 1st enjoyed a nice APY on their investments, as the platform offers 29,000% APY on for example the KETCHUP-BNB LP tokens."
"It's a decentralized exchange for swapping BEP20 tokens on Binance Smart Chain. KetchupFinance uses an automated market maker model where users trade against a liquidity pool. These pools are filled by users who deposit their funds into the pool and receive liquidity provider (LP) tokens in return."
"These tokens can later be used to reclaim their share of the pool, as well as a portion of the trading fees."
"KetchupFinance allows users to trade BEP20 tokens, provide liquidity to the exchange and earn fees, stake LP tokens to earn KETCHUP, stake KETCHUP to earn more KETCHUP and stake KETCHUP to earn tokens of other projects."
"KetchupFinance uses a referral program. With a referral link, you can earn 1% of rewards forever."
"KetchupFinance uses also automatic liquidity and burn system. In every transfer 4% go to LP BNB to avoid price impact, and 1% go to burn."
"Next up, on #CafeSwap's menu full of goodies, we're adding our new partner, @KetchupSwap. Soon you'll be able to enjoy everyone's favorite sauce at your beloved Café."
"When users put their tokens into liquidity pools and stake their LP tokens in a farm, they put their crypto tokens in a bank. But this time the bank is a protocol created by someone anonymous. Especially users that move between the high-APY yield farms are at risk."
"Thoreum is TRUE hyper deflationary token, the best coin for HODLING. Built to be Safemoon 2.0, Thoreum has many innovative features that help users earn & win bigger."
"Today, June 16th, multiple farms their native tokens were exploited all the way to $0.00. KetchupSwap, Lokum, YBear, Piggy, CaramelSwap. Sadly enough GoCerberus and Garuda were exploited as well." "A major exploit has affected multiple BSC farms by driving their native token prices to 0." "Cerberus, Garuda, KetchupSwap, Piggy, CaramelSwap, and a few more projects got exploited at the same time, because of mishandling of tokens with transfer tax."
"As you know, an unfortunate event took place on the 16th of June. Along with us, many DeFi platforms were hacked, causing investors and project owners to suffer great losses. We could drop all of this and leave but we knew we would lose sleep over the harm done to everyone, even though sleep is crucial to human health."
"All non-native funds in our contracts are safe, and you are able to withdraw them without a problem. The exploit limits itself specifically to the native token only, and when executed it allowed the exploiter to amplify their rewards by a massive amount to effectively mint as many tokens as they want."
"The exploit is not inherent to our contract. Most of the yield farms use a trusted contract called a MasterChef, which is used even by PancakeSwap themselves to distribute rewards. The problem is that the MasterChef was never designed for all these special tokens, it was designed specifically to receive rewards for LP tokens."
"But, yield farms kept popping up and adding non-LP tokens and everything was fine. Until recently tokens with a transfer fee became more popular. Most of our tokens have a transfer fee as well, it’s how we can have our tokenomics. But the problem is that the MasterChef was not designed for this."
"Due to the design of the masterchef if you stake 100 tokens (with a 5% transaction fee) in a MasterChef, you are still able to withdraw 100 tokens from the MasterChef. But due to the transfer fee, only 95 tokens actually arrived in the contract. We actually figured that this would happen with our native token GoCerberus, and we updated the masterchef to deduct the transaction fee from the balance, eliminating the issue."
"But sadly enough we did not add this code to our non-native pools. This wasn’t such an issue, none of the non-native tokens have a transaction fee… Except for the Garuda token. Earlier today we noticed that the Garuda pool balance was getting smaller and some users reported that they could no longer withdraw. We had disabled depositing to this pool and started to think about a compensation plan. We understood that the issue had to do with the transaction fees at this time but did not know that this could be further exploited."
"Due to the inner workings of the Masterchef, once user balances grow larger then the total token balance in the pool, they effectively get a multiplier on their rewards. Anyone that was still in the Garuda pool was getting way larger harvests then they should. Until the point came that so much Garuda was withdrawn from the Garuda pool, that this multiplier became so large that a single harvest harvested all GoCerberus in the masterchef, about 40 million tokens (worth $190k at the time)."
"In the masterchef, the rewards per staked token are actually calculated by dividing the pool emissions by the total tokens in the contract." "[I]f there is 1 token remaining in the masterchef, the rewards per token are equal to the total emissions of that pool. So what happens in our previous case when there may only be 0.001 token in the pool and users still have a balance of thousands of tokens? Their harvests are thousands of times larger then what they should be."
"We believe that after KetchupSwap was exploited today, quickly some people realized this and got the balance in the pool so low that they could take all the tokens out of the masterchef in one go."
"So at this point all GoCerberus tokens were out of the masterchef, we quickly noticed this and took the actions we could. We started thinking of action plans to compensate the users. For some reason, after the initial drain, GoCerberus was still worth $0.005, so the damage was large but still limited."
"We believed that once the MasterChef was out of tokens, there were no more coins to steal. The issue lies with the referral systems of the MasterChef. When you do a simple harvest, the reward is transferred from the MasterChef to you, so you cannot take more tokens than the tokens present in the MasterChef, this is because we have a function safeCerberusTransfer that does not allow to return more." "But, the referral system of the MasterChef sadly enough does not use safeCerberusTransfer. Instead, it mints tokens directly to the referral."
"[W]e believe someone figured this out and was able to mint an unimaginable large amount of tokens to their referral, all because of the transaction fee on one single pool, the Garuda pool… The whole MasterChef was secure but it relied on the assumption that the total tokens in the contract would always be equal to the total sum of deposits. An assumption which many protocols did not know about. Today, many of these protocols, including ourselves, got exploited."
"After the initial drain, we realized what was happening and we noticed that there was still over $500k in value in the LPs. We quickly setup an emergency team to figure out a way to secure that money so it could be used for compensation. As we understood at this time that it was only a matter of time before these LPs would become worthless."
"After discussing with our engineers, we thought about a method to ‘whitehat’ these funds and had actually started developing and deploying the contracts for this (essentially they would use the referral method above to mint a large amount of tokens). Although we believed we would have been able to secure these funds given a bit more time, we were not able to deploy and execute the whitehat contract our devs developed within time and at some point we were informed that it was ‘too late’. A very stressful call where everyone on the team was doing everything they could became silent. We did what we could. Sadly enough so many other projects today were vulnerable to the same exploit. It is a novel exploit and nobody was ready for it. We did our absolute best to salvage the remaining funds."
"So, we rolled up our sleeves and started working towards recompensation. The whole team put all their efforts and sleepless nights into launching our new project: Simurgh. We have taken care of every little aspect of it, down to the smallest detail."
"In our THOREUM masterchef, every token with transaction fee will be checked and calculated exactly from the time they deposit so this will not happen ( Rugdoc.io have a scan on this and can confirm this). But in the near future we will double safe by not add pool for any deflationary token before we can confirm that their transaction fee is a fixed number that cannot be changed."
"We are aware of this logic and completely eliminated it in our THOREUM masterchef. THOREUM already has more rigid logics to check for all possibility before transfer and make sure no one can transfer if supply is zero or less. (detail will be published in another article)."
"We designed Thoreum with safety in mind and we are the first Masterchef contract that take deflationary token , token with transaction fee, in consideration. This exploit cannot be happen in our Thoreum contracts as we have many safety check function. We will give details about Thorum contracts in another article when we have time."
"No idea about this yet but something called Ketchupswap says they were hacked and some other Pantherswap clones are next like Caramel, Cerberus... You might want to get out if you're in one of these."
"The exact value that hackers stole is still unclear. However, hackers may have gotten away with an amount equal to the market cap of these projects."
"If you were in @KetchupSwap or @FinanceLokum before they got exploited, you can fill out [a] form to receive some compensation."
KetchupSwap is a copy of PantherSwap. All funds are stored in a smart contract hot wallet. This contract had an error in the way deflationary tokens were handled, which caused extra rewards to be released.
All investors lost their funds as the hacker cashed out and the price of the token plummeted to zero. The project has not relaunched.
blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub (Aug 10)
https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f (Aug 28)
KetchupFinance (Sep 14)
KetchupSwap | DappRadar (Sep 14)
https://dappradar.com/blog/ketchupswap-attracts-3000-unique-wallets-within-9-days (Sep 22)
KetchupSwap | Dapp.com (Sep 22)
Telegram: Contact @KetchupSwap (Sep 22)
@CafeSwapFinance Twitter (Sep 22)
@JohnDoughBull Twitter (Sep 22)
@SCryptoschool Twitter (Sep 22)
@JohnDoughBull Twitter (Sep 22)
Lokum finance & Ketchup swap (Sep 23)
@happy777thakur Twitter (Sep 23)
@pacoca_io Twitter (Sep 23)
@enpitu1oku Twitter (Sep 23)
https://www.facebook.com/ketchupswap/ (Sep 23)
How to Migrate Pancake LP to Cafe LP on KetchupSwap - YouTube (Sep 23)
Ketchup Token (KETCHUP) Fundamentals and Technical Info | ADVFN (Sep 23)
KetchupSwap | Ape Board (Sep 23)
Ketchup Finance – RugDoc (Sep 23)
KetchupFinance · GitHub (Sep 23)
[FARM] Ketchup Finance sur le forum Finance - 26-05-2021 10:22:34 - jeuxvideo.com (Sep 23)
https://docs.cottonfarm.app/security/recent-hacks (Sep 23)
KetchupSwap Finance Token (KETCHUP) Token Tracker | BscScan (Sep 23)
https://poocoin.app/tokens/0x714a84632ed7edbbbfeb62dacf02db4beb4c69d9 (Sep 23)
@WatchPug_ Twitter (Sep 22)
@DappRadar Twitter (Sep 22)
Address 0xe959d028728a58bc794dbd025e36d558cdc439d2 | BscScan (Sep 23)
Binance Smart Chain DeFi Protocol Exploited and Token Drained to $0.00 by Hackers - Fxcryptonews (Sep 23)
https://yieldfarm.gitbook.io/yieldfarm/ (Sep 23)