High-risk tools in MiniApp CDP MCP
6 of the 18 tools in MiniApp CDP MCP 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
-
break_on_xhrExecuteSets a breakpoint that triggers when an XHR/Fetch request URL contains the specified string.
-
evaluate_scriptExecuteEvaluates a JavaScript expression in the current context. If execution is paused, it automatically evaluates in the paused call frame context.
-
stepExecuteControls execution when paused. action must be one of:
-
resume_executionExecuteresume_execution
-
set_breakpoint_on_textExecuteFinds a text string in all loaded scripts and sets a breakpoint at that location.
-
switch_targetExecuteSwitches the CDP connection to a different target thread (e.g. from WebView to AppService) to debug different parts of the miniapp.
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.