Skip to content

Immunefi

Shardeum: Ancillaries III

Every publicly disclosed report for Shardeum: Ancillaries III and what kind of bugs they were.

disclosed reports
17
most reported class
DoS
bug classes found
4
first disclosure
2025
Find Shardeum: Ancillaries III on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Shardeum: Ancillaries III chose to make public.

Crypto

Multiple vulnerabilities in signature verification during receipt processing on the archiver server

The archiver's receipt signature verification had two flaws: it counted signatures by a case-sensitive owner field, letting one key be cloned into many entries, and a second check only confirmed that owner keys belonged to execution-group nodes without verifying the signatures themselves. Combined, an attacker with an active node could forge receipts and change any account balance.

Shardeum: Ancillaries III

Critical
DoS

Node-fetch without response limit

The archiver uses node-fetch without a response size limit, allowing an attacker to return a large compressed response that exhausts memory and crashes the node. The attacker does not initiate the attack; the victim must contact other archivers/nodes.

Shardeum: Ancillaries III

Low
Business logic

Malicious validator can inject its own cycle record into connected archiver

The archiver accepted the last received cycle record rather than a majority consensus, so a malicious validator could time its submission to have its forged network structure adopted as authoritative. An attacker could then spoof the node list, proxy traffic through controlled nodes, and spread the forged view to other archivers and new validators.

Shardeum: Ancillaries III

Critical
Business logic

Incorrect default configuration leading to dead code

The Archiver's default configuration leaves the receipt verification path that calls robustQuery unreachable, so receipts are only checked offline instead of against a majority of validators. The reporter claims this gives attackers more room to bypass validation, though no concrete exploit is shown.

Shardeum: Ancillaries III

Informational
Business logic

Archiver is still vulnerable to replay attack to /set-config

The archiver's debug middleware only signs the request path and counter, and initialises the last counter to zero on startup, so a captured signed request can be replayed after a restart or against any other archiver sharing the same dev keypair. An attacker who intercepts one signed request to /set-config can alter its body and re-send it to change configuration on other archivers, potentially disrupting the network.

Shardeum: Ancillaries III

Medium
Access control

Numerous replay attacks (with arbitrary data) to protected endpoints are possible

The debug middleware protecting endpoints like /api/subscribe only checks a signature over the route and a counter, not the request body, and the counter resets to zero on server restart. An attacker who intercepts one signed request can replay it with arbitrary data to other servers or after a restart, changing the validator node the JSON-RPC server connects to.

Shardeum: Ancillaries III

Medium
Crypto

Bypass receipt signing validation

A malicious validator could bypass receipt signature validation by supplying a signature pack that mixes valid signatures from an attacker-controlled key with invalid signatures claiming to be from legitimate nodes. This allowed the attacker to store arbitrary receipts and overwrite any account data on the archive server, including the global network account.

Shardeum: Ancillaries III

Critical
DoS

Dos archiver via data subscription channel due to broken safestringfy

The archiver's custom safeStringify function trusts a buffer's declared length without validating the actual content, so a malicious core node can send a crafted data subscription payload that triggers an enormous memory allocation. This makes the archiver unresponsive and effectively takes it down.

Shardeum: Ancillaries III

Critical
DoS

Blocking all users from interacting with particular contracts/protocols via JSON-RPC server

The JSON-RPC server's rate limiter blocks any transaction to a contract if more than 10 transactions to that contract occurred within the last minute. An attacker can send repeated invalid transactions to a target contract, causing all legitimate users' transactions to be rejected for a minute, and can repeat this to block indefinitely.

Shardeum: Ancillaries III

Medium
DoS

Prevent new validators from joining the network by a DOS of the archiver

The archiver's account-data endpoint keeps a validator in a serving map indefinitely as long as it keeps calling, so a small number of validators can fill the map and block all others. During restore mode this stops new validators from syncing with the network.

Shardeum: Ancillaries III

Low
Access control

Malicious validator can overwrite any cycle data

The Archiver's cycle collection logic saved the last received cycle rather than the validated one, so a malicious validator could submit a modified cycle with the same counter and marker and have it accepted once enough confirmations arrived. This let the validator alter network parameters such as adding unauthorised Archivers.

Shardeum: Ancillaries III

Critical
DoS

Blocking the victim's account address from sending transactions via JSON-RPC

The JSON-RPC server rate-limits and blacklists transaction senders based on the sender address embedded in raw transactions, without verifying who submitted them. An attacker can replay a victim's raw transaction many times in one batch to get the victim's address banned, stopping them from sending transactions through that server.

Shardeum: Ancillaries III

Low
DoS

Improper serialization can create an out-of-memory (OOM) issue on the archive server.

The archive server uses a vulnerable safeStringify function that, when serialising a buffer with base64 encoding, calls Buffer.from on attacker-controlled data. An attacker can supply an object with a large length property, causing excessive memory allocation and an out-of-memory condition that takes down the server.

Shardeum: Ancillaries III

Critical
Business logic

GetRandomActiveNodes may return inconsistent results

The getRandomActiveNodes function and its helper getRandomItemFromArr were intended to return a random, evenly distributed, unique subset of active nodes, but due to a nodeRejectPercentage variable the distribution is skewed and duplicates can occur. This could weaken the consensus property of robustQuery by faking redundancy, and cause duplicate requests or responses.

Shardeum: Ancillaries III

Informational
Access control

Arbitrarily set any archiver config and remotely turning it off

The set-config endpoint's debug-mode check only signs the route and a timestamp, not the configuration body, so a captured dev-signed request can be replayed against other archiver nodes. An attacker could then change arbitrary config such as ARCHIVER_MODE to debug and call dev-only methods like debug-inf-loop, potentially taking down the archiver network.

Shardeum: Ancillaries III

Medium
DoS

SyncStateDataGlobals will not work, effectively DoS'ing nodes

The archiver's account lookup builds a SQL IN clause with a single placeholder, so a request containing more than one account ID fails. A restoring node that asks for several accounts at once therefore cannot sync, which can deny service to that node.

Shardeum: Ancillaries III

Informational