Critical-risk tools in XcodeBazelMCP
5 of the 117 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_erase_simulatorDestructiveErase all content and settings from a simulator, restoring it to factory state.
-
swift_package_cleanDestructiveClean build artifacts of a Swift package (
-
bazel_ios_device_unpairDestructiveUnpair a previously paired physical iOS device.
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.