Raw scan report

Stackwright Pro — 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.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.13.0",
    "methodologyVersion": "mcptrustchecker-1.13"
  },
  "target": {
    "id": "@stackwright-pro/mcp",
    "source": {
      "kind": "package",
      "origin": "@stackwright-pro/mcp"
    },
    "server": {
      "name": "@stackwright-pro/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 execute shell commands or code"
    ],
    "tags": [
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (62 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/server.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/server.js:868`): 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/server.js"
      },
      "evidence": "quire(\"fs\"); var import_child_process = require(\"child_process\"); var import_path2 = __toESM(require(\"path\")); var BASEL",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/server.js",
        "line": 868,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/server.mjs)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/server.mjs:844`): 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/server.mjs"
      },
      "evidence": "port { execSync } from \"child_process\"; import path2 from \"path\"; var BASELINE_DEPS = { \"@stackwright-pro/mcp\": \"lates",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/server.mjs",
        "line": 844,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (dist/server.js)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`dist/server.js:8776`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/server.js"
      },
      "evidence": "} const bs = await import(bsPath); if (typeof bs[fn] !== \"function\") { return { ok: false, error: `${fn}",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "dist/server.js",
        "line": 8776,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (dist/server.mjs)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`dist/server.mjs:8777`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/server.mjs"
      },
      "evidence": "} const bs = await import(bsPath); if (typeof bs[fn] !== \"function\") { return { ok: false, error: `${fn}",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "dist/server.mjs",
        "line": 8777,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"@stackwright-pro/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": "@stackwright-pro/mcp"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "stackwright_pro_verify_otter_integrity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_list_entities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_generate_filter",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_validate_spec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_add_approved_spec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_list_approved_specs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_configure_isr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_configure_isr_batch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_generate_dashboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_generate_detail_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_clarify",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_detect_conflict",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_setup_packages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_present_phase_questions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_next_question",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_record_answer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_save_build_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_parse_otter_response",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_save_manifest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_save_phase_answers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_read_phase_answers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_otter_name",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_verify_artifact_signatures",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_read_auth_manifests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_schema",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_pipeline_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_set_pipeline_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_check_execution_ready",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_ready_phases",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_list_artifacts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_write_phase_questions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_build_specialist_prompt",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_validate_artifact",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_emit_event",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_safe_write",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_configure_auth",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_list_collections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_resolve_data_strategy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_validate_workflow",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_get_type_schemas",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_validate_yaml_fragment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_write_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_cleanup_scaffold",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_write_workflow_container_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_check_contrast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_derive_accessible_palette",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_collections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_auth",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_integrations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_all",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_pages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_compile_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_strip_legacy_integrations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_emit_env_local",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_emit_providers_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_emit_mock_ports",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_list_specs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_describe_endpoint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_consolidate_integrations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackwright_pro_reconcile_page_auth_blocks",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "5a9af28774a2666fef21befb4fd7a8d84cb7f26f190607135201fe2a9346ea84",
  "stats": {
    "tools": 62,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 2,
      "low": 0,
      "info": 1
    }
  }
}