Raw scan report

Lamcp — the complete, unedited output of the deterministic mcptrustchecker engine v1.7.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.7.0",
    "methodologyVersion": "mcptrustchecker-1.7"
  },
  "target": {
    "id": "lamcp",
    "source": {
      "kind": "package",
      "origin": "lamcp"
    },
    "server": {
      "name": "lamcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 86,
    "threatScore": 97,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 1.2,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 2.1,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-INJ-AUTH-1",
        "category": "injection",
        "severity": "low",
        "confidence": "heuristic",
        "rawWeight": 3,
        "confidenceMult": 0.4,
        "diminishingFactor": 1,
        "appliedPenalty": 1.2
      },
      {
        "kind": "threat",
        "ruleId": "MTC-SUP-011",
        "category": "supply-chain",
        "severity": "low",
        "confidence": "strong",
        "rawWeight": 3,
        "confidenceMult": 0.7,
        "diminishingFactor": 1,
        "appliedPenalty": 2.1
      },
      {
        "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 (unlocatable) — no provenance and no public repository to inspect",
        "appliedPenalty": 5
      },
      {
        "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.7"
  },
  "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 (15 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 (grasshopper/Lamcp_Bridge/code.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`grasshopper/Lamcp_Bridge/code.py:5`): 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": "grasshopper/Lamcp_Bridge/code.py"
      },
      "evidence": "exec(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "grasshopper/Lamcp_Bridge/code.py",
        "line": 5
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (lamcp/server.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`lamcp/server.py:11`): 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": "lamcp/server.py"
      },
      "evidence": "exec(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "lamcp/server.py",
        "line": 11
      }
    },
    {
      "ruleId": "MTC-INJ-AUTH-1",
      "title": "Authority framing in tool metadata",
      "category": "injection",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Authority framing in tool metadata detected in the description of tool \"add_param_marker\". Instruction-like content in tool metadata is executed by the model, not the human, and is the primary tool-poisoning vector.",
      "remediation": "Tool descriptions should describe behavior, not instruct the assistant. Treat imperative / secrecy / sequencing language in metadata as hostile.",
      "location": {
        "kind": "tool",
        "name": "add_param_marker",
        "field": "description"
      },
      "evidence": "important",
      "owasp": "LLM01:2025 Prompt Injection",
      "data": {
        "kind": "authority"
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package has no source repository",
      "category": "supply-chain",
      "severity": "low",
      "confidence": "strong",
      "description": "\"lamcp\" 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": "lamcp"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "run_python_script",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "unload_python_modules",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "bridge_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_grasshopper_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_python_component",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_reloader_component",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_script_venv",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "solve_grasshopper",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"request\""
        ]
      }
    },
    {
      "tool": "save_grasshopper_document",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_group",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_param_marker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "describe_canvas_structure",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upgrade_components",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "capture_grasshopper_canvas",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "capture_rhino_viewport",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "797cb716447c10ee608fc070f6900d247d403a623741894ef12393b15f8eb978",
  "stats": {
    "tools": 15,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 2,
      "info": 0
    }
  }
}