Critical-risk tools in Purple Flea Trading
3 of the 9 tools in Purple Flea Trading 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
-
trading_close_positionFinancialClose an open position on Hyperliquid and realize profit/loss. Submits a reduce-only market order. Returns entry price, exit price, P&L in USD and percentage, and fees paid.
-
trading_open_positionFinancialOpen a REAL leveraged long or short position on Hyperliquid. Supports stocks (TSLA 5x), commodities (GOLD 10x), crypto (BTC 50x). Orders execute directly on YOUR HL account. Fee...
-
trading_registerFinancialCreate a new trading account with real Hyperliquid execution. Provide your HL wallet address and signing key (API Agent Wallet private key) for live trading. Trades execute on Y...
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.