The function `get_tax_amount()` only counts tax amounts in `BankMsg::Send` messages, ignoring those in `WasmMsg::Execute` messages. This can cause payment transfers to fail or allow payers to skip taxes when fee recipients have a custom message set.
When a validator is removed from the bonded set, its delegations are automatically unbonded and the funds are sent directly to the staking contract, bypassing the normal unstaking queue. These funds remain stuck in the contract because the withdrawal function only processes queued unstakes.
The staking contract's withdrawal address is not set by default, so rewards can be sent to the contract itself instead of the owner. An attacker can front-run the owner's first claim by staking a small amount on their behalf, causing all accrued rewards to become stuck in the contract.
The validator-staking contract lacks a function to change the default staking validator, contradicting the documentation that says it can be altered. An attacker cannot directly exploit this, but it means the documented functionality is missing, which the protocol team later fixed.
VFS path validation fails for usernames that are also valid addresses, causing valid paths to be rejected or resolved to the wrong address. This can break functionality and lead to loss of funds when funds are sent to an incorrect address.
The vesting contract did not track how many tokens from each vesting batch were staked, so a recipient could claim tokens from a matured vesting while those tokens were staked, effectively pulling tokens from another vesting that was still locked. This allowed bypassing the lockup period and accessing locked tokens prematurely.
The vesting contract's batch creation function calls a delegation function that is restricted to the owner, but a planned update would restrict delegation to the recipient, causing a conflict where batch creation with direct delegation always reverts. An attacker could not exploit this; it is a functional bug that prevents legitimate use.
The contract's withdrawal function assumes unstaking entries are ordered by completion time, but if governance reduces the chain's UnbondingTime, newer entries can have earlier completion times and become stuck behind older ones. This can lock tokens for up to the original unbonding period.
The UNSTAKING_QUEUE records the initial_balance of an unbonding delegation, but if a validator is slashed, the actual balance received is lower. This causes execute_withdraw_fund() to fail due to insufficient balance, blocking the queue.
The claim_batch function in a vesting contract calculates the amount to send by first dividing and then multiplying, which can cause precision loss and even result in zero amount being claimable. An attacker or user could be unable to retrieve funds due to this rounding error.
The permission check function returns true when a blacklist entry has expired, regardless of whether the action requires permission. An attacker could gain unauthorised access to permissioned actions after their blacklist expires.
A permission check function decrements a limited-use permission even when the action no longer requires permission, causing an underflow if the uses are already zero. An attacker with a limited permission could be blocked from executing an action after the administrator changes the action's permission requirement.
The contract's claim function always sends a message to set the withdraw address before claiming rewards. If the chain parameter WithdrawAddrEnabled is false, that message fails and the whole claim transaction reverts, so rewards cannot be claimed.
The AMP packet verification in Andromeda's ADO contracts did not check that the previous_sender field matched the actual sender when a user submitted an AMPReceive message directly. An attacker could forge previous_sender to impersonate a privileged address, potentially bypassing permission checks such as the minter restriction in the CW721 contract.
AV
Andromeda – Validator Staking ADO and Vesting ADO
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.