Raw scan report

Traceback — 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": "@yavdaanalytics/traceback",
    "source": {
      "kind": "package",
      "origin": "@yavdaanalytics/traceback"
    },
    "server": {
      "name": "@yavdaanalytics/traceback"
    }
  },
  "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": [
      "can execute shell commands or code"
    ],
    "tags": [
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (28 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/cli/dashboard.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/dashboard.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": "dist/cli/dashboard.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { createDashboardServer } from \"../dashboard/server.js\"; import { default",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/dashboard.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/git-excludes.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/git-excludes.js:4`): 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/cli/git-excludes.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; export const TRACEBACK_EXCLUDE_MARKER = \"# traceback-local-artifacts\"; export co",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/git-excludes.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/ingest.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/ingest.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": "dist/cli/ingest.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { resolveConfig } from \"../config.js\"; import { ingestStaleSessions } fro",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/ingest.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/install-hook.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/install-hook.js: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": "dist/cli/install-hook.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { homedir } from \"node:os\"; import { resolveCommandMode } from \"./command",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/install-hook.js",
        "line": 5,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/repo-resolve.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/repo-resolve.js:3`): 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/cli/repo-resolve.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; export function resolveRepoFromGit(cwd) { try { const out = execFile",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/repo-resolve.js",
        "line": 3,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/setup-doctor.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/setup-doctor.js:4`): 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/cli/setup-doctor.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { TRACEBACK_CONFIG_KEY } from \"../install/registry.js\"; import { globalEx",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/setup-doctor.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/telemetry.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/telemetry.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": "dist/cli/telemetry.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { defaultSqlitePath } from \"../ingest/indexer.js\"; import { buildEfficien",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/telemetry.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/git/commit-correlation.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/git/commit-correlation.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/git/commit-correlation.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { DEFAULT_COMMIT_WINDOW_MS } from \"../config.js\"; import { getCommit, get",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/git/commit-correlation.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/git/commit-embedder.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/git/commit-embedder.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/git/commit-embedder.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { embedText } from \"../embedding/embedder.js\"; import { upsertCommitEmbed",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/git/commit-embedder.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (dist/cli/setup.js)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/cli/setup.js: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": "dist/cli/setup.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { homedir } from \"node:os\"; import { createInterface } from \"node:readlin",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/setup.js",
        "line": 5,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "get_connection_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_traceback_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_similar_sessions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_dev_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "git_history_scope",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ast_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ast_symbol_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "diff_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "keyword_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_sessions_grep",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "grep_codebase",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "blame_current",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_session_lineage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_change_graph",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_session_detail",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "link_session_commit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ingest_session",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_adapters",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tag_outcome",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_efficiency_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_with_fallback",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_match_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "promote_pattern",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_patterns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deprecate_pattern",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "submit_feedback",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "16cf92d4844ad834ae69cc8f915d3b656eaa6929abe70c5f12acd5147b81e347",
  "stats": {
    "tools": 28,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 9,
      "medium": 0,
      "low": 1,
      "info": 0
    }
  }
}