YBear Finance: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/ybearfinance.php}}
{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/ybearfinance.php}}
{{Unattributed Sources}}
{{Unattributed Sources}}


Line 6: Line 6:
All investors lost their funds as the hacker cashed out and the price of the token plummeted to zero. The project has not relaunched, though the website and social media are still online. The project promised they would work on a solution to reimburse, however there does not appear to be any further posts.
All investors lost their funds as the hacker cashed out and the price of the token plummeted to zero. The project has not relaunched, though the website and social media are still online. The project promised they would work on a solution to reimburse, however there does not appear to be any further posts.


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.<ref name="openblocksecgithub-2342" /><ref name="thoreumfinancemedium-3371" /><ref name="johndoughbulltwitter-3378" /><ref name="watchpugtwitter-3395" /><ref name="dappradartwitter-3396" /><ref name="bscscan-3397" /><ref name="fxcryptonews-3398" /><ref name="yieldfarm-3399" /><ref name="ybearfinance-3790" /><ref name="ybearfinance-3791" /><ref name="coinmarketcap-3792" /><ref name="ybearfinance-3793" /><ref name="yieldbeartwitter-3794" /><ref name="yieldbeartwitter-3795" />
<ref name="openblocksecgithub-2342" /><ref name="thoreumfinancemedium-3371" /><ref name="johndoughbulltwitter-3378" /><ref name="watchpugtwitter-3395" /><ref name="dappradartwitter-3396" /><ref name="bscscan-3397" /><ref name="fxcryptonews-3398" /><ref name="yieldfarm-3399" /><ref name="ybearfinance-3790" /><ref name="ybearfinance-3791" /><ref name="coinmarketcap-3792" /><ref name="ybearfinance-3793" /><ref name="yieldbeartwitter-3794" /><ref name="yieldbeartwitter-3795" />


== About YBear Finance ==
== About YBear Finance ==
Line 71: Line 70:
!Description
!Description
|-
|-
|June 16th, 2021 12:00:00 AM
|June 16th, 2021
|Main Event
|Main Event
|Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.
|Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.
Line 79: Line 78:
|
|
|}
|}
== Technical Details ==
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?


== Total Amount Lost ==
== Total Amount Lost ==
Line 98: Line 100:
== Ongoing Developments ==
== Ongoing Developments ==
What parts of this case are still remaining to be concluded?
What parts of this case are still remaining to be concluded?
== General Prevention Policies ==
Hot wallets should either not store customer funds, or be insured fully.
== Individual Prevention Policies ==
{{Prevention:Individuals:Placeholder}}
{{Prevention:Individuals:End}}
== Platform Prevention Policies ==
{{Prevention:Platforms:Placeholder}}
{{Prevention:Platforms:End}}
== Regulatory Prevention Policies ==
{{Prevention:Regulators:Placeholder}}


== Prevention Policies ==
{{Prevention:Regulators:End}}
Hot wallets should either not store customer funds, or be insured fully.


== References ==
== References ==
<references><ref name="openblocksecgithub-2342">[https://github.com/openblocksec/blocksec-incidents/blob/main/defi/2021.md blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub] (Aug 11, 2021)</ref>
<references><ref name="openblocksecgithub-2342">[https://github.com/openblocksec/blocksec-incidents/blob/main/defi/2021.md blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub] (Aug 11, 2021)</ref>


<ref name="thoreumfinancemedium-3371">[https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f] (Aug 29, 2021)</ref>
<ref name="thoreumfinancemedium-3371">[https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f What exploit happened today for GoCerberus and Garuda, also for KetchupSwap, Lokum, YBear, Piggy, CaramelSwap and our rough compensation plan | by Thoreum Finance | Medium] (Aug 29, 2021)</ref>


<ref name="johndoughbulltwitter-3378">[https://twitter.com/JohnDoughBull/status/1405159533828247553 @JohnDoughBull Twitter] (Sep 23, 2021)</ref>
<ref name="johndoughbulltwitter-3378">[https://twitter.com/JohnDoughBull/status/1405159533828247553 @JohnDoughBull Twitter] (Sep 23, 2021)</ref>
Line 117: Line 132:
<ref name="fxcryptonews-3398">[https://www.fxcryptonews.com/binance-smart-chain-defi-protocol-exploited-and-token-drained-to-0-00-by-hackers/ Binance Smart Chain DeFi Protocol Exploited and Token Drained to $0.00 by Hackers - Fxcryptonews] (Sep 24, 2021)</ref>
<ref name="fxcryptonews-3398">[https://www.fxcryptonews.com/binance-smart-chain-defi-protocol-exploited-and-token-drained-to-0-00-by-hackers/ Binance Smart Chain DeFi Protocol Exploited and Token Drained to $0.00 by Hackers - Fxcryptonews] (Sep 24, 2021)</ref>


<ref name="yieldfarm-3399">[https://yieldfarm.gitbook.io/yieldfarm/ https://yieldfarm.gitbook.io/yieldfarm/] (Sep 24, 2021)</ref>
<ref name="yieldfarm-3399">[https://yieldfarm.gitbook.io/yieldfarm/ Welcome to Yield Farm Library - Yield Farm] (Sep 24, 2021)</ref>


<ref name="ybearfinance-3790">[https://ybear.finance/ YBear] (Oct 20, 2021)</ref>
<ref name="ybearfinance-3790">[https://ybear.finance/ YBear] (Oct 20, 2021)</ref>

Latest revision as of 17:55, 2 May 2023

Notice: This page is a freshly imported case study from the original repository. The original content was in a different format, and may not have relevant information for all sections. Please help restructure the content by moving information from the 'About' and 'General Prevention' sections to other sections, and add any missing information or sources you can find. If you are new here, please read General Tutorial on Wikis or Anatomy of a Case Study for help getting started.

Notice: This page contains sources which are not attributed to any text. The unattributed sources follow the initial description. Please assist by visiting each source, reviewing the content, and placing that reference next to any text it can be used to support. Feel free to add any information that you come across which isn't present already. Sources which don't contain any relevant information can be removed. Broken links can be replaced with versions from the Internet Archive. See General Tutorial on Wikis, Anatomy of a Case Study, and/or Citing Your Sources Guide for additional information. Thanks for your help!

YBear Finance

YBear Finance was created based on the PantherSwap smart contract. All funds were 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, though the website and social media are still online. The project promised they would work on a solution to reimburse, however there does not appear to be any further posts.

This is a global/international case not involving a specific country.[1][2][3][4][5][6][7][8][9][10][11][12][13][14]

About YBear Finance

"Generate Instant returns immediately and earn without hassles by staking with YBear." "YBEAR is a next generation reflective deflationary protocol built on Binance Smart Chain. YBEAR is capable of generating instant returns without gas, this means that holders can generate returns simply by holding the tokens in their wallet, with no further action required."

"Your smart contract excludes certain addresses, such as PancakeSwap pools or exchange wallets, from receiving the yield distribution. This way we ensure that 100% of the return is distributed to YBEAR holders ONLY." "Secure, Immutable, non-counterfeitable and interoperable digital money." "Easy to use security at scale, without the massive electrical waste." "Extremely monetized with high tendencies of getting rewards by purchasing tokens."

"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."

On "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, aKetchupSwap, Piggy, CaramelSwap, and a few more projects got exploited at the same time, because of mishandling of tokens with transfer tax."

"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."

"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."

"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."

"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."

"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."

"All people who have invested in these LPs are asked to withdraw liquidity from the platform." "We are finding a solution to reimburse all people who have their sBEARs locked in the stake and who do not have to withdraw)"

"To secure our platform, we ask you to collect your LPs, liquidate them and keep the tokens in your wallet."

This is a global/international case not involving a specific country.

The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.

Include:

  • Known history of when and how the service was started.
  • What problems does the company or service claim to solve?
  • What marketing materials were used by the firm or business?
  • Audits performed, and excerpts that may have been included.
  • Business registration documents shown (fake or legitimate).
  • How were people recruited to participate?
  • Public warnings and announcements prior to the event.

Don't Include:

  • Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.
  • Anything that wasn't reasonably knowable at the time of the event.

There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.

The Reality

This sections is included if a case involved deception or information that was unknown at the time. Examples include:

  • When the service was actually started (if different than the "official story").
  • Who actually ran a service and their own personal history.
  • How the service was structured behind the scenes. (For example, there was no "trading bot".)
  • Details of what audits reported and how vulnerabilities were missed during auditing.

What Happened

The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.

Key Event Timeline - YBear Finance
Date Event Description
June 16th, 2021 Main Event Expand this into a brief description of what happened and the impact. If multiple lines are necessary, add them here.

Technical Details

This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?

Total Amount Lost

The total amount lost is unknown.

How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?

Immediate Reactions

How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?

Ultimate Outcome

What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?

Total Amount Recovered

There do not appear to have been any funds recovered in this case.

What funds were recovered? What funds were reimbursed for those affected users?

Ongoing Developments

What parts of this case are still remaining to be concluded?

General Prevention Policies

Hot wallets should either not store customer funds, or be insured fully.

Individual Prevention Policies

No specific policies for individual prevention have yet been identified in this case.

For the full list of how to protect your funds as an individual, check our Prevention Policies for Individuals guide.

Platform Prevention Policies

Policies for platforms to take to prevent this situation have not yet been selected in this case.

For the full list of how to protect your funds as a financial service, check our Prevention Policies for Platforms guide.

Regulatory Prevention Policies

No specific regulatory policies have yet been identified in this case.

For the full list of regulatory policies that can prevent loss, check our Prevention Policies for Regulators guide.

References