pNetwork

CertiKCode version: not recorded (see the report)

CertiK reviewed pNetwork on 6 Jan 2023: 42 findings, 0 critical; 34 marked fixed, 8 open.

No open critical findings
Open the reportOpen pNetwork’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings42

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High006
Medium206
Low6022
Medium`maybe_initialize_core` functions don't check traOpen

As directed in the `README` file of the project, the first trusted block that is sealed to the database should not contain any transactions related to pTokens otherwise they will be ignored. The list of transactions are a part of the valid JSON format in which the block is submitted and parsed. However, there is no step in the transaction of the core with the database (different from an actual btc "transaction") where the list of transactions are checked for ptoken transactions. Risk: user of library can accidentally supply initial block with transactions that will be silently ignored.

MediumRisk For Weak RandomnessOpen

Currently `get_x_random_bytes` relies on `thread_rng()` which is the standard random generator that takes randomness from the system. This may allow attacker to reduce search space of potential random seeds and cause brute force attack against private keys, feasible.

Low`get_eos_enabled_protocol_features_from_db` shoulOpen

The function `get_eos_enabled_protocol_features_from_db` will accept all features that are fetched from database regardless if they are correct, supported, or known. This may lead to situation where an attacker who managed node operators in the past has enabled features that are not present or known to current version of software (i.e. could clean traces after their activity).

LowDICTIONARIES/eos_eth `convert_eos_asset_to_eth_amOpen

If converting an asset from lower precision to higher precision there is a loss of information. For example from 9 decimal places of precision to 18 decimal places of precision, there is a loss of information. It is unclear how the dust is treated in such a case. This occurs for each of the conversion functions: - `convert_u64_to_eos_asset()`; - `convert_u256_to_eos_asset_string;convert_eos_asset_to_eth_amount()`.

LowDocument process of adding new `chain_ids` to ecoOpen

Currently, there is no established process described in the code for introducing new ids in the `chain_ids` Enum. It puts the ecosystem at risk since if there are contributors creating new bridges, they may create overlapping identifiers for chains which could result in collisions.

LowETH_TRANSACTION `EthTransaction` uses legacy tranOpen

Currently, Ethereum transactions are formatted as legacy transactions using `gas_price`. This causes the gas fees and hence transactions fees to be maximized as `max_priority_fee_per_gas` is set to `transaction.gas_price` and `max_fee_per_gas` is set to `transaction.gas_price`.

LowFunctions not critical for production should be lOpen

Currently a lot of functions that are not meant to be used in production code are not explicitly limited to debug mode with `#[cfg(feature = "debug")]` . This mean lead to accidentally compiling functions never intended to be used in production , into release build , and creating new attack vectors.

LowNon public data (e.g. private keys) should be encOpen

Data is written to DB (database) without encryption. If any existing database is persistent outside TEE, that implies that private keys (and other non-public data) can leak from TEE to outside.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Part of pNetwork’s security record

pNetwork
Audits2 audits by 1 firmLast audit Jan 2023, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
IncidentIncident 18 Sep 2021Source: De.Fi incident database.
Open pNetwork’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us