Assessment reports
Public findings
Back to Zellic site
↗
Assessment reports
>
Chainflip Backend
>
Threat Model
>
Pallet: cf-swapping
General
Overview
Findings
Critical (1)
High (1)
Medium (1)
Discussion
Lack of broker fee limits
ERC-20 transfer reversions result in stuck funds
Type conversion could lead to fund loss
Threat Model
What are threat models?
1-cf-lp
2-cf-pools
3-cf-swapping
Pallet: cf-swapping
Function: request_swap_deposit_address
Function: withdraw
Function: schedule_swap_from_contract
Function: ccm_deposit
Function: register_as_broker
Function: set_minimum_swap_amount
4-cf-witnesser
5-engine
Audit Results
Summary
Pallet: cf-swapping
This pallet is responsible for managing swaps and cross-chain messages (CCMs).
Zellic © 2024
Back to top ↑