High-risk tools in Trade Router
5 of the 21 tools in Trade Router are classified as high 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 high risk
-
auto_swapExecute 3/5Build + sign + submit in one step. Requires TRADEROUTER_PRIVATE_KEY.
-
build_swapExecute 3/5Build an unsigned Solana swap tx via REST. Returns base58 swap_tx. Pass to submit_signed_swap or use auto_swap.
-
place_limit_trailing_twap_orderExecute 3/5Place a limit-then-trailing-then-TWAP order. Limit → trail → on trail trigger, execute via TWAP. action: limit_trailing_twap_sell|limit_trailing_twap_buy.
-
place_limit_twap_orderExecute 3/5Place a limit-then-TWAP order. Wait for limit target (bps), then execute via TWAP. action: limit_twap_sell|limit_twap_buy.
-
place_trailing_twap_orderExecute 3/5Place a trailing-then-TWAP order. When trail triggers, execute via TWAP. action: trailing_twap_sell|trailing_twap_buy.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.
More on Trade Router
Enforce policy on Trade Router
One command generates a policy scaffold for every server in your MCP config.
npx -y @policylayer/intercept init