Raw scan report

Ast Lens — 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": "ast-lens-mcp",
    "source": {
      "kind": "package",
      "origin": "ast-lens-mcp"
    },
    "server": {
      "name": "ast-lens-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 95,
    "threatScore": 99,
    "grade": "A",
    "band": "A",
    "categorySubtotals": {
      "injection": 1.2,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 0,
      "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": "client",
        "term": "capability-exposure",
        "level": "moderate",
        "label": "capability blast radius (moderate) — client exposure if the model is manipulated",
        "appliedPenalty": 3
      },
      {
        "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.7"
  },
  "capability": {
    "level": "moderate",
    "reasons": [
      "can send data / act on an external service"
    ],
    "tags": [
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (12 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-005",
      "title": "Dynamic module load from a non-literal (dist/index.js)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`dist/index.js:2885`): 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/index.js"
      },
      "evidence": "require(variable)",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "dist/index.js",
        "line": 2885
      }
    },
    {
      "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 \"find_unused_exports\". 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": "find_unused_exports",
        "field": "description"
      },
      "evidence": "IMPORTANT",
      "owasp": "LLM01:2025 Prompt Injection",
      "data": {
        "kind": "authority"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "analyze_complexity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_surface",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "call_graph",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "detect_circular_deps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_dead_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_references",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_unused_exports",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"forward\""
        ]
      }
    },
    {
      "tool": "get_file_outline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "import_graph",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_symbols",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_ast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "summarize_module",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "0e46cac91339a4362304ea273e20c1335c65cb1fe4bf06523d23a7da63cd1ab9",
  "stats": {
    "tools": 12,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 0,
      "medium": 1,
      "low": 1,
      "info": 0
    }
  }
}