Uranium Finance Hack
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!
The Uranium Finance smart contract upgraded their code base, modified in a way which added an exploit. Either this happened on purpose by one member of their team and wasn't noticed, or it happened by accident.
Given the history of having two hacks in the same month, and the nature of the code being modified to specifically add an exploit, it does seem more likely that one member of their team is involved. However, it is impossible to know for sure, and this is entirely speculation.
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][15][16][17][18]
About Uranium Finance
Uranium Finance is "The daily dividends AMM". They "believe the answer is to simply return the majority of the profits to [their] users : make them shareholders instead of only liquidity providers."
"According to The Block’s research analyst Igor Igamberdiev, pair contracts in Uranium’s V2 version had contained the bug which enabled the exploit. They did this by allowing anyone to interact with the pair contracts, which are smart contracts for trading pairs in an AMM and withdraw all of the tokens." "The BSC Uniswap clone played around too much with their copied code and left a loophole open for someone to take the funds." "[T]he V 2.0 code was exploited by an attacker who transferred $50 million away from the LP funds into a swapping platform and specific wallets. The exploiter swapped for BTC, ETH, and DOT coin." "What allegedly happened is hackers taking over the migration of Uranium’s liquidity provider (LP) tokens." "The attackers exploited a bug in Uranium Finance’s smart contract to swap a single token for almost all other tokens in the protocol’s liquidity pool."
"This problem occurred on the pair contract of the Uranium project. The swap function part of the contract logic refers to the logic of PancakeSwap, allowing users to lend out funds through flash loans. However, when this function checks the contract balance according to the constant product formula, there is a problem of accuracy processing errors, resulting in the balance calculated in the final contract being 100 times larger than the actual balance of the contract. In this case, if the attacker uses a flash loan to borrow , Only need to return 1% of the loan amount to pass the inspection and steal the remaining 99% of the balance, resulting in project losses."
"The perpetrators have reportedly employed the services of Tornado Cash – an Ethereum privacy instrument – to move 2,400 ETH (worth nearly $6 million). Etherscan shows that all transactions were made in batches of 100 ETH." "The beneficiary of this incident is now sat on $57.2 million of liquid assets." "The hacker used PancakeSwap service to swap DOT and ADA to ETH. The attacker withdrew 2,438 ETH via Anyswap to Ethereum and 80 BTC after that. After, $1 Million USDT and $99k DAI (bought with USDT) then went to xDAI." "The funds stolen include 80 Bitcoin (BTC), 1,800 Ethereum (ETH), 26,500 Polkadot (DOT), 5.7 million Tether (USDT), 638,000 Cardano (ADA) and 112,000 U92, the native coin of Uranium Finance."
"This attack is the second for the Uranium project this April, the first being the exploit of hackers in the platform’s pools to steal around $1.3 million worth of BUSD and BNB." "On the 8th April around 00:30 UTC, an exploiter was able to constantly grab the contents of the RADS pool and all of the RADS/sRADS rewards and sell them for $1.3Mil worth of BUSD and BNB. This drastically dumped the price of RADS and the exploiter then transferred the BUSD and BNB to his wallet."
"The team additionally said that they are in contact with Binance Security Team and "in the process of escalating this," adding to those in possession of the funds or those who know someone who is, to contact them "to arrange a deal before this goes higher.""
"Uranium migration has been exploited, the following address has 50m in it The only thing that matters is keeping the funds on BSC, everyone please start tweeting this address to Binance immediately asking them to stop transfers."
"The general feeling is that this may not be the case of a hack; rather, this may be a soft rugpull event done by the team to jeopardize users’ funds. While the community carries this sentiment it is impossible to know who the malicious user was." "And of course, these millions of dollars were peoples' hard earned money. There are real consequences to this game if you're not careful."
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.
| Date | Event | Description |
|---|---|---|
| April 24th, 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 has been estimated at $57,200,000 USD.
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
Decentralized smart contracts are essentially hot wallets. They have no ability to think critically like a human being would. If you asked a human being to perform the same transaction as had happened in this exploit, your probability of success would be almost none. If you had to ask a few people and get approval from all of them, the probability would be effectively zero.
For this reason, having fund withdrawals controlled by a multi-signature wallet, with funds stored properly offline, is more secure than a smart contract. In addition, if smart contract are used, it's best to have only the necessary funds accessible at once, have some additional checks in place on larger withdrawals, and potentially set up a fund which can be used to cover any issues.
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
- ↑ Explained: The Uranium Finance Hack (April 2021) - Halborn (May 11, 2021)
- ↑ $50M Drained From Uranium Finance: Hack or Rug Pull? (May 13, 2021)
- ↑ Rekt - Leaderboard (May 13, 2021)
- ↑ Rekt - Uranium Finance - REKT (May 14, 2021)
- ↑ BSC Protocol Uranium Finance Hacked for $50 Million | Crypto Briefing (May 14, 2021)
- ↑ BSC-Based Uranium Finance Attacked, Millions on the Move (May 15, 2021)
- ↑ @MyCrypto Twitter (May 15, 2021)
- ↑ @UraniumFinance Twitter (May 15, 2021)
- ↑ URANIUM FINANCE $50m HACKED or STOLEN? (May 15, 2021)
- ↑ @FrankResearcher Twitter (May 15, 2021)
- ↑ Hackers steal $50 million from Uranium Finance during token migration - Micky News (May 15, 2021)
- ↑ Uranium Post Mortem V2 Compensations (May 15, 2021)
- ↑ SlowMist Analysis of Uranium Finances Hacked Event (May 15, 2021)
- ↑ The most recently hacked DeFi project couldn't even copy and paste Uniswap and Sushiswap's code | CryptoSlate (May 15, 2021)
- ↑ SlowMist Hacked - SlowMist Zone (May 18, 2021)
- ↑ blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub (Aug 11, 2021)
- ↑ Exploit (Aug 11, 2021)
- ↑ CertiK Blockchain Security Leaderboard (Jun 1, 2021)