Critical-risk tools in XcodeBazelMCP
7 of the 125 tools in XcodeBazelMCP 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
-
bazel_ios_agent_debug_log_clearDestructiveDelete an agent debug NDJSON log file before a repro run (Cursor debug mode). Safe no-op if missing.
-
bazel_ios_cleanDestructiveClean Bazel build outputs. Use expunge to remove the entire output base.
-
bazel_ios_device_uninstall_appDestructiveUninstall an app from a connected physical iOS device by bundle identifier.
-
bazel_ios_device_unpairDestructiveUnpair a previously paired physical iOS device.
-
bazel_ios_erase_simulatorDestructiveErase all content and settings from a simulator, restoring it to factory state.
-
bazel_ios_uninstall_appDestructiveUninstall an app from a simulator by bundle identifier.
-
swift_package_cleanDestructiveClean build artifacts of a Swift package (
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.