accounting-error

2 articles
Sort: New Top Best
clear filter
0
vulnerability

Brahma.Fi's L2 position handler contains a sign confusion bug in positionInWantToken() that miscalculates position value when the account is underwater, treating negative account values as positive funds. This leads to incorrect share calculations during deposits/withdrawals, fee overcharges, and potential protocol insolvency through user exploitation.

Brahma.Fi PerpV2Controller PerpTradeExecutor Perpetual Protocol Optimism 0x1b6BF7Ab4163f9a7C1D4eCB36299525048083B5e
trust-security.xyz · Trust · 4 hours ago · details
0
vulnerability

Iron Bank's seizeInternal() function fails to credit liquidators with the correct collateral amount when seizing tokens, undercounting their collateral and potentially triggering unintended liquidations. The bug stems from only increasing collateral by collateralTokens instead of the full seizeTokens amount, with the difference (buffer) not being accounted for.

Iron Bank CCollateralCapERC20.sol 0x7e8844ea4c211a69ad9308ba0b6cdb3ea0bb2b05
trust-security.xyz · Trust · 4 hours ago · details