Raw scan report

Swipium — the complete, unedited output of the deterministic mcptrustchecker engine v1.9.0, scanned . Every finding, capability tag and score component below is exactly what the engine produced — no AI, no post-processing.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.9.0",
    "methodologyVersion": "mcptrustchecker-1.9"
  },
  "target": {
    "id": "swipium",
    "source": {
      "kind": "package",
      "origin": "swipium"
    },
    "server": {
      "name": "swipium"
    }
  },
  "grade": "B",
  "score": {
    "score": 84,
    "threatScore": 94,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 6.3,
      "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": "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.9"
  },
  "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 (72 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/cli/init.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/init.js:9`): 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/cli/init.js"
      },
      "evidence": "spawnSync } from 'node:child_process'; import { existsSync, readFileSync, appendFileSync, mkdirSync } from 'node:fs'; i",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/init.js",
        "line": 9,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/lib/android.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/lib/android.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/lib/android.js"
      },
      "evidence": "rt { spawn } from 'node:child_process'; import { existsSync, readdirSync, statSync } from 'node:fs'; import { homedir }",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/lib/android.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/lib/spawn.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/lib/spawn.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/lib/spawn.js"
      },
      "evidence": "rt { spawn } from 'node:child_process'; import { basename } from 'node:path'; /** Default kill timer for spawned command",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/lib/spawn.js",
        "line": 3,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/session/processRegistry.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/session/processRegistry.js:15`): 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/session/processRegistry.js"
      },
      "evidence": "spawnSync } from 'node:child_process'; import { withFileLock } from '../lib/lockfile.js'; import { log } from '../lib/l",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/session/processRegistry.js",
        "line": 15,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/metro.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/metro.js:8`): 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/metro.js"
      },
      "evidence": "spawnSync } from 'node:child_process'; import { qaOk, qaError } from '../lib/result.js'; import { requireConsent, consu",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/metro.js",
        "line": 8,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/screenRecord.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/screenRecord.js:8`): 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/screenRecord.js"
      },
      "evidence": "rt { spawn } from 'node:child_process'; import { readFileSync, rmSync } from 'node:fs'; import { tmpdir } from 'node:os'",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/screenRecord.js",
        "line": 8,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/wda.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/wda.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/tools/wda.js"
      },
      "evidence": "rt { spawn } from 'node:child_process'; import { existsSync, openSync, readFileSync, readdirSync, statSync } from 'node:",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/wda.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-009",
      "title": "Untrusted input concatenated into a command sink (dist/issues/reportBridge.js)",
      "category": "injection",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/issues/reportBridge.js:26`): 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/issues/reportBridge.js"
      },
      "evidence": "st subsystem = detectSubsystem(`${f.detail} ${f.evidence ?? ''}`); return { title: `${f.kind}${f.screen ? `",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-009",
        "file": "dist/issues/reportBridge.js",
        "line": 26,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-007",
      "title": "Unconstrained URL/host parameter \"uri\" on \"qa_get_artifact\"",
      "category": "network",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"qa_get_artifact\" takes a URL/host parameter \"uri\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
      "remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
      "location": {
        "kind": "tool",
        "name": "qa_get_artifact",
        "field": "inputSchema.properties.uri"
      },
      "owasp": "LLM06:2025 Excessive Agency",
      "data": {
        "param": "uri"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "qa_act",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_agent_brief",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "qa_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_next_best_action",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_explain_blocker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_continue_from_blocker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_app_control",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_app_map_build",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_app_map_read",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "qa_app_map_query",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_app_map_feature_scope",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_app_map_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_assert_visual",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_automation_validate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_build",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_bundletool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_capabilities",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "qa_clear_overlay",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_detect_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_device_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_orientation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_geolocation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_doctor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_explore",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"crawl\""
        ]
      }
    },
    {
      "tool": "qa_test_feature",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_first_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_flow_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_flow_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_flow_repair",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_generate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_get_artifact",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "qa_check_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_report_compare",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_run_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_ios",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_issue_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_job_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_job_cancel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_locator_suggest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_metro",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_mobile_audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_network",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_permissions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_prepare_ios_target",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_prepare_target",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_resolve_artifact",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_resolve_target",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_screen_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_screen_record",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_seed",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_smoke",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_inspect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_start_session",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_state_prepare",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_state_verify",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_state_teardown",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_flow_compile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_suite_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_suite_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_suite_generate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_suite_export",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_suite_lint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_test_this",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_visual",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_visual_find_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_wait",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_wda",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "cf2455497d7030478cded358b77f080f6b9a85582bb2b5018daeebba2821265a",
  "stats": {
    "tools": 72,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 7,
      "medium": 2,
      "low": 0,
      "info": 0
    }
  }
}