SharedStake TimeLock Vulnerabilities
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!
A group of anonymous developers created SharedStake, a staking service which allowed users to put in Ethereum, in exchange for a share of the Ethereum V2 staking rewards.
One of those anonymous team members exploited the smart contract to mint some additional SGT tokens for themselves, which were later sold on the market.
This is a global/international case not involving a specific country.[1][2][3][4][5][6][7][8][9][10]
"SharedStake is a staking protocol for Ethereum 2.0 which allows users to mint vETH2 in exchange for their ETH." "SharedStake is a decentralized Ethereum 2 staking solution that allows users to stake any amount of Ether and earn additional yield on top of their ETH2 rewards."
"The SharedStake platform's near-term objective is providing a gateway to stakers, while also providing a yield farming opportunity with two main assets that are created by the protocol: validator Eth2 (vEth2) and the SharedStake Governance Token (SGT)." "SharedStake is built for the transition to and past Ethereum 2.0. The protocol provides Staking-as-a-Service (StaaS), fully decentralized and with minimal fees as a counter to the high costs of Ethereum 2.0 staking. SharedStake will continue to be created by the members of the SharedStake DAO and the SGT roadmap will always be a living document, owned and updated by DAO members for their benefit."
"Users deposited their ETH in the platform in exchange for vETH2, which can be redeemed for ETH when ETH2.0 launches."
"Several people raised red flags about the protocol, suspicious about the developers’ anonymity and lack of transparency on the project’s website."
"SharedStake released an attacked report, stating that the reason the SharedStake token was minted before the official launch was due to the use of vulnerabilities in time-locked contracts (that is, smart contracts that perform certain operations at a fixed time) by internal personnel. The vulnerability was submitted to the team by the white hat Lucash-dev on April 26."
"In a series of transactions on June 19 and June 23, a ‘rogue developer’ withdrew $500K worth of SGT, the project’s governance token, from the team’s allocation. These tokens were locked in a vesting contract and were meant to be unlocked gradually over time as the project progressed." "Because a team member had permission to view the vulnerability, he used the vulnerability to cast a value of about 50 on the main network four times on June 19 and 23. Ten thousand USD tokens were sold and mortgaged after the official launch."
"One of the developers of SharedStake is using their admin key to exploit the protocol’s governance token SGT." "Other team members have advised users to exit SharedStake’s liquidity mining contracts and the Saddle pool ETH-vETH2 and await further updates."
"PSA: A rogue dev from SharedStake has pulled the rug. Withdraw all SGT and vETH2 liquidity ASAP."
"The SGT tokens were subsequently dumped on the market and the price collapsed from $1.60 to under 3 cents. At the time of writing, SGT is trading at $0.12." "Even though vETH2, a yield-bearing token with a 1:1 price ratio to Ethereum, is still safe, the loss of confidence in SharedStake spurred fears that the incident could lead to vETH2 losing peg."
"The fate of 16K ETH ($32M) hangs in the balance." "It remains unclear if the withdrawal keys needed for this process have been compromised." "In the absence of clear guidance from the SharedStake team, concerned users created their own Discord server to record information and discuss potential legal action."
"The rug pull has led to a community debate around admin keys, the special access codes that allow developers to access and change their protocol’s key contracts."
"Although there is not enough evidence, the core members of SharedStake suspect that it was the work of a new team member. SharedStake stated that it is currently fixing the loopholes and will manage multi-signature agreement funds in the future."
"SharedStake patched [the] timelock vulnerability thanks to a responsible disclosure report by Lucash-dev."
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 |
|---|---|---|
| June 23rd, 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 $500,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
There were no assets lost in this case.
SGT is clearly a security, which depended on the efforts of a small team to ensure it's success. It's unclear why the token was needed to fundraise the project.
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
- ↑ SlowMist Hacked - SlowMist Zone (Jun 26, 2021)
- ↑ No Title (Jul 24, 2021)
- ↑ Sgt Early Timelock Withdraw Post Mortem (Jul 24, 2021)
- ↑ Sharedstake Insider Exploit Postmortem (Jul 24, 2021)
- ↑ Developer 'rug pulls' Ethereum DeFi project SharedStake, SGT token falls 95% | CryptoSlate (Aug 2, 2021)
- ↑ @Mudit__Gupta Twitter (Aug 2, 2021)
- ↑ SharedStake Dev Goes Rogue, SGT Price Plummets 95% | Crypto Briefing (Aug 2, 2021)
- ↑ SharedStake Down 95% After Insider Exploit - The Defiant - DeFi News (Aug 2, 2021)