A crafted internal SetCertTime transaction could skip full validation, including signature checks, because the internal-transaction check also accepted a nested flag. An attacker could repeatedly submit it so the victim node's staking account paid transaction fees until the balance drained.
The crypto-utils library accepted mutated signatures as valid, so a single node could produce many distinct-looking signatures for the same payload. This let one malicious node forge the collective signatures needed by the remove-by-app mechanism and remove other nodes from the network without their consent.
The function fixDeserializedWrappedEVMAccount does not validate the type of fields like storageRoot and codeHash, allowing an attacker to pass an object with a huge length value that causes Uint8Array.from to allocate excessive memory and crash the node. A malicious user can call the binary/repair_oos_accounts handler with crafted account data to crash nodes, leading to a total network shutdown.
The staking certificate signing logic did not validate fields other than those related to staking, and endpoints that accept signed data did not reject unexpected fields. An attacker could obtain a signature over a staking certificate that also contained node-removal or global-state fields, then use it to remove nodes or change global state.
The fixDeserializedWrappedEVMAccount function accepts unvalidated objects and passes their fields to Uint8Array.from, which can cause excessive CPU and memory consumption. A malicious validator can call the internal binary_repair_oos_accounts endpoint with a crafted payload to disable all other nodes and shut down the network.
Network transactions that carry node rewards are tracked by a hash field that is not validated against the transaction contents. An attacker can precompute a hash and inject a modified transaction with an old payload, causing legitimate reward transactions to be rejected as duplicates and blocking reward distribution.
The account deserialiser trusts a type prefix in the stream, so an attacker can send a plain object that is treated as a different account type without validation. This leads to a Buffer being created from an array-like object, exhausting memory and killing the node process.
The query-certificate endpoint lacks rate limiting, unlike similar resource-intensive endpoints, allowing an attacker to repeatedly call it and increase node load. The report claims this could be used for denial of service by continuously querying the certificate with the same request.
The binary_sign_app_data endpoint still exposes the signAppData method without proper validation, allowing a validator node to get other nodes to sign arbitrary data. An attacker could forge signed transactions to modify network parameters, enable debug mode, or change dev keys.
The node's data subscription endpoint does not check the cycle of an unsubscribe request, so a previously signed unsubscribe message can be replayed. An attacker who captures such a message can repeatedly force the node to drop its connection with the archiver, disrupting data subscription.
The reward system did not properly validate that a node had already claimed rewards for a given activity period, allowing a node to submit multiple reward claims for overlapping periods. An attacker could mint arbitrary amounts of the native token by repeatedly claiming rewards for the same period.
The ClaimRewards transaction did not check that the reported node deactivation time fell within the node's actual staking period, so a node could supply a far-future deactivation time and be credited with rewards for that fake period. An attacker could then claim again with real values and unstake, minting an extremely large amount of the native token.
The InitRewardTimes transaction did not validate that the reported node activation time fell within the node's actual staking period. An attacker could set a very small activation time, claim rewards for a fake long period, and unstake to receive an inflated reward.
The cycle record scoring system in shardus-core can be gamed by a malicious validator to get a bogus cycle record accepted, because it relies on a hash-based score rather than consensus voting. By faking a cycle record with an invalid start time, the attacker can crash all nodes and shut down the network.
The node signature validation function counts unique signatures rather than unique signers, and Ed25519 signatures are malleable, so a single keypair can produce many different valid signatures of the same object. An attacker could therefore forge a staking certificate or a node removal certificate with multiple signatures from one node, bypass validation, and join the network without staking or kick other nodes out.
A SetCertTime transaction could be applied without the normal signature and signer checks because two validation helpers disagreed about whether the transaction was internal. An attacker could submit such transactions naming a victim as nominator, repeatedly charging fees to the victim's balance until the node was drained or kicked.
The /join endpoint stringifies and re-parses the request body using a custom stringify function that trusts a Buffer's declared length without validating the content. An attacker could send a crafted body to cause multi-gigabyte memory allocation and crash the node, potentially shutting down the network.
The setCertTime transaction type was not validated in the txPreCrackData check, so an attacker could submit many fake nominee transactions without funding an account. This filled the transaction queue and caused the network to reject almost all legitimate transactions, including staking and unstaking.
The version comparison function misinterprets multi-digit version segments and accepts malformed versions, causing valid nodes to be rejected. An attacker could exploit this to cause more than 30% of network processing nodes to be shut down without brute force.
The signature validation for staking and node-removal certificates counted unique signature strings, but the hex decoder stopped at the first non-hex character, so appending junk to one node's signature produced many distinct-looking entries that all verified. An attacker could therefore join the network without staking or kick an active node out.
The signature validation function counted duplicate signatures as distinct because it ignored hexadecimal capitalization, allowing a single node to forge the required number of signatures. An attacker could bypass staking requirements to join the network without staking or remove any node from the network.
The initRewardTX function does not verify that a nominee account is an active validator node, so an attacker can stake arbitrary accounts and claim rewards for them without running real nodes. This allows the attacker to collect SHM rewards for fake nominees, causing direct loss of funds.
The setCertTime internal transaction deducts a small amount of SHM from the nominator address without verifying that the nominee is actually nominated by that nominator. An attacker can submit such transactions with their own node public key as nominee and a victim's nominator address, repeatedly draining the victim's balance.
The ClaimReward transaction lacks validation on the nodeDeactivatedTime field, allowing a malicious validator to claim a massively inflated reward or an unknown attacker to block rewards for any node by setting a zero reward. Both outcomes lead to loss of funds from the network.
The InitRewardTimes transaction lacks authorization, allowing any user to set a node's reward start time. Combined with a unit confusion (seconds vs milliseconds), an attacker can set the start time to a far-future value, preventing the node from ever claiming rewards.
The Rust component manually formats JSON strings without escaping, allowing an attacker to inject arbitrary JSON into header fields. This lets an attacker overwrite existing header data and add new fields, potentially disrupting network nodes.
The core node software fetches HTTP responses using the got library without any cap on response size, and it accepts compressed responses. An attacker who controls a peer or archiver endpoint could return a small compressed payload that expands enormously, exhausting memory and crashing the node.
A malicious node can manipulate the appData memory pattern to disable account locking, allowing parallel processing of transactions from the same account. This enables double-spending and unlimited duplication of SHM coins.
SC
Shardeum: Core III
Critical
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.