Secret Swap Secret Breach: Difference between revisions
(Created page with "{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/secretswapsecretbreach.php}} thumb|Secret SwapThe Secret Swap platform allows exchange of Secret assets on the Secret Network (validated by Secret Agents). The bridge took advantage of Secret Smart Contract Hot Wallets as bridges. The exact breach which occurred is a Secret (no post mortem) but luckily the resulting blockchain is also being kept secret (rolled back). This m...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/secretswapsecretbreach.php}} | {{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/secretswapsecretbreach.php}} | ||
{{Unattributed Sources}} | |||
[[File:Secretswap.jpg|thumb|Secret Swap]]The Secret Swap platform allows exchange of Secret assets on the Secret Network (validated by Secret Agents). The bridge took advantage of Secret Smart Contract Hot Wallets as bridges. The exact breach which occurred is a Secret (no post mortem) but luckily the resulting blockchain is also being kept secret (rolled back). This means all the Secret assets weren't lost, except the Secret rewards. How many assets were at risk or lost in rewards? Well, it would appear that is also a secret. | [[File:Secretswap.jpg|thumb|Secret Swap]]The Secret Swap platform allows exchange of Secret assets on the Secret Network (validated by Secret Agents). The bridge took advantage of Secret Smart Contract Hot Wallets as bridges. The exact breach which occurred is a Secret (no post mortem) but luckily the resulting blockchain is also being kept secret (rolled back). This means all the Secret assets weren't lost, except the Secret rewards. How many assets were at risk or lost in rewards? Well, it would appear that is also a secret. | ||
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="secretnetworktwitter-4003" /><ref name="secretswap-4004" /><ref name="scrtnetwork-4005" /><ref name="ieeexplore-4006" /><ref name="secretnetworktwitter-4007" /><ref name="secretswaptwitter-4008" /><ref name="messaricryptotwitter-4009" /><ref name="secretswapdocs-4010" /><ref name="secretswaptwitter-4011" /><ref name="secretnetworktwitter-4012" /><ref name="secretswaptwitter-4013" /><ref name="secretswaptwitter-4014" /><ref name="secretswaptwitter-4015" /><ref name="scrtnetwork-7537" /> | ||
== About Secret Swap == | == About Secret Swap == | ||
| Line 71: | Line 72: | ||
!Description | !Description | ||
|- | |- | ||
|September 13th, 2021 | |September 13th, 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 80: | ||
| | | | ||
|} | |} | ||
== 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 102: | ||
== 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 == | |||
Storing assets in secret smart contract hot wallets developed by secret developers places you at secret risks. While this large-scale attack was rolled back so far, this secret blockchain is likely to face significant increased risks of hack, breach, and fraud in the future, as it gains popularity. Losses can be avoided through the use of simple and transparent audited smart contracts, the simplest of which is a multi-sig held by known and trusted, background-checked platform operators. | |||
== 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:Regulators:End}} | |||
== References == | == References == | ||
[https://github.com/openblocksec/blocksec-incidents/blob/main/defi/2021.md blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub] (Aug | <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> | ||
[https://twitter.com/SecretNetwork/status/1437856697637392388 @SecretNetwork Twitter] (Oct | <ref name="secretnetworktwitter-4003">[https://twitter.com/SecretNetwork/status/1437856697637392388 @SecretNetwork Twitter] (Oct 2, 2021)</ref> | ||
[https://www.secretswap.io/ Home - SecretSwap] (Nov | <ref name="secretswap-4004">[https://www.secretswap.io/ Home - SecretSwap] (Nov 11, 2021)</ref> | ||
[https://scrt.network/ Secret Network - Bringing Privacy to Smart Contracts and Public Blockchains] (Nov | <ref name="scrtnetwork-4005">[https://scrt.network/ Secret Network - Bringing Privacy to Smart Contracts and Public Blockchains] (Nov 11, 2021)</ref> | ||
[https://ieeexplore.ieee.org/document/7163223 Decentralizing Privacy: Using Blockchain to Protect Personal Data | IEEE Conference Publication | IEEE Xplore] (Nov | <ref name="ieeexplore-4006">[https://ieeexplore.ieee.org/document/7163223 Decentralizing Privacy: Using Blockchain to Protect Personal Data | IEEE Conference Publication | IEEE Xplore] (Nov 11, 2021)</ref> | ||
[https://twitter.com/SecretNetwork/status/1459584600833994760 @SecretNetwork Twitter] (Nov | <ref name="secretnetworktwitter-4007">[https://twitter.com/SecretNetwork/status/1459584600833994760 @SecretNetwork Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/secret_swap/status/1448387818011516930 @secret_swap Twitter] (Nov | <ref name="secretswaptwitter-4008">[https://twitter.com/secret_swap/status/1448387818011516930 @secret_swap Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/MessariCrypto/status/1436017479126487040 @MessariCrypto Twitter] (Nov | <ref name="messaricryptotwitter-4009">[https://twitter.com/MessariCrypto/status/1436017479126487040 @MessariCrypto Twitter] (Nov 13, 2021)</ref> | ||
[https://docs.secretswap.io/secretswap/ Welcome to SecretSwap - SecretSwap] (Nov | <ref name="secretswapdocs-4010">[https://docs.secretswap.io/secretswap/ Welcome to SecretSwap - SecretSwap] (Nov 13, 2021)</ref> | ||
[https://twitter.com/secret_swap/status/1454787855490994179 @secret_swap Twitter] (Nov | <ref name="secretswaptwitter-4011">[https://twitter.com/secret_swap/status/1454787855490994179 @secret_swap Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/SecretNetwork/status/1441084502319587334 @SecretNetwork Twitter] (Nov | <ref name="secretnetworktwitter-4012">[https://twitter.com/SecretNetwork/status/1441084502319587334 @SecretNetwork Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/secret_swap/status/1439655527622094853 @secret_swap Twitter] (Nov | <ref name="secretswaptwitter-4013">[https://twitter.com/secret_swap/status/1439655527622094853 @secret_swap Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/secret_swap/status/1439620200555548672 @secret_swap Twitter] (Nov | <ref name="secretswaptwitter-4014">[https://twitter.com/secret_swap/status/1439620200555548672 @secret_swap Twitter] (Nov 13, 2021)</ref> | ||
[https://twitter.com/secret_swap/status/1437867384950374405 @secret_swap Twitter] (Nov | <ref name="secretswaptwitter-4015">[https://twitter.com/secret_swap/status/1437867384950374405 @secret_swap Twitter] (Nov 13, 2021)</ref> | ||
[https://scrt.network/blog/supernova-mainnet-upgrade-complete The Supernova Mainnet Upgrade is Complete! | Secret Network] (Apr 29) | <ref name="scrtnetwork-7537">[https://scrt.network/blog/supernova-mainnet-upgrade-complete The Supernova Mainnet Upgrade is Complete! | Secret Network] (Apr 29, 2022)</ref></references> | ||
Latest revision as of 19:48, 3 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!
The Secret Swap platform allows exchange of Secret assets on the Secret Network (validated by Secret Agents). The bridge took advantage of Secret Smart Contract Hot Wallets as bridges. The exact breach which occurred is a Secret (no post mortem) but luckily the resulting blockchain is also being kept secret (rolled back). This means all the Secret assets weren't lost, except the Secret rewards. How many assets were at risk or lost in rewards? Well, it would appear that is also a secret.
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]
About Secret Swap
"Secret Network is the first blockchain with data privacy by default, allowing you to build and use applications that are both permissionless and privacy-preserving. This unique functionality protects users, secures applications, and unlocks hundreds of never-before-possible use cases for Web3."
"As privacy graduates from a want to a necessity for users of complex Web3 applications, @SecretNetwork could be one of the sector leaders for private computation." "Secret Network is one of the first blockchains to support programmable smart contracts with privacy by default."
"SecretSwap is a protocol for swapping SecretTokens (SNIP-20s) on Secret Network. Given the encrypted nature of secret contracts, inputs to a transaction/contract are encrypted while they are on the mempool and cannot be front-run by any adversary. This ensures SecretSwap protects its users and their money from front-running attacks and privacy threats."
"Built on the principles of usability and privacy, SecretSwap provides a foundation for the open accessible financial system of the future. Our primary focus is to protect our users from value extracting players by focusing on privacy, a basic human right. SecretSwap is a liquidity hub that connects to other ecosystems for maximum user protection and access to assets." "SecretSwap also provides access to cross-chain liquidity through an Ethereum bridge, a Binance Smart Chain bridge, a Monero bridge, a Plasm bridge (in development), and reduces fees relative to Ethereum."
"PLEASE BE ADVISED: the Secret Network mainnet has updated from secret-2 to secret-3. This was not a planned upgrade; however, it was necessary in order to prevent a major loss of funds due to a critical security issue with a single contract deployed on the network."
"[N]o funds are compromised." "[S]ecret token [and] secret bridge contracts were not compromised." "[T]he protocol [and] $SCRT itself were not compromised." "[W]ith the exception of this single contract, everything seems to have worked as expected on the network."
On September 13th, "a vulnerability was exploited in a single smart contract out of the 250+ associated w/ @secret_swap. This allowed an attacker to drain funds that were locked in $SEFI staking contracts. This was discovered swiftly by our community and investigation began."
"[B]ridges were disabled to prevent funds leaving the network." The "@secret_swap [interface] was disabled." "C[entralized exchang]es disabled withdrawals and deposits." "[V]alidators [and] dev[eloper]s began discussion of mitigation options."
"It became clear the best option to protect users and secure funds immediately was a chain rollback to before the exploit. Work began immediately to export the chain, identify and test the vulnerability, and fix/secure the identified contracts. This took hours of dedicated work."
"The current state after multiple all-nighters from community members around the world (including a few 40+ hour sessions)" is that "secret-2 has been halted", "secret-3 is online and validators are reconnecting", and "bridges remain down". "{E]xchange deposits remain down."
"As the network is re-secured, we recommend you" "wait for new communication before interacting with the network & applications (all funds are now SAFU; there is no urgency to act)" and "follow Twitter and Discord to receive real-time updates". "Funds are secured and chain is updated. Please be patient as we continue to ensure stability - there’s no need for action at this time!"
"Due to the nature of the vulnerability, unclaimed rewards are no longer available. This SEFI has effectively been burned from the supply as a result of this incident." "This includes all of the SEFI rewards of our developers, as they had yet to claim prior to this occurrence. We all feel the need to rectify this issue personally."
As of September 19th, "SecretSwap is NOW back online! The Swap & Pool features are live again without further delay! The bridges, Earn, Cashback & Governance will be reactivated individually, as soon as possible, over the next few days."
As of September 23rd, "Secret bridges to and from $ETH & #BSC have had their service fully restored!"
"Huge gratitude is due to every community member (from the investigators to the network validators to the developers) who moved quickly to secure Secret Network and @secret_swap users. Their quick & focused action led to a better outcome than could otherwise have been expected!" "Thanks to all for their patience - it’s time to get back to expanding the Secret universe."
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 |
|---|---|---|
| September 13th, 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
Storing assets in secret smart contract hot wallets developed by secret developers places you at secret risks. While this large-scale attack was rolled back so far, this secret blockchain is likely to face significant increased risks of hack, breach, and fraud in the future, as it gains popularity. Losses can be avoided through the use of simple and transparent audited smart contracts, the simplest of which is a multi-sig held by known and trusted, background-checked platform operators.
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
- ↑ blocksec-incidents/2021.md at main · openblocksec/blocksec-incidents · GitHub (Aug 11, 2021)
- ↑ @SecretNetwork Twitter (Oct 2, 2021)
- ↑ Home - SecretSwap (Nov 11, 2021)
- ↑ Secret Network - Bringing Privacy to Smart Contracts and Public Blockchains (Nov 11, 2021)
- ↑ Decentralizing Privacy: Using Blockchain to Protect Personal Data | IEEE Conference Publication | IEEE Xplore (Nov 11, 2021)
- ↑ @SecretNetwork Twitter (Nov 13, 2021)
- ↑ @secret_swap Twitter (Nov 13, 2021)
- ↑ @MessariCrypto Twitter (Nov 13, 2021)
- ↑ Welcome to SecretSwap - SecretSwap (Nov 13, 2021)
- ↑ @secret_swap Twitter (Nov 13, 2021)
- ↑ @SecretNetwork Twitter (Nov 13, 2021)
- ↑ @secret_swap Twitter (Nov 13, 2021)
- ↑ @secret_swap Twitter (Nov 13, 2021)
- ↑ @secret_swap Twitter (Nov 13, 2021)
- ↑ The Supernova Mainnet Upgrade is Complete! | Secret Network (Apr 29, 2022)