Raw scan report

Totem — 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": "@thebriangao/totem",
    "source": {
      "kind": "package",
      "origin": "@thebriangao/totem"
    },
    "server": {
      "name": "@thebriangao/totem"
    }
  },
  "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.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 (48 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/index.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/index.js:15`): 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/index.js"
      },
      "evidence": "rt { spawn } from \"node:child_process\"; import { readFileSync, existsSync } from \"node:fs\"; import { dirname, resolve }",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/index.js",
        "line": 15,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/ui.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/ui.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/ui.js"
      },
      "evidence": "spawnSync } from \"node:child_process\"; import { createInterface } from \"node:readline/promises\"; import { randomBytes }",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/ui.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/cli/index.ts)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/cli/index.ts:16`): 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/cli/index.ts"
      },
      "evidence": "awnOptions } from \"node:child_process\"; import { readFileSync, existsSync } from \"node:fs\"; import { dirname, resolve }",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/cli/index.ts",
        "line": 16,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/cli/ui.ts)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/cli/ui.ts: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": "src/cli/ui.ts"
      },
      "evidence": "awnOptions } from \"node:child_process\"; import { createInterface } from \"node:readline/promises\"; import { randomBytes }",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/cli/ui.ts",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint in packaging/dev tooling (dist/scripts/cognito_bootstrap.js)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/scripts/cognito_bootstrap.js:254`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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/scripts/cognito_bootstrap.js"
      },
      "evidence": "const r = await fetch(\"https://api.prod.whoop.com/users-service/v2/bootstrap?apiVersion=7\", { header",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "dist/scripts/cognito_bootstrap.js",
        "line": 254,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint in packaging/dev tooling (src/scripts/cognito_bootstrap.ts)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`src/scripts/cognito_bootstrap.ts:227`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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/scripts/cognito_bootstrap.ts"
      },
      "evidence": "y { const r = await fetch(\"https://api.prod.whoop.com/users-service/v2/bootstrap?apiVersion=7\", { headers: { a",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "src/scripts/cognito_bootstrap.ts",
        "line": 227,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (dist/scripts/cognito_bootstrap.js)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/scripts/cognito_bootstrap.js:14`): 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/scripts/cognito_bootstrap.js"
      },
      "evidence": "spawnSync } from \"node:child_process\"; import { createInterface } from \"node:readline/promises\"; import { resolve } fro",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/scripts/cognito_bootstrap.js",
        "line": 14,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (src/scripts/cognito_bootstrap.ts)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`src/scripts/cognito_bootstrap.ts:14`): 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/scripts/cognito_bootstrap.ts"
      },
      "evidence": "spawnSync } from \"node:child_process\"; import { createInterface } from \"node:readline/promises\"; import { resolve } fro",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/scripts/cognito_bootstrap.ts",
        "line": 14,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "whoop_activity_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_activity_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_behavior_impact",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_calendar",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_coach_ask",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_communities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_compare",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_cycle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_cycle_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_day",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_endpoints",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_hidden_metric",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_hr_zones",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_hr_zones_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_journal",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_journal_autopop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_journal_catalog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_journal_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_leaderboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_catalog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_custom_exercise",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_exercise",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_library",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_progression",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_prs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_lift_template_save",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_live_hr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_live_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_live_stress",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_performance_assessment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_profile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_profile_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_raw",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_recovery",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_sleep",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_sleep_need",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_smart_alarm",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_smart_alarm_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_sports_catalog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_strain",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_stress",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_symptom_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_today",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_trend",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_workout",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "whoop_workouts",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "84e2745a20e3aba2a990f901695412772ba33621117082e41b2ccb78e6233c18",
  "stats": {
    "tools": 48,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 4,
      "medium": 0,
      "low": 4,
      "info": 0
    }
  }
}