Trading Brain — 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.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.13.0",
"methodologyVersion": "mcptrustchecker-1.13"
},
"target": {
"id": "@timmeck/trading-brain",
"source": {
"kind": "package",
"origin": "@timmeck/trading-brain"
},
"server": {
"name": "@timmeck/trading-brain"
}
},
"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 send data / act on an external service",
"can execute shell commands or code"
],
"tags": [
"code-exec",
"external-sink"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (179 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/commands/dashboard.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli/commands/dashboard.js:187`): 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/commands/dashboard.js"
},
"evidence": "} = await import('node:child_process'); const cmd = process.platform === 'win32' ? 'start' : process.pl",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/commands/dashboard.js",
"line": 187,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/cli/commands/start.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli/commands/start.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/commands/start.js"
},
"evidence": "rt { spawn } from 'node:child_process'; import fs from 'node:fs'; import path from 'node:path'; import { getDataDir } fr",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/commands/start.js",
"line": 2,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (dist/market/coingecko-provider.js)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/market/coingecko-provider.js:16`): 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/market/coingecko-provider.js"
},
"evidence": "const res = await fetch('https://api.coingecko.com/api/v3/ping', { signal: AbortSignal.timeout(500",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "dist/market/coingecko-provider.js",
"line": 16,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (dist/market/yahoo-provider.js)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/market/yahoo-provider.js:26`): 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/market/yahoo-provider.js"
},
"evidence": "const res = await fetch('https://query1.finance.yahoo.com/v8/finance/chart/AAPL?range=1d&interval=1d', {",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "dist/market/yahoo-provider.js",
"line": 26,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (dist/cli/commands/setup.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/cli/commands/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/commands/setup.js"
},
"evidence": "{ execSync } from 'node:child_process'; import { getDataDir } from '../../utils/paths.js'; import { c, icons, header, di",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/commands/setup.js",
"line": 5,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "trading_self_observe",
"tags": [],
"reasons": {}
},
{
"tool": "trading_self_insights",
"tags": [],
"reasons": {}
},
{
"tool": "trading_self_improvement_plan",
"tags": [],
"reasons": {}
},
{
"tool": "trading_strategy_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_strategy_adaptations",
"tags": [],
"reasons": {}
},
{
"tool": "trading_strategy_revert",
"tags": [],
"reasons": {}
},
{
"tool": "trading_experiment_list",
"tags": [],
"reasons": {}
},
{
"tool": "trading_experiment_propose",
"tags": [],
"reasons": {}
},
{
"tool": "trading_experiment_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_experiment_results",
"tags": [],
"reasons": {}
},
{
"tool": "trading_experiment_abort",
"tags": [],
"reasons": {}
},
{
"tool": "trading_cross_domain_correlations",
"tags": [],
"reasons": {}
},
{
"tool": "trading_cross_domain_analyze",
"tags": [],
"reasons": {}
},
{
"tool": "trading_cross_domain_narrative",
"tags": [],
"reasons": {}
},
{
"tool": "trading_what_if",
"tags": [],
"reasons": {}
},
{
"tool": "trading_counterfactual_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_intervention_impact",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_summary",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_principles",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_anti_patterns",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_package",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_evolution",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_agenda",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_next",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_prioritize",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_ask",
"tags": [],
"reasons": {}
},
{
"tool": "trading_anomalies",
"tags": [],
"reasons": {}
},
{
"tool": "trading_anomaly_investigate",
"tags": [],
"reasons": {}
},
{
"tool": "trading_anomaly_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_drift_report",
"tags": [],
"reasons": {}
},
{
"tool": "trading_journal",
"tags": [],
"reasons": {}
},
{
"tool": "trading_journal_summary",
"tags": [],
"reasons": {}
},
{
"tool": "trading_journal_milestones",
"tags": [],
"reasons": {}
},
{
"tool": "trading_journal_write",
"tags": [],
"reasons": {}
},
{
"tool": "trading_journal_search",
"tags": [],
"reasons": {}
},
{
"tool": "trading_focus_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_focus_set",
"tags": [],
"reasons": {}
},
{
"tool": "trading_focus_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_concept_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_concept_hierarchy",
"tags": [],
"reasons": {}
},
{
"tool": "trading_concept_form",
"tags": [],
"reasons": {}
},
{
"tool": "trading_concept_transferable",
"tags": [],
"reasons": {}
},
{
"tool": "trading_consciousness_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_consciousness_thoughts",
"tags": [],
"reasons": {}
},
{
"tool": "trading_curiosity_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_knowledge_gaps",
"tags": [],
"reasons": {}
},
{
"tool": "trading_explore_next",
"tags": [],
"reasons": {}
},
{
"tool": "trading_surprises",
"tags": [],
"reasons": {}
},
{
"tool": "trading_debate_start",
"tags": [],
"reasons": {}
},
{
"tool": "trading_debate_synthesize",
"tags": [],
"reasons": {}
},
{
"tool": "trading_debate_perspective",
"tags": [],
"reasons": {}
},
{
"tool": "trading_debate_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_challenge_principle",
"tags": [],
"reasons": {}
},
{
"tool": "trading_challenge_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_challenge_vulnerable",
"tags": [],
"reasons": {}
},
{
"tool": "trading_dream_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_dream_consolidate",
"tags": [],
"reasons": {}
},
{
"tool": "trading_dream_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_emergence_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_emergence_detect",
"tags": [],
"reasons": {}
},
{
"tool": "trading_complexity_metrics",
"tags": [],
"reasons": {}
},
{
"tool": "trading_emergence_journal",
"tags": [],
"reasons": {}
},
{
"tool": "trading_emotional_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_mood_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_mood_influences",
"tags": [],
"reasons": {}
},
{
"tool": "trading_mood_advice",
"tags": [],
"reasons": {}
},
{
"tool": "trading_evolution_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_evolution_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_evolution_best",
"tags": [],
"reasons": {}
},
{
"tool": "trading_evolution_run",
"tags": [],
"reasons": {}
},
{
"tool": "trading_goal_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_goal_create",
"tags": [],
"reasons": {}
},
{
"tool": "trading_goal_progress",
"tags": [],
"reasons": {}
},
{
"tool": "trading_llm_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_llm_usage",
"tags": [],
"reasons": {}
},
{
"tool": "trading_palace_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_palace_map",
"tags": [],
"reasons": {}
},
{
"tool": "trading_palace_path",
"tags": [],
"reasons": {}
},
{
"tool": "trading_palace_build",
"tags": [],
"reasons": {}
},
{
"tool": "trading_metacognition_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_engine_report",
"tags": [],
"reasons": {}
},
{
"tool": "trading_auto_experiment_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_parameter_registry",
"tags": [],
"reasons": {}
},
{
"tool": "trading_explain",
"tags": [],
"reasons": {}
},
{
"tool": "trading_ask",
"tags": [],
"reasons": {}
},
{
"tool": "trading_weekly_digest",
"tags": [],
"reasons": {}
},
{
"tool": "trading_contradictions",
"tags": [],
"reasons": {}
},
{
"tool": "trading_peer_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_peer_list",
"tags": [],
"reasons": {}
},
{
"tool": "trading_predict",
"tags": [],
"reasons": {}
},
{
"tool": "trading_prediction_accuracy",
"tags": [],
"reasons": {}
},
{
"tool": "trading_predictions_list",
"tags": [],
"reasons": {}
},
{
"tool": "trading_reasoning_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_reason",
"tags": [],
"reasons": {}
},
{
"tool": "trading_explain_why",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_discoveries",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_run",
"tags": [],
"reasons": {}
},
{
"tool": "trading_research_reports",
"tags": [],
"reasons": {}
},
{
"tool": "trading_causal_analyze",
"tags": [],
"reasons": {}
},
{
"tool": "trading_causal_chains",
"tags": [],
"reasons": {}
},
{
"tool": "trading_causal_root_causes",
"tags": [],
"reasons": {}
},
{
"tool": "trading_causal_effects",
"tags": [],
"reasons": {}
},
{
"tool": "trading_causal_record",
"tags": [],
"reasons": {}
},
{
"tool": "trading_hypothesis_list",
"tags": [],
"reasons": {}
},
{
"tool": "trading_hypothesis_propose",
"tags": [],
"reasons": {}
},
{
"tool": "trading_hypothesis_test",
"tags": [],
"reasons": {}
},
{
"tool": "trading_hypothesis_generate",
"tags": [],
"reasons": {}
},
{
"tool": "trading_hypothesis_summary",
"tags": [],
"reasons": {}
},
{
"tool": "trading_meta_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_meta_optimize",
"tags": [],
"reasons": {}
},
{
"tool": "trading_meta_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_meta_params",
"tags": [],
"reasons": {}
},
{
"tool": "trading_responder_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_responder_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_responder_rules",
"tags": [],
"reasons": {}
},
{
"tool": "trading_blind_spots",
"tags": [],
"reasons": {}
},
{
"tool": "trading_meta_trends",
"tags": [],
"reasons": {}
},
{
"tool": "trading_long_term_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "trading_creative_hypotheses",
"tags": [],
"reasons": {}
},
{
"tool": "trading_dream_retrospective",
"tags": [],
"reasons": {}
},
{
"tool": "trading_cross_brain_dialogue",
"tags": [],
"reasons": {}
},
{
"tool": "trading_self_test",
"tags": [],
"reasons": {}
},
{
"tool": "trading_self_test_report",
"tags": [],
"reasons": {}
},
{
"tool": "trading_teach_create",
"tags": [],
"reasons": {}
},
{
"tool": "trading_teach_packages",
"tags": [],
"reasons": {}
},
{
"tool": "trading_scout_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_scout_discoveries",
"tags": [],
"reasons": {}
},
{
"tool": "trading_simulate",
"tags": [],
"reasons": {}
},
{
"tool": "trading_emergence_explain",
"tags": [],
"reasons": {}
},
{
"tool": "trading_selfmod_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_selfmod_pending",
"tags": [],
"reasons": {}
},
{
"tool": "trading_selfmod_approve",
"tags": [],
"reasons": {}
},
{
"tool": "trading_selfmod_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_record_outcome",
"tags": [],
"reasons": {}
},
{
"tool": "trading_signal_weights",
"tags": [],
"reasons": {}
},
{
"tool": "trading_signal_confidence",
"tags": [],
"reasons": {}
},
{
"tool": "trading_dca_multiplier",
"tags": [],
"reasons": {}
},
{
"tool": "trading_grid_params",
"tags": [],
"reasons": {}
},
{
"tool": "trading_explore",
"tags": [],
"reasons": {}
},
{
"tool": "trading_connections",
"tags": [],
"reasons": {}
},
{
"tool": "trading_rules",
"tags": [],
"reasons": {}
},
{
"tool": "trading_insights",
"tags": [],
"reasons": {}
},
{
"tool": "trading_chains",
"tags": [],
"reasons": {}
},
{
"tool": "trading_query",
"tags": [],
"reasons": {}
},
{
"tool": "trading_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_calibration",
"tags": [],
"reasons": {}
},
{
"tool": "trading_explain_signal",
"tags": [],
"reasons": {}
},
{
"tool": "trading_calibration_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_backtest",
"tags": [],
"reasons": {}
},
{
"tool": "trading_backtest_strategy",
"tags": [],
"reasons": {}
},
{
"tool": "trading_compare_signals",
"tags": [],
"reasons": {}
},
{
"tool": "trading_best_signals",
"tags": [],
"reasons": {}
},
{
"tool": "trading_kelly",
"tags": [],
"reasons": {}
},
{
"tool": "trading_position_size",
"tags": [],
"reasons": {}
},
{
"tool": "trading_risk_metrics",
"tags": [],
"reasons": {}
},
{
"tool": "trading_alert_create",
"tags": [],
"reasons": {}
},
{
"tool": "trading_alert_list",
"tags": [],
"reasons": {}
},
{
"tool": "trading_alert_delete",
"tags": [],
"reasons": {}
},
{
"tool": "trading_alert_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_import",
"tags": [],
"reasons": {}
},
{
"tool": "trading_learn",
"tags": [],
"reasons": {}
},
{
"tool": "trading_reset",
"tags": [],
"reasons": {}
},
{
"tool": "trading_remember",
"tags": [],
"reasons": {}
},
{
"tool": "trading_recall",
"tags": [],
"reasons": {}
},
{
"tool": "trading_session_start",
"tags": [],
"reasons": {}
},
{
"tool": "trading_session_end",
"tags": [],
"reasons": {}
},
{
"tool": "trading_session_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_paper_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_paper_portfolio",
"tags": [],
"reasons": {}
},
{
"tool": "trading_paper_history",
"tags": [],
"reasons": {}
},
{
"tool": "trading_ecosystem_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_query_peer",
"tags": [],
"reasons": {}
},
{
"tool": "trading_error_context",
"tags": [],
"reasons": {}
},
{
"tool": "trading_strategy_export",
"tags": [],
"reasons": {}
},
{
"tool": "trading_strategy_import",
"tags": [],
"reasons": {}
},
{
"tool": "trading_transfer_status",
"tags": [],
"reasons": {}
},
{
"tool": "trading_transfer_analogies",
"tags": [],
"reasons": {}
},
{
"tool": "trading_transfer_rules",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "fab7744198d1f0d4614c32afe90c4f133cedc8d3cd61372ac871089e91ac9a75",
"stats": {
"tools": 179,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 2,
"low": 1,
"info": 0
}
}
}