Raw scan report

Tvcontrol — 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": "@ferroxlabs/tvcontrol",
    "source": {
      "kind": "package",
      "origin": "@ferroxlabs/tvcontrol"
    },
    "server": {
      "name": "@ferroxlabs/tvcontrol"
    }
  },
  "grade": "A",
  "score": {
    "score": 93,
    "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": "repo",
        "label": "publisher verification (public source) — no provenance, but the source is public and inspectable",
        "appliedPenalty": 1
      },
      {
        "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 send data / act on an external service",
      "can execute shell commands or code"
    ],
    "tags": [
      "external-sink",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (113 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 (src/core/health.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/health.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": "src/core/health.js"
      },
      "evidence": "FileSync, spawn } from 'child_process'; import { dirname, basename, join, win32 as pathWin32 } from 'path'; import { hom",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/core/health.js",
        "line": 6,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/core/update.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/update.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": "src/core/update.js"
      },
      "evidence": "ecFileSync } from 'node:child_process'; import { existsSync as _existsSync } from 'node:fs'; import { dirname, join } fr",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/core/update.js",
        "line": 6,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/core/watchdog_service.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/watchdog_service.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": "src/core/watchdog_service.js"
      },
      "evidence": "ecFileSync } from 'node:child_process'; import { homedir } from 'node:os'; import { dirname, join } from 'node:path'; im",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/core/watchdog_service.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (src/core/alerts.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/alerts.js:107`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "src/core/alerts.js"
      },
      "evidence": "var response = await fetch('https://pricealerts.tradingview.com/create_alert', { method: 'POST', credential",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "src/core/alerts.js",
        "line": 107,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (src/core/chart.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/chart.js:650`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "src/core/chart.js"
      },
      "evidence": "try { resp = await fetch(`https://symbol-search.tradingview.com/symbol_search/v3/?${params}`, { headers: { 'O",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "src/core/chart.js",
        "line": 650,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (src/core/pine.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`src/core/pine.js:998`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "src/core/pine.js"
      },
      "evidence": "apedName}; return fetch('https://pine-facade.tradingview.com/pine-facade/list/?filter=saved', { credentials: 'incl",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "src/core/pine.js",
        "line": 998,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "alert_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "alert_create_bulk",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\""
        ]
      }
    },
    {
      "tool": "alert_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "alert_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "alert_delete_by_id",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "capture_screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_get_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_set_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_set_timeframe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_set_type",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_manage_indicator",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_get_visible_range",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_set_visible_range",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_scroll_to_date",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "symbol_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "symbol_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_ohlcv",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_indicator",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_strategy_results",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_trades",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_equity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "quote_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "depth_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "quote_batch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_pine_lines",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_pine_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_pine_tables",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_pine_boxes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "data_get_study_values",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "draw_shape",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "draw_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "draw_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "draw_remove_one",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "draw_get_properties",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_health_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_chart_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_repair_chart",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_discover",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_compatibility_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_capability_matrix",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_support_bundle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_compatibility_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_watchdog_sample",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_watchdog_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_watchdog_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_watchdog_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_watchdog_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_ui_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_launch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tv_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "indicator_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "indicator_add_from_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "indicator_get_inputs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "indicator_set_inputs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "indicator_toggle_visibility",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pane_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pane_set_layout",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pane_focus",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pane_set_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_get_source",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_set_source",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_compile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_get_errors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_save",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_get_console",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_smart_compile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_new",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_open",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_list_scripts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_analyze",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pine_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_step",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_autoplay",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_trade",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replay_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "state_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "state_restore",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "state_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "state_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "strategy_sweep",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tab_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tab_new",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tab_close",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tab_switch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_click",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_open_panel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_fullscreen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "layout_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "layout_save",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "layout_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "layout_get_active",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "layout_switch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_keyboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_type_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_hover",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_scroll",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_mouse_click",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_find_element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ui_evaluate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chart_vision_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_get_by_id",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_add_bulk",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_remove",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_remove_bulk",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_export",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watchlist_import",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "8f2500106c60cffca1c5ad5f62ac5643981582e3f1b2a80e7cbf79717ea52229",
  "stats": {
    "tools": 113,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 3,
      "low": 0,
      "info": 0
    }
  }
}