Critical-risk tools in Lighter MCP
7 of the 20 tools in Lighter MCP are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
cancel_all_ordersDestructiveCancel ALL open orders across all markets in this sub-account.
-
cancel_orderDestructiveCancel a single order by ID for a given market.
-
close_positionFinancialMarket-close the open position on `symbol`. Returns None if no position.
-
place_limit_orderFinancialplace_limit_order
-
place_market_orderFinancialplace_market_order
-
place_stop_lossFinancialPlace an on-chain stop-loss (reduce-only).
-
place_take_profitFinancialPlace an on-chain take-profit (reduce-only). Same semantics as SL.
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.