Xcode — the complete, unedited output of the deterministic mcptrustchecker engine v1.13.0, scanned . Every finding, capability tag and score component below is exactly what the engine produced — no AI, no post-processing.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.13.0",
"methodologyVersion": "mcptrustchecker-1.13"
},
"target": {
"id": "@baochuquan/xcode-mcp",
"source": {
"kind": "package",
"origin": "@baochuquan/xcode-mcp"
},
"server": {
"name": "@baochuquan/xcode-mcp"
}
},
"grade": "A",
"score": {
"score": 92,
"threatScore": 100,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "client",
"term": "capability-exposure",
"level": "high",
"label": "capability blast radius (high) — client exposure if the model is manipulated",
"appliedPenalty": 6
},
{
"kind": "client",
"term": "verification-discount",
"level": "none",
"label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
"appliedPenalty": 2
},
{
"kind": "client",
"term": "coverage-honesty",
"level": "source",
"label": "inspection depth (source) — how much of the target the scan could see",
"appliedPenalty": 0
}
],
"gatesFired": [],
"methodologyVersion": "mcptrustchecker-1.13"
},
"capability": {
"level": "high",
"reasons": [
"can create, modify or delete files",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"sensitive-source",
"file-write",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (76 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command \"npx -y <package>\"."
]
},
"findings": [
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/tools/project/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/tools/project/index.js:207`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "dist/tools/project/index.js"
},
"evidence": "File2 } = await import(\"child_process\"); const execFileAsync = promisify2(execFile2); await exec",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/tools/project/index.js",
"line": 207,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/utils/execFile.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/utils/execFile.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "dist/utils/execFile.js"
},
"evidence": "port { execFile } from \"child_process\"; import { promisify } from \"util\"; import { CommandExecutionError } from \"./error",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/utils/execFile.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/utils/external.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/utils/external.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "dist/utils/external.js"
},
"evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; const pExecFile = promisify(execFile); co",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/utils/external.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"write_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"write_file\" can write, overwrite or delete files (keyword \"write_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"move_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"move_file\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"delete_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"delete_file\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"write_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"write_file\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"move_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"move_file\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"delete_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"delete_file\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"@baochuquan/xcode-mcp\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
"remediation": "Prefer packages that link to public, reviewable source.",
"location": {
"kind": "package",
"name": "@baochuquan/xcode-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "analyze_file",
"tags": [],
"reasons": {}
},
{
"tool": "build_project",
"tags": [],
"reasons": {}
},
{
"tool": "run_tests",
"tags": [],
"reasons": {}
},
{
"tool": "list_available_destinations",
"tags": [],
"reasons": {}
},
{
"tool": "list_available_schemes",
"tags": [],
"reasons": {}
},
{
"tool": "clean_project",
"tags": [],
"reasons": {}
},
{
"tool": "archive_project",
"tags": [],
"reasons": {}
},
{
"tool": "pod_install",
"tags": [],
"reasons": {}
},
{
"tool": "pod_update",
"tags": [],
"reasons": {}
},
{
"tool": "pod_outdated",
"tags": [],
"reasons": {}
},
{
"tool": "pod_repo_update",
"tags": [],
"reasons": {}
},
{
"tool": "pod_deintegrate",
"tags": [],
"reasons": {}
},
{
"tool": "check_cocoapods",
"tags": [],
"reasons": {}
},
{
"tool": "pod_init",
"tags": [],
"reasons": {}
},
{
"tool": "read_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "write_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"write_file\" in tool name"
]
}
},
{
"tool": "copy_file",
"tags": [],
"reasons": {}
},
{
"tool": "move_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"move_file\" in tool name"
]
}
},
{
"tool": "delete_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"delete_file\" in tool name"
]
}
},
{
"tool": "create_directory",
"tags": [],
"reasons": {}
},
{
"tool": "list_project_files",
"tags": [],
"reasons": {}
},
{
"tool": "list_directory",
"tags": [],
"reasons": {}
},
{
"tool": "get_file_info",
"tags": [],
"reasons": {}
},
{
"tool": "find_files",
"tags": [],
"reasons": {}
},
{
"tool": "resolve_path",
"tags": [],
"reasons": {}
},
{
"tool": "check_file_exists",
"tags": [],
"reasons": {}
},
{
"tool": "search_in_files",
"tags": [],
"reasons": {}
},
{
"tool": "set_projects_base_dir",
"tags": [],
"reasons": {}
},
{
"tool": "set_project_path",
"tags": [],
"reasons": {}
},
{
"tool": "get_active_project",
"tags": [],
"reasons": {}
},
{
"tool": "find_projects",
"tags": [],
"reasons": {}
},
{
"tool": "change_directory",
"tags": [],
"reasons": {}
},
{
"tool": "push_directory",
"tags": [],
"reasons": {}
},
{
"tool": "pop_directory",
"tags": [],
"reasons": {}
},
{
"tool": "get_current_directory",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_configuration",
"tags": [],
"reasons": {}
},
{
"tool": "detect_active_project",
"tags": [],
"reasons": {}
},
{
"tool": "add_file_to_project",
"tags": [],
"reasons": {}
},
{
"tool": "create_workspace",
"tags": [],
"reasons": {}
},
{
"tool": "add_project_to_workspace",
"tags": [],
"reasons": {}
},
{
"tool": "create_xcode_project",
"tags": [],
"reasons": {}
},
{
"tool": "list_booted_simulators",
"tags": [],
"reasons": {}
},
{
"tool": "list_simulators",
"tags": [],
"reasons": {}
},
{
"tool": "boot_simulator",
"tags": [],
"reasons": {}
},
{
"tool": "shutdown_simulator",
"tags": [],
"reasons": {}
},
{
"tool": "install_app",
"tags": [],
"reasons": {}
},
{
"tool": "launch_app",
"tags": [],
"reasons": {}
},
{
"tool": "terminate_app",
"tags": [],
"reasons": {}
},
{
"tool": "open_url",
"tags": [],
"reasons": {}
},
{
"tool": "take_screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "reset_simulator",
"tags": [],
"reasons": {}
},
{
"tool": "list_installed_apps",
"tags": [],
"reasons": {}
},
{
"tool": "init_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "add_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "remove_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "edit_package_swift",
"tags": [],
"reasons": {}
},
{
"tool": "build_spm_package",
"tags": [],
"reasons": {}
},
{
"tool": "test_spm_package",
"tags": [],
"reasons": {}
},
{
"tool": "get_package_info",
"tags": [],
"reasons": {}
},
{
"tool": "update_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "swift_package_command",
"tags": [],
"reasons": {}
},
{
"tool": "build_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "test_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "show_swift_dependencies",
"tags": [],
"reasons": {}
},
{
"tool": "clean_swift_package",
"tags": [],
"reasons": {}
},
{
"tool": "dump_swift_package",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"dump\""
]
}
},
{
"tool": "generate_swift_docs",
"tags": [],
"reasons": {}
},
{
"tool": "run_xcrun",
"tags": [],
"reasons": {}
},
{
"tool": "compile_asset_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "run_lldb",
"tags": [],
"reasons": {}
},
{
"tool": "trace_app",
"tags": [],
"reasons": {}
},
{
"tool": "get_xcode_info",
"tags": [],
"reasons": {}
},
{
"tool": "switch_xcode",
"tags": [],
"reasons": {}
},
{
"tool": "export_archive",
"tags": [],
"reasons": {}
},
{
"tool": "validate_app",
"tags": [],
"reasons": {}
},
{
"tool": "generate_icon_set",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "585174d94615daf9a4804941e53ea8865b48ce54a9891d99589449774ce9253c",
"stats": {
"tools": 76,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 3,
"medium": 3,
"low": 3,
"info": 1
}
}
}