Critical-risk tools in Wp Cli
5 of the 58 tools in Wp Cli 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
-
wp_plugin_deleteDestructivePermanently delete a WordPress plugin from the filesystem. The plugin must be deactivated first. This cannot be undone.
-
wp_post_deleteDestructiveDelete a post
-
wp_theme_deleteDestructiveDelete a theme
-
wp_theme_file_deleteDestructiveDelete a file from a WordPress theme. Cannot be undone.
-
wp_transient_delete_allDestructiveDelete all WordPress transients (cached temporary data). Useful for clearing stale caches.
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.