Cli — the complete, unedited output of the deterministic mcptrustchecker engine v1.9.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.9.0",
"methodologyVersion": "mcptrustchecker-1.9"
},
"target": {
"id": "@lanonasis/cli",
"source": {
"kind": "package",
"origin": "@lanonasis/cli"
},
"server": {
"name": "@lanonasis/cli"
}
},
"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.9"
},
"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 (29 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/commands/memory.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/commands/memory.js:13`): 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/commands/memory.js"
},
"evidence": "as execCb } from 'node:child_process'; import { promisify } from 'node:util'; const exec = promisify(execCb); const MAX",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/commands/memory.js",
"line": 13,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:396`): 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/index.js"
},
"evidence": "spawn } = await import('child_process'); const { fileURLToPath } = await import('url'); const { dirname,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/index.js",
"line": 396,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/mcp-server.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/mcp-server.js:11`): 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/mcp-server.js"
},
"evidence": "import { spawn } from 'child_process'; import { CLIConfig } from './utils/config.js'; const __filename = fileURLToPath(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/mcp-server.js",
"line": 11,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/ux/implementations/ConnectionManagerImpl.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/ux/implementations/ConnectionManagerImpl.js:9`): 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/ux/implementations/ConnectionManagerImpl.js"
},
"evidence": "import { spawn } from 'child_process'; import { fileURLToPath } from 'url'; /** * Default MCP configuration */ const",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/ux/implementations/ConnectionManagerImpl.js",
"line": 9,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"description": "\"@lanonasis/cli\" 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": "@lanonasis/cli"
},
"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": [],
"capabilities": [
{
"tool": "memory_create",
"tags": [],
"reasons": {}
},
{
"tool": "memory_search",
"tags": [],
"reasons": {}
},
{
"tool": "memory_list",
"tags": [],
"reasons": {}
},
{
"tool": "memory_get",
"tags": [],
"reasons": {}
},
{
"tool": "memory_update",
"tags": [],
"reasons": {}
},
{
"tool": "memory_delete",
"tags": [],
"reasons": {}
},
{
"tool": "topic_create",
"tags": [],
"reasons": {}
},
{
"tool": "topic_list",
"tags": [],
"reasons": {}
},
{
"tool": "apikey_create",
"tags": [],
"reasons": {}
},
{
"tool": "apikey_list",
"tags": [],
"reasons": {}
},
{
"tool": "system_health",
"tags": [],
"reasons": {}
},
{
"tool": "system_config",
"tags": [],
"reasons": {}
},
{
"tool": "connection_stats",
"tags": [],
"reasons": {}
},
{
"tool": "connection_auth_status",
"tags": [],
"reasons": {}
},
{
"tool": "connection_validate_auth",
"tags": [],
"reasons": {}
},
{
"tool": "transport_status",
"tags": [],
"reasons": {}
},
{
"tool": "transport_test",
"tags": [],
"reasons": {}
},
{
"tool": "transport_reset_failures",
"tags": [],
"reasons": {}
},
{
"tool": "Recent Memories",
"tags": [],
"reasons": {}
},
{
"tool": "Memory Search",
"tags": [],
"reasons": {}
},
{
"tool": "Current Configuration",
"tags": [],
"reasons": {}
},
{
"tool": "Usage Statistics",
"tags": [],
"reasons": {}
},
{
"tool": "Connection Pool",
"tags": [],
"reasons": {}
},
{
"tool": "Transport Status",
"tags": [],
"reasons": {}
},
{
"tool": "create_memory",
"tags": [],
"reasons": {}
},
{
"tool": "title",
"tags": [],
"reasons": {}
},
{
"tool": "search_memories",
"tags": [],
"reasons": {}
},
{
"tool": "query",
"tags": [],
"reasons": {}
},
{
"tool": "organize_memories",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "f9b7b79d2df11d941adcb3d5a2242549ee6580b0325a01b03959761213ec48fa",
"stats": {
"tools": 29,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 4,
"medium": 0,
"low": 1,
"info": 0
}
}
}