Skip to content

Immunefi

Stacks

Every publicly disclosed report for Stacks and what kind of bugs they were.

disclosed reports
32
most reported class
Business logic
bug classes found
5
first disclosure
2024
Find Stacks on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Stacks chose to make public.

Race condition

A malicious coordinator can run multiple DKG coordination in parallel and manipulate their order to break the signers network

The signer network lacks a check that the DKG coordination round identifier is derived from the coordinator's public key and the Bitcoin chain tip, so a malicious coordinator can run several DKG rounds at once. Signers then store the resulting aggregate keys in different orders, disagree on the latest key, and the network stops confirming transactions.

Stacks

Informational
DoS

The BitcoinCoreClient::get_tx_info does not support coinbase transactions, which may cause sBTC to be attacked by btc miners or sBTC donations to be lost

The BitcoinCoreClient::get_tx_info function fails to parse coinbase transactions because the BitcoinTxInfo struct requires a vin field that coinbase transactions lack. A malicious miner could include a small output to a signer's address in a coinbase transaction, causing the signer to fail parsing and ignore all transactions in that block, including user deposits.

Stacks

High
Crypto

Attackers can disrupt the tag order of gossip messages to bypass signature verification

The signer's gossip message decoder determines the start of the signed digest based on the position of tag 1, which an attacker can move to the end of the message, making the digest empty. An attacker who is a signer could then forge any gossip message using a signature over just the message type prefix.

Stacks

Informational
Business logic

Governance calling sbtc-registry.update-protocol-contract may cause Stacks' events to be ignored by the signer

The signer's /new_block API does not recognise the update-protocol-contract event emitted by the sbtc-registry contract, so when governance calls update-protocol-contract the API returns an error and skips the entire block. Any other events in that block, such as withdrawal-create or key-rotation, are then ignored, which could freeze user funds or delay key rotation.

Stacks

Informational
DoS

Coordinator can be crashed by signers on DKG

The wsts library used unchecked array indexing when a coordinator processed DKG packets, so a malicious signer could send a crafted BadPrivateShare with malformed shares and a valid tuple proof to make the coordinator panic. This could shut down a portion of network processing nodes, though the text notes DKG is not triggered in the near future.

Stacks

Informational
DoS

There is a Partial Network Degradation Due to DynamoDB GSI Throttling Under High Traffic

The DynamoDB global secondary indexes used by the deposit and withdrawal tables use a fixed status value as the partition key, so all pending transactions land in one partition and can be throttled under high traffic. This could cause failed reads and writes, making 10% to 30% of network processing nodes unavailable and delaying or failing user transactions.

Stacks

Low
Business logic

Emily.create_deposit can overwrite any deposit to the Pending state

The Emily API's create_deposit endpoint does not check whether a deposit already exists, so an attacker can resubmit a confirmed deposit to reset its status to Pending. This causes the signer to reprocess deposits, potentially wasting gas fees and disrupting processing.

Stacks

Medium
Business logic

Deposits with a lock_time of 16 cannot be processed

The reclaim script parser in sBTC rejects scripts that use the minimal opcode for a lock_time of 16, because the range check excludes the upper bound. An attacker or user with such a script cannot process their deposit, causing loss of fees and temporary unavailability of funds.

Stacks

Medium
DoS

Deposits can be completely DoSed due to incorrect transaction construction

The transaction coordinator packages all pending deposit requests into a single large Bitcoin transaction, which causes signing rounds to time out when there are more than about 40 deposits in one block. An attacker could submit 40 deposits in a single block to permanently deny service to the signers, preventing any deposits from being processed.

Stacks

Informational