Opnsense — 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": "opnsense-mcp-server",
"source": {
"kind": "package",
"origin": "opnsense-mcp-server"
},
"server": {
"name": "opnsense-mcp-server"
}
},
"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",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"external-sink",
"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 (162 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-006",
"title": "Reads a sensitive credential path or dumps the environment (dist/resources/ssh/executor.js)",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/resources/ssh/executor.js:75`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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/resources/ssh/executor.js"
},
"evidence": "oin(homedir(), '.ssh', 'id_rsa'), passphrase: process.env.OPNSENSE_SSH_PASSPHRASE, timeout: pars",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-006",
"file": "dist/resources/ssh/executor.js",
"line": 75,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"cli_execute\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"cli_execute\" appears to run shell commands or evaluate code (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": "cli_execute"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_execute\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_execute\" appears to run shell commands or evaluate code (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": "ssh_execute"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"cli_execute\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"cli_execute\" 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": "cli_execute",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_execute\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_execute\" 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": "ssh_execute",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/core/plugin-system/loader.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/core/plugin-system/loader.js:97`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/core/plugin-system/loader.js"
},
"evidence": "const module = await import(indexPath); const PluginClass = module.default || module[Object.keys(module)[",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/core/plugin-system/loader.js",
"line": 97,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/server-v2.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/server-v2.js:213`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/server-v2.js"
},
"evidence": "= configPath ? require(configPath) : { server: { host: process.env.SERVER_H",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/server-v2.js",
"line": 213,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"cli_execute\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"cli_execute\" 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": "cli_execute"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_execute\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_execute\" 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": "ssh_execute"
},
"data": {
"tags": [
"code-exec"
]
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "network_query",
"tags": [],
"reasons": {}
},
{
"tool": "sync_network_data",
"tags": [],
"reasons": {}
},
{
"tool": "update_device_name",
"tags": [],
"reasons": {}
},
{
"tool": "group_devices",
"tags": [],
"reasons": {}
},
{
"tool": "configure",
"tags": [],
"reasons": {}
},
{
"tool": "list_vlans",
"tags": [],
"reasons": {}
},
{
"tool": "get_vlan",
"tags": [],
"reasons": {}
},
{
"tool": "create_vlan",
"tags": [],
"reasons": {}
},
{
"tool": "delete_vlan",
"tags": [],
"reasons": {}
},
{
"tool": "update_vlan",
"tags": [],
"reasons": {}
},
{
"tool": "list_firewall_rules",
"tags": [],
"reasons": {}
},
{
"tool": "get_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "create_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "create_firewall_preset",
"tags": [],
"reasons": {}
},
{
"tool": "update_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "delete_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "toggle_firewall_rule",
"tags": [],
"reasons": {}
},
{
"tool": "find_firewall_rules",
"tags": [],
"reasons": {}
},
{
"tool": "create_backup",
"tags": [],
"reasons": {}
},
{
"tool": "list_backups",
"tags": [],
"reasons": {}
},
{
"tool": "restore_backup",
"tags": [],
"reasons": {}
},
{
"tool": "test_connection",
"tags": [],
"reasons": {}
},
{
"tool": "get_interfaces",
"tags": [],
"reasons": {}
},
{
"tool": "list_dhcp_leases",
"tags": [],
"reasons": {}
},
{
"tool": "find_device_by_name",
"tags": [],
"reasons": {}
},
{
"tool": "find_device_by_mac",
"tags": [],
"reasons": {}
},
{
"tool": "get_guest_devices",
"tags": [],
"reasons": {}
},
{
"tool": "get_devices_by_interface",
"tags": [],
"reasons": {}
},
{
"tool": "list_arp_entries",
"tags": [],
"reasons": {}
},
{
"tool": "find_arp_by_ip",
"tags": [],
"reasons": {}
},
{
"tool": "find_arp_by_mac",
"tags": [],
"reasons": {}
},
{
"tool": "find_arp_by_interface",
"tags": [],
"reasons": {}
},
{
"tool": "find_arp_by_hostname",
"tags": [],
"reasons": {}
},
{
"tool": "get_arp_stats",
"tags": [],
"reasons": {}
},
{
"tool": "find_devices_on_vlan",
"tags": [],
"reasons": {}
},
{
"tool": "list_dns_blocklist",
"tags": [],
"reasons": {}
},
{
"tool": "block_domain",
"tags": [],
"reasons": {}
},
{
"tool": "unblock_domain",
"tags": [],
"reasons": {}
},
{
"tool": "block_multiple_domains",
"tags": [],
"reasons": {}
},
{
"tool": "apply_blocklist_category",
"tags": [],
"reasons": {}
},
{
"tool": "search_dns_blocklist",
"tags": [],
"reasons": {}
},
{
"tool": "toggle_blocklist_entry",
"tags": [],
"reasons": {}
},
{
"tool": "list_available_dnsbl",
"tags": [],
"reasons": {}
},
{
"tool": "add_dnsbl_subscription",
"tags": [],
"reasons": {}
},
{
"tool": "remove_dnsbl_subscription",
"tags": [],
"reasons": {}
},
{
"tool": "update_dnsbl_subscription",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_service_control",
"tags": [],
"reasons": {}
},
{
"tool": "monit_status",
"tags": [],
"reasons": {}
},
{
"tool": "monit_get_settings",
"tags": [],
"reasons": {}
},
{
"tool": "monit_add_service",
"tags": [],
"reasons": {}
},
{
"tool": "monit_update_service",
"tags": [],
"reasons": {}
},
{
"tool": "monit_delete_service",
"tags": [],
"reasons": {}
},
{
"tool": "monit_add_test",
"tags": [],
"reasons": {}
},
{
"tool": "monit_update_test",
"tags": [],
"reasons": {}
},
{
"tool": "monit_delete_test",
"tags": [],
"reasons": {}
},
{
"tool": "monit_add_alert",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"parameter \"recipient\""
]
}
},
{
"tool": "monit_update_alert",
"tags": [],
"reasons": {}
},
{
"tool": "monit_delete_alert",
"tags": [],
"reasons": {}
},
{
"tool": "acme_get_settings",
"tags": [],
"reasons": {}
},
{
"tool": "acme_update_certificate",
"tags": [],
"reasons": {}
},
{
"tool": "acme_renew_certificate",
"tags": [],
"reasons": {}
},
{
"tool": "acme_sign_certificate",
"tags": [],
"reasons": {}
},
{
"tool": "acme_revoke_certificate",
"tags": [],
"reasons": {}
},
{
"tool": "acme_add_action",
"tags": [],
"reasons": {}
},
{
"tool": "acme_delete_action",
"tags": [],
"reasons": {}
},
{
"tool": "system_get_settings",
"tags": [],
"reasons": {}
},
{
"tool": "system_enable_intervlan_routing",
"tags": [],
"reasons": {}
},
{
"tool": "system_update_firewall_settings",
"tags": [],
"reasons": {}
},
{
"tool": "interface_list_overview",
"tags": [],
"reasons": {}
},
{
"tool": "interface_get_config",
"tags": [],
"reasons": {}
},
{
"tool": "interface_enable_intervlan_routing",
"tags": [],
"reasons": {}
},
{
"tool": "interface_enable_intervlan_all",
"tags": [],
"reasons": {}
},
{
"tool": "interface_configure_dmz",
"tags": [],
"reasons": {}
},
{
"tool": "interface_update_config",
"tags": [],
"reasons": {}
},
{
"tool": "routing_diagnostics",
"tags": [],
"reasons": {}
},
{
"tool": "routing_fix_all",
"tags": [],
"reasons": {}
},
{
"tool": "routing_fix_dmz",
"tags": [],
"reasons": {}
},
{
"tool": "routing_create_intervlan_rules",
"tags": [],
"reasons": {}
},
{
"tool": "cli_execute",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "cli_fix_interface_blocking",
"tags": [],
"reasons": {}
},
{
"tool": "cli_reload_firewall",
"tags": [],
"reasons": {}
},
{
"tool": "cli_show_routing",
"tags": [],
"reasons": {}
},
{
"tool": "cli_fix_dmz_routing",
"tags": [],
"reasons": {}
},
{
"tool": "cli_check_nfs",
"tags": [],
"reasons": {}
},
{
"tool": "cli_apply_changes",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_create",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_list",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_delete",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_frontend_create",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_frontend_list",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_frontend_delete",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_certificate_list",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_certificate_create",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_acl_create",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_action_create",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_stats",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_health",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_update",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_backend_get",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_frontend_update",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_frontend_get",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_server_add",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_server_update",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_server_delete",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_acl_update",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_acl_delete",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_action_update",
"tags": [],
"reasons": {}
},
{
"tool": "haproxy_action_delete",
"tags": [],
"reasons": {}
},
{
"tool": "macro_start_recording",
"tags": [],
"reasons": {}
},
{
"tool": "macro_stop_recording",
"tags": [],
"reasons": {}
},
{
"tool": "macro_list",
"tags": [],
"reasons": {}
},
{
"tool": "macro_play",
"tags": [],
"reasons": {}
},
{
"tool": "macro_delete",
"tags": [],
"reasons": {}
},
{
"tool": "macro_analyze",
"tags": [],
"reasons": {}
},
{
"tool": "macro_generate_tool",
"tags": [],
"reasons": {}
},
{
"tool": "macro_export",
"tags": [],
"reasons": {}
},
{
"tool": "macro_import",
"tags": [],
"reasons": {}
},
{
"tool": "iac_plan_deployment",
"tags": [],
"reasons": {}
},
{
"tool": "iac_apply_deployment",
"tags": [],
"reasons": {}
},
{
"tool": "iac_destroy_deployment",
"tags": [],
"reasons": {}
},
{
"tool": "iac_list_resource_types",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_execute",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_fix_interface_blocking",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_fix_dmz_routing",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_enable_intervlan_routing",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_reload_firewall",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_show_routing",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_show_pf_rules",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_backup_config",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_restore_config",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_check_nfs_connectivity",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_system_status",
"tags": [],
"reasons": {}
},
{
"tool": "nat_list_outbound",
"tags": [],
"reasons": {}
},
{
"tool": "nat_list_port_forwards",
"tags": [],
"reasons": {}
},
{
"tool": "nat_get_mode",
"tags": [],
"reasons": {}
},
{
"tool": "nat_set_mode",
"tags": [],
"reasons": {}
},
{
"tool": "nat_create_outbound_rule",
"tags": [],
"reasons": {}
},
{
"tool": "nat_delete_outbound_rule",
"tags": [],
"reasons": {}
},
{
"tool": "nat_create_port_forward",
"tags": [],
"reasons": {}
},
{
"tool": "nat_delete_port_forward",
"tags": [],
"reasons": {}
},
{
"tool": "nat_fix_dmz",
"tags": [],
"reasons": {}
},
{
"tool": "nat_quick_fix_dmz",
"tags": [],
"reasons": {}
},
{
"tool": "nat_cleanup_dmz_fix",
"tags": [],
"reasons": {}
},
{
"tool": "nat_analyze_config",
"tags": [],
"reasons": {}
},
{
"tool": "nat_apply_changes",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_test_vlan_connectivity",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_quick_dmz_fix",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_batch_execute",
"tags": [],
"reasons": {}
},
{
"tool": "VLANs",
"tags": [],
"reasons": {}
},
{
"tool": "Firewall Rules",
"tags": [],
"reasons": {}
},
{
"tool": "Network Interfaces",
"tags": [],
"reasons": {}
},
{
"tool": "Connection Status",
"tags": [],
"reasons": {}
},
{
"tool": "DHCP Leases",
"tags": [],
"reasons": {}
},
{
"tool": "DNS Blocklist",
"tags": [],
"reasons": {}
},
{
"tool": "HAProxy Backends",
"tags": [],
"reasons": {}
},
{
"tool": "HAProxy Frontends",
"tags": [],
"reasons": {}
},
{
"tool": "HAProxy Statistics",
"tags": [],
"reasons": {}
},
{
"tool": "Recorded Macros",
"tags": [],
"reasons": {}
},
{
"tool": "ARP Table",
"tags": [],
"reasons": {}
},
{
"tool": "IaC Resource Types",
"tags": [],
"reasons": {}
},
{
"tool": "Deployments",
"tags": [],
"reasons": {}
},
{
"tool": "Resource State",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "a40c84ee43cf35186b18edc0bc422ee74e9923210eac9d6a2b2de9a52c3adbdf",
"stats": {
"tools": 162,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 3,
"medium": 4,
"low": 2,
"info": 0
}
}
}