You may have heard of the "sandwich attack" which is where a contract manipulates an on-chain price feed, forces a liquidation, then undoes the manipulation in a single atomic transaction. Currently, we do not allow contracts to act as margin callers precisely for this reason. This is a temporary solution until a sustainable technical solution is implemented.

Did this answer your question?