Business logic
PM borrow liabilities are omitted from backing, allowing phantom surplus settlement
The accountant's backing calculation reads only the supplied-asset side of the Hyperliquid Portfolio Margin precompile state and never subtracts borrow liabilities, so total backing can look positive while the account is net underwater. A normal settlement could then pass the surplus gate and mint phantom yield into sUSDM while paying real USDC to insurance and foundation.
Monetrix
Medium