Raw scan report

Kindex — 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": "kindex",
    "source": {
      "kind": "package",
      "origin": "kindex"
    },
    "server": {
      "name": "kindex"
    }
  },
  "grade": "A",
  "score": {
    "score": 93,
    "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": "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.9"
  },
  "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 (52 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-CAP-001",
      "title": "Tool \"remind_exec\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"remind_exec\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "remind_exec"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/actions.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/actions.py:169`): 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": "src/kindex/actions.py"
      },
      "evidence": "try: proc = subprocess.run( command, shell=True, capture_output=True, text=True, tim",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/actions.py",
        "line": 169,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/adapters/code.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/adapters/code.py:36`): 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": "src/kindex/adapters/code.py"
      },
      "evidence": "try: r = subprocess.run( [\"ctags\", \"--version\"], capture_output=True, text=True",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/adapters/code.py",
        "line": 36,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/adapters/git_hooks.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/adapters/git_hooks.py:154`): 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": "src/kindex/adapters/git_hooks.py"
      },
      "evidence": "try: result = subprocess.run( [\"git\", \"-C\", str(repo_path), \"log\", f\"--max-count={limit}\",",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/adapters/git_hooks.py",
        "line": 154,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/adapters/github.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/adapters/github.py:17`): 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": "src/kindex/adapters/github.py"
      },
      "evidence": "try: result = subprocess.run([\"gh\", \"auth\", \"status\"], capture_output=True, tex",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/adapters/github.py",
        "line": 17,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/adapters/linear.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/adapters/linear.py:28`): 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": "src/kindex/adapters/linear.py"
      },
      "evidence": "try: result = subprocess.run( [\"curl\", \"-s\", \"-X\", \"POST\", \"https://api.linear.app/gr",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/adapters/linear.py",
        "line": 28,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/attention.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/attention.py:1295`): 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": "src/kindex/attention.py"
      },
      "evidence": "ts.\"\"\" try: subprocess.Popen( [ sys.executable, \"-m\",",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/attention.py",
        "line": 1295,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/cli.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/cli.py:5065`): 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": "src/kindex/cli.py"
      },
      "evidence": "ss result = subprocess.run([\"crontab\", \"-l\"], capture_output=True, text=True) if result.returnco",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/cli.py",
        "line": 5065,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/code_map.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/code_map.py:37`): 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": "src/kindex/code_map.py"
      },
      "evidence": "\"\" try: r = subprocess.run( [\"git\", \"rev-parse\", \"HEAD\"], cwd=str(directory),",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/code_map.py",
        "line": 37,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/config.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/config.py:496`): 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": "src/kindex/config.py"
      },
      "evidence": "y: result = subprocess.run( command, capture_output=True, text=True, timeout",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/config.py",
        "line": 496,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kindex/dream.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kindex/dream.py:588`): 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": "src/kindex/dream.py"
      },
      "evidence": "log_fd: proc = subprocess.Popen( cmd, start_new_session=True, stdout=log_fd",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kindex/dream.py",
        "line": 588,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"remind_exec\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"remind_exec\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "remind_exec"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SUP-012",
      "title": "Package has no license",
      "category": "hygiene",
      "severity": "info",
      "confidence": "strong",
      "description": "\"kindex\" has no declared license. This is a legal/reuse concern, not a security finding.",
      "location": {
        "kind": "package",
        "name": "kindex"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "edit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supersede",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "show",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "link",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_nodes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ask",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "suggest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "learn",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_heal",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_merge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "dream",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "changelog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ingest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tag_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tag_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tag_resume",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "task_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "task_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "task_done",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "task_claim",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "task_release",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_join",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_post",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_attach",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_inject",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coord_end",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "lock_acquire",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "lock_release",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watch_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watch_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watch_resolve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_snooze",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_done",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remind_exec",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "mode_activate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_show",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_export",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_import",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode_seed",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "fe6ef36e837c3e86deb95c1c1dcdd6939ddc15748c4a6b6348bfa19cf29d1801",
  "stats": {
    "tools": 52,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 11,
      "medium": 0,
      "low": 1,
      "info": 1
    }
  }
}