Raw scan report

Aicoin — 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": "@aicoin/aicoin-mcp",
    "source": {
      "kind": "package",
      "origin": "@aicoin/aicoin-mcp"
    },
    "server": {
      "name": "@aicoin/aicoin-mcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 82,
    "threatScore": 94,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 6.3,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-009",
        "category": "injection",
        "severity": "medium",
        "confidence": "strong",
        "rawWeight": 9,
        "confidenceMult": 0.7,
        "diminishingFactor": 1,
        "appliedPenalty": 6.3
      },
      {
        "kind": "client",
        "term": "capability-exposure",
        "level": "critical",
        "label": "capability blast radius (critical) — client exposure if the model is manipulated",
        "appliedPenalty": 10
      },
      {
        "kind": "client",
        "term": "verification-discount",
        "level": "none",
        "label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
        "appliedPenalty": 2
      },
      {
        "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": "critical",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service",
      "can execute shell commands or code",
      "untrusted input can reach code execution"
    ],
    "tags": [
      "untrusted-input",
      "external-sink",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (63 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 (build/index.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/index.js:3930`): 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": "build/index.js"
      },
      "evidence": "port { execSync } from \"child_process\"; import { fileURLToPath as fileURLToPath2 } from \"url\"; import { dirname as dirna",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/index.js",
        "line": 3930,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([news, ft_deploy]) co-exist with external-action tools ([twitter]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
      "remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
      "location": {
        "kind": "flow",
        "name": "news → twitter"
      },
      "evidence": "untrusted [news, ft_deploy] → sinks [twitter]",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "news",
          "ft_deploy"
        ],
        "sinks": [
          "twitter"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-009",
      "title": "Untrusted input concatenated into a command sink (build/index.js)",
      "category": "injection",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`build/index.js:3971`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "build/index.js"
      },
      "evidence": "const output = execSync( `node ${SCRIPT} ${action}${paramsArg}`, { encoding: \"utf-8\", timeo",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-009",
        "file": "build/index.js",
        "line": 3971,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/ft-deploy.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/ft-deploy.mjs:6`): 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": "scripts/ft-deploy.mjs"
      },
      "evidence": "{ execSync } from 'node:child_process'; import { randomBytes } from 'node:crypto'; const FT_DIR = resolve(process.env.H",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/ft-deploy.mjs",
        "line": 6,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"@aicoin/aicoin-mcp\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
      "remediation": "Prefer packages that link to public, reviewable source.",
      "location": {
        "kind": "package",
        "name": "@aicoin/aicoin-mcp"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "news",
        "ft_deploy"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "twitter"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "guide",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exchange_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exchange_ticker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exchange_market_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exchange_funding",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "account_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "account_orders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "account_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "close_position",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_trading_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "transfer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_funding_rate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_liquidation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_open_interest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_futures_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "news",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"rss\""
        ]
      }
    },
    {
      "tool": "flash",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "twitter",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"tweet\""
        ]
      }
    },
    {
      "tool": "newsflash",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "airdrop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "drop_radar",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "market_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "index_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crypto_stock",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "coin_treasury",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "depth",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "market_overview",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "order_flow",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "trading_pair",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "signal_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "signal_manage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_ticker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_whale",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_liquidation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_open_interest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_taker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_trader",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_fills",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_orders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_position",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_portfolio",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hl_advanced",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_ping",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_control",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_balance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_trades",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_force_enter",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_force_exit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_trade_action",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_profit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_periodic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_backtest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_candles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_pairlist",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_strategy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ft_deploy",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "auto_trade",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "d6bc9db24ccf5fa104d63dfbfb21e36c449f2f18cd5a97886726b2b8776cbc13",
  "stats": {
    "tools": 63,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 2,
      "low": 1,
      "info": 1
    }
  }
}