Raw scan report

Ofw — 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": "ofw-mcp",
    "source": {
      "kind": "package",
      "origin": "ofw-mcp"
    },
    "server": {
      "name": "ofw-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 94,
    "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": "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": "high",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service",
      "can execute shell commands or code"
    ],
    "tags": [
      "external-sink",
      "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 (23 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-001",
      "title": "Dynamic code execution in server code (dist/bundle.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/bundle.js:2953`): 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": "dist/bundle.js"
      },
      "evidence": "const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const v",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-001",
        "file": "dist/bundle.js",
        "line": 2953,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([ofw_download_attachment, ofw_check_freshness, ofw_get_notifications]) co-exist with external-action tools ([ofw_send_message, ofw_upload_attachment]). 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": "ofw_download_attachment → ofw_send_message"
      },
      "evidence": "untrusted [ofw_download_attachment, ofw_check_freshness, ofw_get_notifications] → sinks [ofw_send_message, ofw_upload_attachment]",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "ofw_download_attachment",
          "ofw_check_freshness",
          "ofw_get_notifications"
        ],
        "sinks": [
          "ofw_send_message",
          "ofw_upload_attachment"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "ofw_download_attachment",
        "ofw_check_freshness",
        "ofw_get_notifications"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "ofw_send_message",
        "ofw_upload_attachment"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "ofw_list_events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_create_event",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_update_event",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_delete_event",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_get_expense_totals",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_list_expenses",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_create_expense",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_list_journal_entries",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_create_journal_entry",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_list_message_folders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_list_messages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_get_message",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_send_message",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"send_message\""
        ]
      }
    },
    {
      "tool": "ofw_list_drafts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_save_draft",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_delete_draft",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_get_unread_sent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_upload_attachment",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"send_message\""
        ]
      }
    },
    {
      "tool": "ofw_download_attachment",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "ofw_sync_messages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_check_freshness",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "ofw_get_profile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ofw_get_notifications",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"read_message\""
        ]
      }
    }
  ],
  "surfaceDigest": "2479263af93cd585f97287073c31625bfb3f6f69d5571721c72563e087270daf",
  "stats": {
    "tools": 23,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 1,
      "low": 0,
      "info": 0
    }
  }
}