02 / Trace the failure points
A working contract can still produce a loss.
A liquidation can follow the rules exactly and still hurt the borrower. Aave documents a health factor that compares collateral value, adjusted by the liquidation threshold, with debt. Below one, the position is eligible for liquidation.
An invented position
Suppose collateral is worth $1,000, the liquidation threshold is 75% and debt is $500. The health factor is 1.5: $1,000 × 75% ÷ $500. If collateral falls to $600 while the other inputs stay fixed, the factor becomes 0.9. The position is now below the threshold.
These are fictional inputs, not current Aave terms or a borrowing recommendation. Actual positions involve asset specific parameters, changing debt, price feeds and liquidation costs.
Then consider failures outside the formula.
A contract can contain a bug. An administrator may be able to upgrade it. A price feed can report an inaccurate value. A bridge can fail, or an asset intended to track a currency can trade away from it. These are different risks, even when one app combines them.
Ethereum's security guidance explicitly warns that audits will not catch every bug. Read what was reviewed, which deployed version it covers and whether later changes fall outside that review. An audit badge is not a promise to repay users.
A wallet approval can outlast your visit.
Some token approvals authorize a contract to move tokens later. MetaMask explains that disconnecting from an application does not revoke those approvals. Review the permissions you grant and use official wallet guidance to inspect or revoke them. Never enter your recovery phrase into a website to connect, claim a reward or fix a position.