Mikrotik — 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": "@ai-solutions.ru/mikrotik-mcp-server",
"source": {
"kind": "package",
"origin": "@ai-solutions.ru/mikrotik-mcp-server"
},
"server": {
"name": "@ai-solutions.ru/mikrotik-mcp-server"
}
},
"grade": "A",
"score": {
"score": 92,
"threatScore": 99,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 1.2,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SUP-010",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"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": [
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"code-exec",
"sensitive-source"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (77 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-FLOW-004",
"title": "Sensitive-source and external-sink co-exist",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "Tools that read sensitive data ([get_logs]) and tools that can send data out ([execute_command, schedule_tasks]) are exposed together. An agent can move private data to the sink.",
"remediation": "Keep secret-reading and egress capabilities on separate, separately-approved servers.",
"location": {
"kind": "flow",
"name": "get_logs → execute_command"
},
"evidence": "sources [get_logs] → sinks [execute_command, schedule_tasks]",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"sources": [
"get_logs"
],
"sinks": [
"execute_command",
"schedule_tasks"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"execute_command\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"execute_command\" appears to run shell commands or evaluate code (keyword \"execute command\" in tool name, parameter \"command\"). 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": "execute_command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"schedule_tasks\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"schedule_tasks\" appears to run shell commands or evaluate code (parameter \"script\"). 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": "schedule_tasks"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/cli/commands/claude.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli/commands/claude.js: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": "dist/cli/commands/claude.js"
},
"evidence": "t(require(\"os\")); const child_process_1 = require(\"child_process\"); const util_1 = require(\"util\"); const inquirer_1 = _",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/commands/claude.js",
"line": 17,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/notifications/desktop-notifier.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/notifications/desktop-notifier.js:39`): 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/notifications/desktop-notifier.js"
},
"evidence": "equire(\"events\"); const child_process_1 = require(\"child_process\"); const util_1 = require(\"util\"); const os = __importS",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/notifications/desktop-notifier.js",
"line": 39,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"execute_command\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"execute_command\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "execute_command",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"script\" on \"schedule_tasks\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"schedule_tasks\" takes a command-shaped parameter \"script\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "schedule_tasks",
"field": "inputSchema.properties.script"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "script"
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"execute_command\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"execute_command\" 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": "execute_command"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"schedule_tasks\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"schedule_tasks\" 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": "schedule_tasks"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (test/test-real-routeros.mjs)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`test/test-real-routeros.mjs:3`): 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": "test/test-real-routeros.mjs"
},
"evidence": "import { spawn } from 'child_process'; import readline from 'readline'; // Set test environment process.env.MIKROTIK_H",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "test/test-real-routeros.mjs",
"line": 3,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (test/test-v2-complete.mjs)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`test/test-v2-complete.mjs:3`): 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": "test/test-v2-complete.mjs"
},
"evidence": "import { spawn } from 'child_process'; import readline from 'readline'; console.log('🧪 Complete Testing of MikroTik M",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "test/test-v2-complete.mjs",
"line": 3,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"description": "\"@ai-solutions.ru/mikrotik-mcp-server\" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
"remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
"location": {
"kind": "package",
"name": "@ai-solutions.ru/mikrotik-mcp-server"
},
"evidence": "node scripts/postinstall.js",
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"scripts": [
"postinstall"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "high",
"confidence": "strong",
"untrustedInput": [],
"sensitiveSource": [
"get_logs"
],
"externalSink": [
"execute_command",
"schedule_tasks"
],
"selfContained": false,
"path": [
"get_logs",
"execute_command"
],
"pathWired": false,
"description": "A sensitive-source → external-sink chain exists: get_logs → execute_command."
}
],
"capabilities": [
{
"tool": "test_connection",
"tags": [],
"reasons": {}
},
{
"tool": "Router Status",
"tags": [],
"reasons": {}
},
{
"tool": "configure_basic",
"tags": [],
"reasons": {}
},
{
"tool": "router_name",
"tags": [],
"reasons": {}
},
{
"tool": "connect",
"tags": [],
"reasons": {}
},
{
"tool": "execute_command",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"execute command\" in tool name",
"parameter \"command\""
]
}
},
{
"tool": "get_system_info",
"tags": [],
"reasons": {}
},
{
"tool": "list_interfaces",
"tags": [],
"reasons": {}
},
{
"tool": "Connection Status",
"tags": [],
"reasons": {}
},
{
"tool": "Available Commands",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_router",
"tags": [],
"reasons": {}
},
{
"tool": "secure_router",
"tags": [],
"reasons": {}
},
{
"tool": "level",
"tags": [],
"reasons": {}
},
{
"tool": "mikrotik-mcp-server",
"tags": [],
"reasons": {}
},
{
"tool": "test-connection",
"tags": [],
"reasons": {}
},
{
"tool": "get-system-info",
"tags": [],
"reasons": {}
},
{
"tool": "System Information",
"tags": [],
"reasons": {}
},
{
"tool": "list_api_endpoints",
"tags": [],
"reasons": {}
},
{
"tool": "get_api_endpoint_schema",
"tags": [],
"reasons": {}
},
{
"tool": "invoke_api_endpoint",
"tags": [],
"reasons": {}
},
{
"tool": "configure_network",
"tags": [],
"reasons": {}
},
{
"tool": "setup_security",
"tags": [],
"reasons": {}
},
{
"tool": "monitor_performance",
"tags": [],
"reasons": {}
},
{
"tool": "Current Configuration",
"tags": [],
"reasons": {}
},
{
"tool": "API Documentation",
"tags": [],
"reasons": {}
},
{
"tool": "setup_home_network",
"tags": [],
"reasons": {}
},
{
"tool": "wan_interface",
"tags": [],
"reasons": {}
},
{
"tool": "lan_subnet",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_security",
"tags": [],
"reasons": {}
},
{
"tool": "disconnect",
"tags": [],
"reasons": {}
},
{
"tool": "get_system_health",
"tags": [],
"reasons": {}
},
{
"tool": "get_ip_addresses",
"tags": [],
"reasons": {}
},
{
"tool": "get_routes",
"tags": [],
"reasons": {}
},
{
"tool": "get_firewall_rules",
"tags": [],
"reasons": {}
},
{
"tool": "add_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "get_dhcp_leases",
"tags": [],
"reasons": {}
},
{
"tool": "get_wireless_clients",
"tags": [],
"reasons": {}
},
{
"tool": "get_logs",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"get_logs\""
]
}
},
{
"tool": "create_backup",
"tags": [],
"reasons": {}
},
{
"tool": "Command Reference",
"tags": [],
"reasons": {}
},
{
"tool": "Available Tools",
"tags": [],
"reasons": {}
},
{
"tool": "optimize_performance",
"tags": [],
"reasons": {}
},
{
"tool": "setup_basic_firewall",
"tags": [],
"reasons": {}
},
{
"tool": "lan_interface",
"tags": [],
"reasons": {}
},
{
"tool": "troubleshoot_connectivity",
"tags": [],
"reasons": {}
},
{
"tool": "setup_wireless",
"tags": [],
"reasons": {}
},
{
"tool": "configure_routing",
"tags": [],
"reasons": {}
},
{
"tool": "setup_vpn",
"tags": [],
"reasons": {}
},
{
"tool": "configure_qos",
"tags": [],
"reasons": {}
},
{
"tool": "setup_hotspot",
"tags": [],
"reasons": {}
},
{
"tool": "configure_firewall",
"tags": [],
"reasons": {}
},
{
"tool": "manage_users",
"tags": [],
"reasons": {}
},
{
"tool": "configure_certificates",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_traffic",
"tags": [],
"reasons": {}
},
{
"tool": "monitor_connections",
"tags": [],
"reasons": {}
},
{
"tool": "check_health",
"tags": [],
"reasons": {}
},
{
"tool": "generate_report",
"tags": [],
"reasons": {}
},
{
"tool": "backup_configuration",
"tags": [],
"reasons": {}
},
{
"tool": "update_firmware",
"tags": [],
"reasons": {}
},
{
"tool": "manage_packages",
"tags": [],
"reasons": {}
},
{
"tool": "schedule_tasks",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"script\""
]
}
},
{
"tool": "manage_scripts",
"tags": [],
"reasons": {}
},
{
"tool": "system_reset",
"tags": [],
"reasons": {}
},
{
"tool": "configure_bridges",
"tags": [],
"reasons": {}
},
{
"tool": "setup_bonding",
"tags": [],
"reasons": {}
},
{
"tool": "configure_tunnel",
"tags": [],
"reasons": {}
},
{
"tool": "manage_dhcp_leases",
"tags": [],
"reasons": {}
},
{
"tool": "configure_ospf",
"tags": [],
"reasons": {}
},
{
"tool": "setup_bgp",
"tags": [],
"reasons": {}
},
{
"tool": "configure_mpls",
"tags": [],
"reasons": {}
},
{
"tool": "System Logs",
"tags": [],
"reasons": {}
},
{
"tool": "Traffic Monitor",
"tags": [],
"reasons": {}
},
{
"tool": "Active Connections",
"tags": [],
"reasons": {}
},
{
"tool": "Performance Metrics",
"tags": [],
"reasons": {}
},
{
"tool": "wifi_ssid",
"tags": [],
"reasons": {}
},
{
"tool": "wifi_password",
"tags": [],
"reasons": {}
},
{
"tool": "connection_limit",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "17947758677a79f059a2a2919abd2fd752487859d1d8c8f6c47b0c93c7460e97",
"stats": {
"tools": 77,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 5,
"medium": 2,
"low": 5,
"info": 0
}
}
}