Raw scan report

Core — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.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.8.0",
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "target": {
    "id": "@kairos-sdk/core",
    "source": {
      "kind": "package",
      "origin": "@kairos-sdk/core"
    },
    "server": {
      "name": "@kairos-sdk/core"
    }
  },
  "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.8"
  },
  "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 (18 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/chunk-XMUXZ464.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/chunk-XMUXZ464.js:13`): 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/chunk-XMUXZ464.js"
      },
      "evidence": "import { spawn } from \"child_process\"; import { homedir } from \"os\"; import { join } from \"path\"; import { mkdir, readF",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/chunk-XMUXZ464.js",
        "line": 13,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli.cjs)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli.cjs:10525`): 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.cjs"
      },
      "evidence": "child = (0, import_node_child_process.spawn)(binary, [ \"issue\", \"create\", \"--repo\", COMMUNITY_RE",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli.cjs",
        "line": 10525,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/notify-MCCXPANP.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/notify-MCCXPANP.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/notify-MCCXPANP.js"
      },
      "evidence": "import { spawn } from \"child_process\"; var DEFAULT_HOOK_TIMEOUT_MS = 1e4; function shouldNotify(result) { return resu",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/notify-MCCXPANP.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/share-7GCKUWFQ.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/share-7GCKUWFQ.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/share-7GCKUWFQ.js"
      },
      "evidence": "import { spawn } from \"child_process\"; import { writeFile } from \"fs/promises\"; var COMMUNITY_REPO = \"Kruttz/Kairos\"; v",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/share-7GCKUWFQ.js",
        "line": 2,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "kairos_prompt",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_validate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_deploy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_replace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_sync",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_patterns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_library",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "kairos_outcome",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_activate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_deactivate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_executions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_record_trace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_remember",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kairos_recall",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "809cdf1197a908fe09f7224f53ee6bdb1e575f67c7bb1f225b6e69cacc3c4e24",
  "stats": {
    "tools": 18,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 4,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}