Memory — 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": "mcp-memory-server",
"source": {
"kind": "package",
"origin": "mcp-memory-server"
},
"server": {
"name": "mcp-memory-server"
}
},
"grade": "B",
"score": {
"score": 89,
"threatScore": 100,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"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": "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": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"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",
"untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
"untrusted input can reach code execution"
],
"tags": [
"untrusted-input",
"sensitive-source",
"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 (22 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-002",
"title": "Completed toxic-flow trifecta across tools",
"category": "exfiltration",
"severity": "critical",
"confidence": "strong",
"description": "This server (without client built-ins) exposes a complete data-exfiltration chain: get_memory_section → dba.query → prometheus.query. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
"remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
"location": {
"kind": "flow",
"name": "get_memory_section → dba.query → prometheus.query"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"get_memory_section"
],
"sources": [
"dba.query"
],
"sinks": [
"prometheus.query"
],
"path": [
"get_memory_section",
"dba.query",
"prometheus.query"
],
"edges": [
{
"from": "get_memory_section",
"to": "dba.query",
"kind": "agent-mediated"
},
{
"from": "dba.query",
"to": "prometheus.query",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (mcp_memory_server/server.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`mcp_memory_server/server.py:40`): 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": "mcp_memory_server/server.py"
},
"evidence": "nv or {})} result = subprocess.run( cmd, cwd=cwd, env=env, capture_output=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "mcp_memory_server/server.py",
"line": 40,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"mcp-memory-server\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "mcp-memory-server"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"get_memory_section"
],
"sensitiveSource": [
"dba.query"
],
"externalSink": [
"prometheus.query"
],
"selfContained": false,
"path": [
"get_memory_section",
"dba.query",
"prometheus.query"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: get_memory_section → dba.query → prometheus.query."
}
],
"capabilities": [
{
"tool": "get_memory_section",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "get_security_checklist",
"tags": [],
"reasons": {}
},
{
"tool": "get_code_standards",
"tags": [],
"reasons": {}
},
{
"tool": "terraform.plan",
"tags": [],
"reasons": {}
},
{
"tool": "k8s.pods",
"tags": [],
"reasons": {}
},
{
"tool": "docker.images",
"tags": [],
"reasons": {}
},
{
"tool": "drift.check",
"tags": [],
"reasons": {}
},
{
"tool": "security.scan",
"tags": [],
"reasons": {}
},
{
"tool": "github.action",
"tags": [],
"reasons": {}
},
{
"tool": "gitlab_pipeline_status",
"tags": [],
"reasons": {}
},
{
"tool": "jenkins.jobs",
"tags": [],
"reasons": {}
},
{
"tool": "jenkins.build",
"tags": [],
"reasons": {}
},
{
"tool": "registry.images",
"tags": [],
"reasons": {}
},
{
"tool": "k8s.drift",
"tags": [],
"reasons": {}
},
{
"tool": "dba.query",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"sql_query\""
]
}
},
{
"tool": "tools.versions",
"tags": [],
"reasons": {}
},
{
"tool": "system.cpu",
"tags": [],
"reasons": {}
},
{
"tool": "system.memory",
"tags": [],
"reasons": {}
},
{
"tool": "system.disk",
"tags": [],
"reasons": {}
},
{
"tool": "prometheus.query",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"http_request\""
]
}
},
{
"tool": "mcp.health",
"tags": [],
"reasons": {}
},
{
"tool": "mcp.tools",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "128a852139277d3a66114f04931968594bad831d931721aaf161741baa70c7e8",
"stats": {
"tools": 22,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 1,
"medium": 0,
"low": 0,
"info": 1
}
}
}