Raw scan report

Betterdb — 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": "@betterdb/mcp",
    "source": {
      "kind": "package",
      "origin": "@betterdb/mcp"
    },
    "server": {
      "name": "@betterdb/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.13"
  },
  "capability": {
    "level": "high",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can execute shell commands or code"
    ],
    "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 (60 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/autostart.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/autostart.js:1`): 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/autostart.js"
      },
      "evidence": "rt { spawn } from 'node:child_process'; import fs from 'node:fs'; import path from 'node:path'; import os from 'node:os'",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/autostart.js",
        "line": 1,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "list_instances",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "select_instance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_default_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_slowlog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commandlog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_latency",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_memory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_clients",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_slowlog_patterns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commandlog_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commandlog_patterns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_anomalies",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_client_activity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_hot_keys",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_cluster_nodes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_cluster_node_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_cluster_slowlog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_slot_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_latency_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_acl_audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_monitor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_threshold_recommendation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_tool_effectiveness",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_similarity_distribution",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_recent_changes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_propose_threshold_adjust",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_propose_tool_ttl_adjust",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_propose_invalidate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_list_pending_proposals",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_get_proposal",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "cache_approve_proposal",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_reject_proposal",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache_edit_and_approve_proposal",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_monitor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_stores",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_get",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "memory_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_recall",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_forget",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_list_pending_forgets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_approve_forget",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "memory_reject_forget",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_list_instances",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_instance_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_ai_traces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_ai_trace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "correlate_ai_trace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_forecast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_latency_regressions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_largest_keys",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_vector_indexes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_inference_latency",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "35f466c0b51991ed0c3d0077768041600dc0852d3af5196904d9ae42302d9587",
  "stats": {
    "tools": 60,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}