React Native — 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": "@ohah/react-native-mcp-server",
"source": {
"kind": "package",
"origin": "@ohah/react-native-mcp-server"
},
"server": {
"name": "@ohah/react-native-mcp-server"
}
},
"grade": "D",
"score": {
"score": 68,
"threatScore": 78,
"grade": "D",
"band": "D",
"categorySubtotals": {
"injection": 21.7,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"kind": "threat",
"ruleId": "MTC-SRC-011",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"kind": "client",
"term": "capability-exposure",
"level": "critical",
"label": "capability blast radius (critical) — client exposure if the model is manipulated",
"appliedPenalty": 10
},
{
"kind": "client",
"term": "verification-discount",
"level": "source",
"label": "publisher verification (provenance) — cryptographic build provenance ties the artifact to its source",
"appliedPenalty": 0
},
{
"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": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can execute shell commands or code",
"untrusted input can reach code execution"
],
"tags": [
"untrusted-input",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (43 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-010",
"title": "Dynamic evaluation of a non-literal value (runtime.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`runtime.js:3369`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. 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": "runtime.js"
},
"evidence": "try { result = eval(msg.params && msg.params.code != null ? msg.params.code : \"undefined\"); } catch (e) {",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "runtime.js",
"line": 3369,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-011",
"title": "Assembled command execution and dynamic evaluation in the same server",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "The implementation both builds shell commands out of runtime values (`dist/init-CN1KEbKD.js`) and evaluates runtime values as code (`runtime.js`). Each is a separate arbitrary-execution primitive; a server exposing both gives anything that reaches either one a direct path to running attacker-chosen code. These two sinks are in different files — confirm whether they are actually connected, or are unrelated code paths (e.g. a vendored bundle plus a CLI wrapper).",
"remediation": "Remove the dynamic eval, and pass command arguments as an argv array instead of building a shell string. If both are genuinely required, constrain and validate every value that can reach them.",
"location": {
"kind": "server",
"name": "implementation"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rules": [
"MTC-SRC-009",
"MTC-SRC-010"
],
"commandFile": "dist/init-CN1KEbKD.js",
"evalFile": "runtime.js",
"sameFile": false
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (runtime.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`runtime.js:1791`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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": "runtime.js"
},
"evidence": "__r=(function(){ return eval(__script); })(); var __v=typeof __r===\\\"string\\\" ? __r : (function(){ try { return JSON.str",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "runtime.js",
"line": 1791,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/adb-utils-DKh6ICjL.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/adb-utils-DKh6ICjL.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/adb-utils-DKh6ICjL.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; //#region src/tools/run-command.ts /** * 공유 CLI 명령 실행 유틸리티 * take-screenshot, i",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/adb-utils-DKh6ICjL.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/client-Boy8p1w3.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/client-Boy8p1w3.js:4`): 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/client-Boy8p1w3.js"
},
"evidence": "port { execFile } from \"child_process\"; import path from \"path\"; import { existsSync } from \"fs\"; //#region src/client/",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/client-Boy8p1w3.js",
"line": 4,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:7`): 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/index.js"
},
"evidence": "spawnSync } from \"node:child_process\"; import { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\"; import { St",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/index.js",
"line": 7,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/init-CN1KEbKD.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/init-CN1KEbKD.js:2`): 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/init-CN1KEbKD.js"
},
"evidence": "{ execSync } from \"node:child_process\"; import os from \"node:os\"; import fs from \"node:fs\"; import readline from \"node:r",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/init-CN1KEbKD.js",
"line": 2,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/reporters-r33TY821.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/reporters-r33TY821.js:3`): 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/reporters-r33TY821.js"
},
"evidence": "{ execSync } from \"node:child_process\"; import { z } from \"zod\"; import { tmpdir } from \"node:os\"; import { existsSync,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/reporters-r33TY821.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (dist/init-CN1KEbKD.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/init-CN1KEbKD.js:141`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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/init-CN1KEbKD.js"
},
"evidence": "try { const output = execSync(`${cmd} ${versionFlag}`, { stdio: [ \"pipe\", \"pipe\", \"pipe\" ], time",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "dist/init-CN1KEbKD.js",
"line": 141,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (dist/test/cli.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/test/cli.js:5`): 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/test/cli.js"
},
"evidence": "{ execSync } from \"node:child_process\"; import { createServer } from \"node:http\"; import { platform } from \"node:os\"; im",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/test/cli.js",
"line": 5,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (scripts/doctor.mjs)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/doctor.mjs:11`): 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": "scripts/doctor.mjs"
},
"evidence": "port { execSync } from 'child_process'; const MIN_NODE_MAJOR = 24; const MIN_RN_VERSION = '0.74.0'; function parseVers",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "scripts/doctor.mjs",
"line": 11,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "start_video_recording",
"tags": [],
"reasons": {}
},
{
"tool": "stop_video_recording",
"tags": [],
"reasons": {}
},
{
"tool": "webview_evaluate_script",
"tags": [],
"reasons": {}
},
{
"tool": "evaluate_script",
"tags": [],
"reasons": {}
},
{
"tool": "get_debugger_status",
"tags": [],
"reasons": {}
},
{
"tool": "list_console_messages",
"tags": [],
"reasons": {}
},
{
"tool": "list_network_requests",
"tags": [],
"reasons": {}
},
{
"tool": "take_screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "take_snapshot",
"tags": [],
"reasons": {}
},
{
"tool": "accessibility_audit",
"tags": [],
"reasons": {}
},
{
"tool": "type_text",
"tags": [],
"reasons": {}
},
{
"tool": "switch_keyboard",
"tags": [],
"reasons": {}
},
{
"tool": "tap",
"tags": [],
"reasons": {}
},
{
"tool": "swipe",
"tags": [],
"reasons": {}
},
{
"tool": "input_text",
"tags": [],
"reasons": {}
},
{
"tool": "input_key",
"tags": [],
"reasons": {}
},
{
"tool": "press_button",
"tags": [],
"reasons": {}
},
{
"tool": "describe_ui",
"tags": [],
"reasons": {}
},
{
"tool": "file_push",
"tags": [],
"reasons": {}
},
{
"tool": "add_media",
"tags": [],
"reasons": {}
},
{
"tool": "list_devices",
"tags": [],
"reasons": {}
},
{
"tool": "list_apps",
"tags": [],
"reasons": {}
},
{
"tool": "terminate_app",
"tags": [],
"reasons": {}
},
{
"tool": "get_orientation",
"tags": [],
"reasons": {}
},
{
"tool": "set_orientation",
"tags": [],
"reasons": {}
},
{
"tool": "get_screen_size",
"tags": [],
"reasons": {}
},
{
"tool": "open_deeplink",
"tags": [],
"reasons": {}
},
{
"tool": "clear",
"tags": [],
"reasons": {}
},
{
"tool": "clear_state",
"tags": [],
"reasons": {}
},
{
"tool": "set_location",
"tags": [],
"reasons": {}
},
{
"tool": "scroll_until_visible",
"tags": [],
"reasons": {}
},
{
"tool": "inspect_state",
"tags": [],
"reasons": {}
},
{
"tool": "get_state_changes",
"tags": [],
"reasons": {}
},
{
"tool": "assert_state",
"tags": [],
"reasons": {}
},
{
"tool": "set_network_mock",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "list_network_mocks",
"tags": [],
"reasons": {}
},
{
"tool": "remove_network_mock",
"tags": [],
"reasons": {}
},
{
"tool": "visual_compare",
"tags": [],
"reasons": {}
},
{
"tool": "start_render_profile",
"tags": [],
"reasons": {}
},
{
"tool": "get_render_report",
"tags": [],
"reasons": {}
},
{
"tool": "start_render_highlight",
"tags": [],
"reasons": {}
},
{
"tool": "stop_render_highlight",
"tags": [],
"reasons": {}
},
{
"tool": "get_component_source",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "ae495e38b57cd8384e7457d58ee4dc93ad580dff45d78080aef932f20fa3b2fe",
"stats": {
"tools": 43,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 8,
"medium": 1,
"low": 2,
"info": 0
}
}
}