Safari — 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": "safari-mcp",
"source": {
"kind": "package",
"origin": "safari-mcp"
},
"server": {
"name": "safari-mcp"
}
},
"grade": "A",
"score": {
"score": 93,
"threatScore": 99,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 1.2,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SUP-010",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"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": "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": "high",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"untrusted-input",
"code-exec",
"external-sink",
"sensitive-source"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (97 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-006",
"title": "Reads a sensitive credential path or dumps the environment (safari.js)",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`safari.js:4249`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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": "safari.js"
},
"evidence": "ssh', '.gnupg', '.aws', '.config/gcloud', 'credentials', '.env', '.npmrc', '.netrc', 'id_rsa', 'id_ed25519', '.keychain'",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-006",
"file": "safari.js",
"line": 4249,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"safari_eval_file\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"safari_eval_file\" appears to run shell commands or evaluate code (keyword \"eval\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "safari_eval_file"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"safari_run_script\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"safari_run_script\" appears to run shell commands or evaluate code (keyword \"run_script\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "safari_run_script"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`index.js:23`): 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": "index.js"
},
"evidence": "ecFileSync } from \"node:child_process\"; import { readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync, renameS",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "index.js",
"line": 23,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (safari.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`safari.js:6`): 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": "safari.js"
},
"evidence": "spawnSync } from \"node:child_process\"; import { promisify } from \"node:util\"; import { tmpdir, homedir } from \"node:os\"",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "safari.js",
"line": 6,
"nonRuntime": false
}
},
{
"ruleId": "MTC-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([safari_evaluate, safari_mock_route, safari_start_network_capture, safari_extract_meta]) co-exist with external-action tools ([safari_eval_file, safari_upload_file, safari_run_script]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
"remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
"location": {
"kind": "flow",
"name": "safari_evaluate → safari_eval_file"
},
"evidence": "untrusted [safari_evaluate, safari_mock_route, safari_start_network_capture, safari_extract_meta] → sinks [safari_eval_file, safari_upload_file, safari_run_scri",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"safari_evaluate",
"safari_mock_route",
"safari_start_network_capture",
"safari_extract_meta"
],
"sinks": [
"safari_eval_file",
"safari_upload_file",
"safari_run_script"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"safari_eval_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"safari_eval_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": "safari_eval_file"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"safari_run_script\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"safari_run_script\" 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": "safari_run_script"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (scripts/postinstall.cjs)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/postinstall.cjs:6`): 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/postinstall.cjs"
},
"evidence": "spawnSync } = require(\"child_process\"); const fs = require(\"fs\"); const c = { reset: \"\\x1b[0m\", bold: \"\\x1b[1m\",",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "scripts/postinstall.cjs",
"line": 6,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"description": "\"safari-mcp\" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
"remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
"location": {
"kind": "package",
"name": "safari-mcp"
},
"evidence": "node scripts/postinstall.cjs || true",
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"scripts": [
"postinstall"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"safari_evaluate",
"safari_mock_route",
"safari_start_network_capture",
"safari_extract_meta"
],
"sensitiveSource": [],
"externalSink": [
"safari_eval_file",
"safari_upload_file",
"safari_run_script"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "safari_navigate",
"tags": [],
"reasons": {}
},
{
"tool": "safari_go_back",
"tags": [],
"reasons": {}
},
{
"tool": "safari_go_forward",
"tags": [],
"reasons": {}
},
{
"tool": "safari_reload",
"tags": [],
"reasons": {}
},
{
"tool": "safari_read_page",
"tags": [],
"reasons": {}
},
{
"tool": "safari_get_source",
"tags": [],
"reasons": {}
},
{
"tool": "safari_snapshot",
"tags": [],
"reasons": {}
},
{
"tool": "safari_navigate_and_read",
"tags": [],
"reasons": {}
},
{
"tool": "safari_click",
"tags": [],
"reasons": {}
},
{
"tool": "safari_click_and_read",
"tags": [],
"reasons": {}
},
{
"tool": "safari_double_click",
"tags": [],
"reasons": {}
},
{
"tool": "safari_right_click",
"tags": [],
"reasons": {}
},
{
"tool": "safari_native_click",
"tags": [],
"reasons": {}
},
{
"tool": "safari_native_hover",
"tags": [],
"reasons": {}
},
{
"tool": "safari_native_keyboard",
"tags": [],
"reasons": {}
},
{
"tool": "safari_native_type",
"tags": [],
"reasons": {}
},
{
"tool": "safari_fill",
"tags": [],
"reasons": {}
},
{
"tool": "safari_clear_field",
"tags": [],
"reasons": {}
},
{
"tool": "safari_verify_state",
"tags": [],
"reasons": {}
},
{
"tool": "safari_select_option",
"tags": [],
"reasons": {}
},
{
"tool": "safari_react_select_set",
"tags": [],
"reasons": {}
},
{
"tool": "safari_react_select_list_options",
"tags": [],
"reasons": {}
},
{
"tool": "safari_fill_form",
"tags": [],
"reasons": {}
},
{
"tool": "safari_press_key",
"tags": [],
"reasons": {}
},
{
"tool": "safari_type_text",
"tags": [],
"reasons": {}
},
{
"tool": "safari_replace_editor",
"tags": [],
"reasons": {}
},
{
"tool": "safari_screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "safari_screenshot_element",
"tags": [],
"reasons": {}
},
{
"tool": "safari_scroll",
"tags": [],
"reasons": {}
},
{
"tool": "safari_scroll_to",
"tags": [],
"reasons": {}
},
{
"tool": "safari_list_tabs",
"tags": [],
"reasons": {}
},
{
"tool": "safari_reload_extension",
"tags": [],
"reasons": {}
},
{
"tool": "safari_new_tab",
"tags": [],
"reasons": {}
},
{
"tool": "safari_close_tab",
"tags": [],
"reasons": {}
},
{
"tool": "safari_switch_tab",
"tags": [],
"reasons": {}
},
{
"tool": "safari_wait_for",
"tags": [],
"reasons": {}
},
{
"tool": "safari_wait_for_new_tab",
"tags": [],
"reasons": {}
},
{
"tool": "safari_evaluate",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "safari_eval_file",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"eval\" in tool name"
]
}
},
{
"tool": "safari_get_element",
"tags": [],
"reasons": {}
},
{
"tool": "safari_query_all",
"tags": [],
"reasons": {}
},
{
"tool": "safari_hover",
"tags": [],
"reasons": {}
},
{
"tool": "safari_handle_dialog",
"tags": [],
"reasons": {}
},
{
"tool": "safari_resize",
"tags": [],
"reasons": {}
},
{
"tool": "safari_drag",
"tags": [],
"reasons": {}
},
{
"tool": "safari_upload_file",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload_file\""
]
}
},
{
"tool": "safari_paste_image",
"tags": [],
"reasons": {}
},
{
"tool": "safari_emulate",
"tags": [],
"reasons": {}
},
{
"tool": "safari_reset_emulation",
"tags": [],
"reasons": {}
},
{
"tool": "safari_get_cookies",
"tags": [],
"reasons": {}
},
{
"tool": "safari_local_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_network",
"tags": [],
"reasons": {}
},
{
"tool": "safari_run_script",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"run_script\" in tool name"
]
}
},
{
"tool": "safari_start_console",
"tags": [],
"reasons": {}
},
{
"tool": "safari_get_console",
"tags": [],
"reasons": {}
},
{
"tool": "safari_clear_console",
"tags": [],
"reasons": {}
},
{
"tool": "safari_save_pdf",
"tags": [],
"reasons": {}
},
{
"tool": "safari_accessibility_snapshot",
"tags": [],
"reasons": {}
},
{
"tool": "safari_set_cookie",
"tags": [],
"reasons": {}
},
{
"tool": "safari_delete_cookies",
"tags": [],
"reasons": {}
},
{
"tool": "safari_session_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_set_session_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_set_local_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_delete_local_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_delete_session_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_export_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_import_storage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_clipboard_read",
"tags": [],
"reasons": {}
},
{
"tool": "safari_clipboard_write",
"tags": [],
"reasons": {}
},
{
"tool": "safari_mock_route",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "safari_clear_mocks",
"tags": [],
"reasons": {}
},
{
"tool": "safari_wait",
"tags": [],
"reasons": {}
},
{
"tool": "safari_start_network_capture",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "safari_network_details",
"tags": [],
"reasons": {}
},
{
"tool": "safari_clear_network",
"tags": [],
"reasons": {}
},
{
"tool": "safari_performance_metrics",
"tags": [],
"reasons": {}
},
{
"tool": "safari_throttle_network",
"tags": [],
"reasons": {}
},
{
"tool": "safari_console_filter",
"tags": [],
"reasons": {}
},
{
"tool": "safari_extract_tables",
"tags": [],
"reasons": {}
},
{
"tool": "safari_extract_meta",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"rss\""
]
}
},
{
"tool": "safari_extract_images",
"tags": [],
"reasons": {}
},
{
"tool": "safari_extract_links",
"tags": [],
"reasons": {}
},
{
"tool": "safari_override_geolocation",
"tags": [],
"reasons": {}
},
{
"tool": "safari_get_computed_style",
"tags": [],
"reasons": {}
},
{
"tool": "safari_list_indexed_dbs",
"tags": [],
"reasons": {}
},
{
"tool": "safari_get_indexed_db",
"tags": [],
"reasons": {}
},
{
"tool": "safari_css_coverage",
"tags": [],
"reasons": {}
},
{
"tool": "safari_inspect_viewport",
"tags": [],
"reasons": {}
},
{
"tool": "safari_safe_area_insets",
"tags": [],
"reasons": {}
},
{
"tool": "safari_check_pwa",
"tags": [],
"reasons": {}
},
{
"tool": "safari_webkit_compat",
"tags": [],
"reasons": {}
},
{
"tool": "safari_doctor",
"tags": [],
"reasons": {}
},
{
"tool": "safari_detect_forms",
"tags": [],
"reasons": {}
},
{
"tool": "safari_scroll_to_element",
"tags": [],
"reasons": {}
},
{
"tool": "safari_click_and_wait",
"tags": [],
"reasons": {}
},
{
"tool": "safari_fill_and_submit",
"tags": [],
"reasons": {}
},
{
"tool": "safari_analyze_page",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "75f131b20edd3d91cca4c66d5b921541b7fffb9ce01d29becc26ebccc103a5db",
"stats": {
"tools": 97,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 5,
"medium": 1,
"low": 4,
"info": 0
}
}
}