High-risk tools in PyMCPAutoGUI
22 of the 34 tools in PyMCPAutoGUI 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
-
activate_windowExecuteActivates (brings to the front) the first window matching the title.
-
alertExecutealert
-
clickExecuteclick
-
confirmExecuteconfirm
-
drag_relExecutedrag_rel
-
drag_toExecutedrag_to
-
hotkeyExecutehotkey
-
key_downExecutePresses and holds down the specified keyboard key.
-
key_upExecuteReleases the specified keyboard key.
-
maximize_windowExecuteMaximizes the first window matching the title.
-
minimize_windowExecuteMinimizes the first window matching the title.
-
mouse_downExecutemouse_down
-
mouse_upExecutemouse_up
-
move_relExecutemove_rel
-
move_toExecuteMoves the mouse cursor to the specified X and Y coordinates.
-
move_windowExecutemove_window
-
pressExecutepress
-
resize_windowExecuteresize_window
-
restore_windowExecuteRestores the first window matching the title (if minimized or maximized).
-
scrollExecutescroll
-
set_failsafeExecuteEnables or disables the failsafe feature (moving mouse to top-left corner to stop).
-
writeExecutewrite
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.