PNetwork Faulty TX Processing: Difference between revisions

From Quadriga Initiative Cryptocurrency Hacks, Scams, and Frauds Repository
Jump to navigation Jump to search
(Created page with "{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/pnetworkfaultytxprocessing.php}} thumb|PNetworkpNetwork offers an automated bridge between chains. This involves the storage of crypto-assets in smart contract hot wallets to provide liquidity. One of the bridges, holding bitcoin, was successfully exploited, and 227 BTC was stolen. A compensation plan was put together including the sale of NFTs and redirecting future rewards...")
 
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/pnetworkfaultytxprocessing.php}}
{{Imported Case Study 2|source=https://www.quadrigainitiative.com/casestudy/pnetworkfaultytxprocessing.php}}
{{Unattributed Sources}}


[[File:Pnetwork.jpg|thumb|PNetwork]]pNetwork offers an automated bridge between chains. This involves the storage of crypto-assets in smart contract hot wallets to provide liquidity. One of the bridges, holding bitcoin, was successfully exploited, and 227 BTC was stolen.
[[File:Pnetwork.jpg|thumb|PNetwork]]pNetwork offers an automated bridge between chains. This involves the storage of crypto-assets in smart contract hot wallets to provide liquidity. One of the bridges, holding bitcoin, was successfully exploited, and 227 BTC was stolen.
Line 5: Line 6:
A compensation plan was put together including the sale of NFTs and redirecting future rewards to affected users. This went through multiple revisions before the final implementation. The project continues, including with a new version 2 which has increased robustness and security.
A compensation plan was put together including the sale of NFTs and redirecting future rewards to affected users. This went through multiple revisions before the final implementation. The project continues, including with a new version 2 which has increased robustness and security.


This is a global/international case not involving a specific country.
This is a global/international case not involving a specific country.<ref name="pnetwork-3820" /><ref name="coindesk-3821" /><ref name="pnetworkdefitwitter-3822" /><ref name="slowmisthacked-3823" /><ref name="uploadsssl-3824" /><ref name="pnetworkmedium-3825" /><ref name="bscscan-3826" /><ref name="bscscan-3827" /><ref name="ipfs-3828" /><ref name="ipfs-3829" /><ref name="pforum-3830" />


== About PNetwork ==
== About PNetwork ==
Line 82: Line 83:
!Description
!Description
|-
|-
|September 19th, 2021 12:00:00 AM
|September 19th, 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 90: Line 91:
|
|
|}
|}
== 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 109: Line 113:
== 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 through smart contract insurance or our proposed industry insurance fund.
== 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 through smart contract insurance or our proposed industry insurance fund.


== References ==
== References ==
[https://p.network/ pNetwork | enabling cross-chain DeFi composability] (Sep 22)
<references><ref name="pnetwork-3820">[https://p.network/ pNetwork | enabling cross-chain DeFi composability] (Sep 23, 2021)</ref>


[https://www.coindesk.com/business/2021/09/20/cross-chain-protocol-pnetwork-loses-12m-to-hack/ Cross-Chain Protocol PNetwork Loses $12M in Hack] (Sep 22)
<ref name="coindesk-3821">[https://www.coindesk.com/business/2021/09/20/cross-chain-protocol-pnetwork-loses-12m-to-hack/ Cross-Chain Protocol PNetwork Loses $12M in Hack] (Sep 23, 2021)</ref>


[https://twitter.com/pNetworkDeFi/status/1439690593211490324 @pNetworkDeFi Twitter] (Oct 1)
<ref name="pnetworkdefitwitter-3822">[https://twitter.com/pNetworkDeFi/status/1439690593211490324 @pNetworkDeFi Twitter] (Oct 2, 2021)</ref>


[https://hacked.slowmist.io/en/?c=BSC SlowMist Hacked - SlowMist Zone] (Nov 5)
<ref name="slowmisthacked-3823">[https://hacked.slowmist.io/en/?c=BSC SlowMist Hacked - SlowMist Zone] (Nov 6, 2021)</ref>


[https://uploads-ssl.webflow.com/60c1acb9d30b474ea009fe17/60f50bfcaeb557e5a9a46253_pNetwork-litepaper.pdf https://uploads-ssl.webflow.com/60c1acb9d30b474ea009fe17/60f50bfcaeb557e5a9a46253_pNetwork-litepaper.pdf] (Nov 5)
<ref name="uploadsssl-3824">[https://uploads-ssl.webflow.com/60c1acb9d30b474ea009fe17/60f50bfcaeb557e5a9a46253_pNetwork-litepaper.pdf https://uploads-ssl.webflow.com/60c1acb9d30b474ea009fe17/60f50bfcaeb557e5a9a46253_pNetwork-litepaper.pdf] (Nov 6, 2021)</ref>


[https://medium.com/pnetwork/pnetwork-post-mortem-pbtc-on-bsc-exploit-170890c58d5f Pnetwork Post Mortem Pbtc On Bsc Exploit] (Nov 5)
<ref name="pnetworkmedium-3825">[https://medium.com/pnetwork/pnetwork-post-mortem-pbtc-on-bsc-exploit-170890c58d5f Pnetwork Post Mortem Pbtc On Bsc Exploit] (Nov 6, 2021)</ref>


[https://bscscan.com/tx/0x0eb55e02bce39ec1d2d2e911eca7dcca54e74841b53412c078185e43c5a2a551 Binance Transaction Hash (Txhash) Details | BscScan] (Nov 5)
<ref name="bscscan-3826">[https://bscscan.com/tx/0x0eb55e02bce39ec1d2d2e911eca7dcca54e74841b53412c078185e43c5a2a551 Binance Transaction Hash (Txhash) Details | BscScan] (Nov 6, 2021)</ref>


[https://bscscan.com/tx/0x23db0ee27e10517dea0659a743fd6df92d482ad6796851c71127e5049e7bbd88 Binance Transaction Hash (Txhash) Details | BscScan] (Nov 5)
<ref name="bscscan-3827">[https://bscscan.com/tx/0x23db0ee27e10517dea0659a743fd6df92d482ad6796851c71127e5049e7bbd88 Binance Transaction Hash (Txhash) Details | BscScan] (Nov 6, 2021)</ref>


[https://ipfs.io/ipfs/QmZj2PCKEDAFvXCMYmhs8u84PitYVU6XsZ41iZfkS2rR8k https://ipfs.io/ipfs/QmZj2PCKEDAFvXCMYmhs8u84PitYVU6XsZ41iZfkS2rR8k] (Nov 5)
<ref name="ipfs-3828">[https://ipfs.io/ipfs/QmZj2PCKEDAFvXCMYmhs8u84PitYVU6XsZ41iZfkS2rR8k https://ipfs.io/ipfs/QmZj2PCKEDAFvXCMYmhs8u84PitYVU6XsZ41iZfkS2rR8k] (Nov 6, 2021)</ref>


[https://ipfs.io/ipfs/QmPnkfpa1xzd8Hb7wyVT32t3TUxqq3d7MY5zHBa35RgAap https://ipfs.io/ipfs/QmPnkfpa1xzd8Hb7wyVT32t3TUxqq3d7MY5zHBa35RgAap] (Nov 5)
<ref name="ipfs-3829">[https://ipfs.io/ipfs/QmPnkfpa1xzd8Hb7wyVT32t3TUxqq3d7MY5zHBa35RgAap https://ipfs.io/ipfs/QmPnkfpa1xzd8Hb7wyVT32t3TUxqq3d7MY5zHBa35RgAap] (Nov 6, 2021)</ref>


[https://forum.p.network/t/proposal-should-the-dao-recoup-the-value-lost-by-pbtc-on-bsc-holders-affected-by-the-recent-hack-via-the-2-steps-process-nft-sale-partial-redirection-of-dao-member-rewards-described-in-the-proposal-1-rev0-6/145 Proposal: Should the DAO recoup the value lost by pBTC-on-BSC holders affected by the recent hack via the 2-steps process (NFT sale + partial redirection of DAO member rewards) described in the Proposal 1 (rev0.6)? - Proposals - pNetwork] (Nov 5)
<ref name="pforum-3830">[https://forum.p.network/t/proposal-should-the-dao-recoup-the-value-lost-by-pbtc-on-bsc-holders-affected-by-the-recent-hack-via-the-2-steps-process-nft-sale-partial-redirection-of-dao-member-rewards-described-in-the-proposal-1-rev0-6/145 Proposal: Should the DAO recoup the value lost by pBTC-on-BSC holders affected by the recent hack via the 2-steps process (NFT sale + partial redirection of DAO member rewards) described in the Proposal 1 (rev0.6)? - Proposals - pNetwork] (Nov 6, 2021)</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!

PNetwork

pNetwork offers an automated bridge between chains. This involves the storage of crypto-assets in smart contract hot wallets to provide liquidity. One of the bridges, holding bitcoin, was successfully exploited, and 227 BTC was stolen.

A compensation plan was put together including the sale of NFTs and redirecting future rewards to affected users. This went through multiple revisions before the final implementation. The project continues, including with a new version 2 which has increased robustness and security.

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

About PNetwork

"pTokens aims to be a decentralized open-source system facilitating cross-chain movement of assets." "Bridge your ASSETS, NFT, DAO cross-chain! Do more with your capital. Bring it to action into any blockchain with no restrictions."

"The pTokens system bridges a variety of blockchains, powering the free movement of crypto liquidity. These bridges are operated by a network of validators, whose role is to verify the cross-chain asset switch and to guarantee the 1:1 peg with the underlying asset."

"pNetwork enables the transfer of assets into +10 supported blockchains, including Bitcoin, Ethereum, Dogecoin and many more. Enter the dapp and unlock the power of composable liquidity." "pTokens removes the need for a trusted intermediary by creating a crypto-economic incentive through a governance token. "

"Everybody can play around with pNetwork tools, whether they are experienced developer or cross-chain enthusiasts. Access a fully fledged suite of tools to do more with your capital." "The incentives mechanism is at the foundation of the pTokens system - the pNetwork Token (PNT) is leveraged to drive governance decisions, encourage community participation and adoption. While fueling validators’ activities, the PNT token is a key element of the staking method at the basis of the network."

"Thanks to pToken you can transfer your assets across networks at the click of a button. Enhance your liquidity, make it multi-chain. Ever thought about playing with your NFTs seamlessly, on any marketplace, on every layer? The time to be confined on a single one is long gone. Extend the reach of your DAO and augment its capabilities in the multi-chain world. True open-source inter blockchain communication. No prerequisites, no trusted components."

"The pNetwork is secured by Multi Party Computations and Trusted Computing, a combination which makes attacks both expensive and impractical." "Anyone can become a pNetwork validator and see exactly how collateral is managed and transactions are processed."

"pNetwork v1 was launched in March 2020 in its simplest form, a pTokens bridge, to enable the cross-chain movement of Bitcoin on Ethereum. From there, it has evolved into a DAO-governed, progressively decentralized network of nodes that power the movement of tokenized assets such as wrapped Bitcoin across a multitude of ecosystems."

"On September 19th, 2021 at 5:20pm UTC time, the pNetwork system was attacked by a hacker who performed the offensive against multiple pTokens bridges. However, the exploit was only successful on the pBTC-on-BSC cross-chain bridge, which bridge was exploited and 277 BTC, stolen from the pBTC-on-BSC collateral."

"While they tried to attack pBTC-on-BSC, TLOS-on-BSC, PNT-on-BSC, pBTC-on-ETH, TLOS-on-ETH, pSAFEMOON-on-ETH, they were able to steal the BTC collateral for the pBTC-on-BSC bridge only."

"The attacker funded their 0x2bf5693dd3a5cea1139c4510fdce120cf042c934 account by withdrawing BNB tokens from Binance and then used the account to deploy a set of smart contracts specifically crafted to abuse the peg-out instructions the pNetwork nodes look for."

"These smart contracts created a series of event logs: one of those being a legit peg-out request, while the others were faulty peg-out requests emitted by the attacker’s smart contracts rather than from the pToken ones."

"Due to a bug in the section of the Rust code in charge of extracting these log events, both the legitimate and the faulty logs were extracted and erroneously processed."

"The attacker proceeded to move the stolen BTC to a list of addresses that are still holding the funds at the time of writing."

"We're sorry to inform the community that an attacker was able to leverage a bug in our codebase and attack pBTC on BSC, stealing 277 BTC (most of its collateral)." "We have identified the bug and are working on fixing it. The bridges will be re-activated as soon as it's safe to, most likely in a matter of hours." "[A]ll [other] bridges are back and running as usual."

"The pBTC-on-BSC bridge remains temporarily disabled while discussions on the compensation plan are ongoing." "We are working on a solution for users who were affected by the attack (pBTC on BSC holders only). We will keep you posted on this." "The full list of addresses included in the snapshot and therefore eligible to claim PNT tokens (step 0) is available on the forum." "Details for claiming PNT tokens (step 0) are available on the forum."

"In short (non-exhaustive description), the compensation plan aims to recoup the USD-countervalue of the stolen BTC collateral at the time of the attack." "A part of the compensation has already been approved and implemented (Step 0). If approved, this DAO proposal would implement a 2-steps process for recouping the remaining value in USD terms for pBTC-on-BSC holders." Step 1 is "[t]he creation and launch of a pNetwork NFT series (including the allocation of 4 Million PNT tokens provided to the pNetwork DAO by the pNetwork association’s and by the team’s reserves)." Step 2 is "[t]he redirection of part of DAO member rewards towards pBTC-on-BSC holders over a period of 10 months (PNT downtrend protection mechanism applies)."

"Today, we are excited to present pNetwork v2. An open-source protocol for cross-chain routing between blockchain ecosystems and scalability networks empowering cross-chain applications. It enables users and smart contracts on any blockchain platform to send and receive assets and data messages cross-chain, significantly improving and expanding the applicability of the previous version."

"pNetwork v2 aims to continue innovating in the field of cross-chain routing by pioneering cross-chain interoperability features for dApps. By enriching and expanding its previous set of features, v2 is an enabler for the project to focus on contributing to the growth of some of the biggest blockchain-powered trends."

"pNetwork v2 will provide users a secure and efficient protocol for both asset movement and generalized messaging across blockchain networks, while making the network more robust and mature. pNetwork v2 will underpin a variety of cross-chain services, such as pTokens bridges and the Postman messenger."

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 - PNetwork Faulty TX Processing
Date Event Description
September 19th, 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 $12,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

Hot wallets should either not store customer funds, or be insured fully through smart contract insurance or our proposed industry insurance fund.

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