Code4rena
Chakra
Every publicly disclosed report for Chakra and what kind of bugs they were.
- disclosed reports
- 26
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2025
Disclosed reports
Newest first. Only what Chakra chose to make public.
-
SettlementSignatureVerifier is missing check for duplicate validator signatures
Smart contracts High Audit finding +34 collaborators
-
Malicious actors can manipulate the cross_chain_callback callback
Smart contracts High Audit finding +13 collaborators
-
In settlement.cairo::receive_cross_chain_msg - the message will always be marked with Status::SUCCESS
Business logic High Audit finding +4 collaborators
-
settlement.cairo doesn’t process callback correctly leading to CrossChainMsgStatus marked as SUCCESS even if it failed on destination chain
Business logic High Audit finding +5 collaborators
-
Incorrect Decimals Setting for ckrBTC Token May Lead to User Confusion and Inaccurate Transaction Amounts
Business logic Medium Audit finding +2 collaborators
-
Forcing Starknet handlers to be whitelisted on the same chain allows exploit of BurnUnlock mode to drain handler funds
Business logic High Audit finding +1 collaborator
-
Anyone can manipulate user nonce ( nonce_manager ) in settlement contract
Access control High Audit finding +16 collaborators
-
Handler’s receive_cross_chain_callback() will always set the tx_status to SETTLED on source chain & burn the tokens (MintBurn Mode) even when the msg fails on destination
Smart contracts High Audit finding +16 collaborators
-
Does not check if to_chain and to_handler is whitelisted in cross_chain_erc20_settlement
Access control Medium Audit finding +27 collaborators
-
SettlementSignatureVerifier’s required_validators is not updated, resulting in a low or high number of signatures being required
Business logic Medium Audit finding +9 collaborators
-
Excessive Authority Granted to Managers in the ckr_btc.cairo Contract Presents Significant Management Risks
Access control Medium Audit finding +9 collaborators
-
In settlement.cairo::receive_cross_chain_msg - the payload_type can be passed by the user, confusing offchain systems
Business logic High Audit finding +2 collaborators
-
Inconsistent Handler Validation Behavior in Cairo ERC20Handler’s Cross-Chain Callback
Business logic High Audit finding +4 collaborators
-
ChakraSettlement.receive_cross_chain_msg and ChakraSettlement.receive_cross_chain_callback functions do not ensure that receiving ChakraSettlement contract’s contract_chain_name must match to_chain corresponding to respective txid input though they should
Access control High Audit finding +17 collaborators
-
The receive_cross_chain_msg function has potential replay attack risks
Race condition Medium Audit finding
-
The LockMint and BurnUnlock modes cannot be used
Business logic High Audit finding +2 collaborators
-
Invalid token address used in ChakraSettlementHandler::cross_chain_erc20_settlement(...) leading to invalid transaction creation and event emission
Business logic High Audit finding +17 collaborators
-
Wrong usage of transaction originator address instead of caller address
Business logic Medium Audit finding +5 collaborators
-
In Starknet, already processed messages can be re-submitted and by anyone
Business logic High Audit finding +35 collaborators
-
Bridging from Starknet to Starknet causes mismatch between minted ckrBTC and BTC transferred to MuSig2
Business logic Medium Audit finding
-
Settlement contract is mistakenly used for the handler contract when assigning ReceivedCrossChainTx struct
Smart contracts Medium Audit finding +6 collaborators
-
Missing ERC20Method validation at destination allows non-transfer tx to be handled as transfers
Business logic Medium Audit finding +1 collaborator
-
There is no refund mechanism in ChakraSettlement.processCrossChainCallback or ChakraSettlementHandler.receive_cross_chain_callback function
Business logic High Audit finding +36 collaborators
-
Inconsistency in sender address when creating cross chain messages on Starknet can lead to loss of funds
Business logic Medium Audit finding +9 collaborators
-
A cross-chain message can be initiated with invalid parameters
Business logic Medium Audit finding +14 collaborators
-
Permanent loss of user tokens on both chains if BurnUnlock mode fails because of flawed burning pattern
Business logic Medium Audit finding +3 collaborators