Hunt prep
Before you test Shardeum: Core III
What 36 disclosed reports say about Shardeum: Core III: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| DoS lesson | 14 | 0 | – | – | $0 |
| Business logic lesson | 11 | 0 | – | – | $0 |
| Access control lesson | 5 | 0 | – | – | $0 |
| Crypto lesson | 5 | 0 | – | – | $0 |
| Misconfiguration lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Improper input validation in fixDeserializedWrappedEVMAccount leads to DOS and total network shutdown
Before calling Array.from, validate that the type is not an object, everywhere in the code.
Disclosed
-
Tricking nodes into signing nearly-arbitrary data
Every place that calls the node-signing function should strip unnecessary fields, and every place that checks a signature should also strip unnecessary fields.
Disclosed
-
No rate Limiting in resource-intensive endpoint
Rate limiting should be implemented using the trySpendServicePoints function, as done for similar endpoints.
Disclosed
-
Signature forgery on behalf of network nodes using binary_sign_app_data endpoint
The signAppData method should be updated to strictly validate the appData parameter and reject unexpected fields, or the binary_sign_app_data endpoint should be removed or properly secured.
Disclosed
-
Receiving rewards multiple times for the same period
Validate nodeActivatedTime against nodeAccount.rewardEndTime if rewardStartTime is greater than 0.
Disclosed
-
Lack of validation of node deactivation time in ClaimRewards allows to steal rewards
The ClaimRewards handler should validate that nodeDeactivatedTime falls within the node's staking and active period.
Disclosed
-
Lack of validation of node activation time in InitRewardTimes allows to steal rewards
The nodeActivatedTime should be validated to ensure it falls within the node's staking or active period.
Disclosed
-
Bypass certificate signing validation by double counting signatures due to signature malleability
The validation should count distinct signers rather than distinct signatures, and the signature malleability issue should also be addressed.
Disclosed
-
Bypass SetCertTime transaction signature check #1
The reporter suggested always using the isInternalTx helper instead of the raw field, always using isSetCertTimeTx instead of comparing the internal transaction type directly, and removing the third check from isInternalTx.
Disclosed
-
Filling the queue with "setCertTime" stop the network from processing new transactions
The setCertTime handler should check that the nominee account exists in the network before accepting the transaction.
Disclosed
-
There is an issue related to incorrect version parsing and comparison logic lead to incorrect node validation,
The version parsing should be corrected to properly handle multi-digit segments and reject malformed versions, for example by using parseInt with validation or a dedicated version comparison library.
Disclosed
-
Bypass certificate signing validation by double counting signatures due to ignored suffixes
The report suggests enforcing that hex fields really are hex on gossip and HTTP endpoints, and counting distinct signers rather than signature strings.
Disclosed
-
Bypass certificate signing validation by double counting signatures due to capitalization
The report suggests ensuring lowercase on any payload on any gossip and HTTP endpoint, and counting signers rather than signatures.
Disclosed
-
Insufficient validation on ClaimReward transaction allows attacker to claim an inflated reward OR prevent all nodes from being rewarded
Constrain nodeDeactivatedTime to not be in the future, remove the redundant deactivatedNodeId field and enforce claims using the public key, and restrict who can send ClaimReward transactions.
Disclosed
-
Lack of authorization on InitClaimReward transaction allows attacker to prevent all nodes from being rewarded
The transaction validation should check that the signer is an authorized node (e.g., by verifying the signature against the expected public key) and ensure consistent time units.
Disclosed