Code Recall — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.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.8.0",
"methodologyVersion": "mcptrustchecker-1.8"
},
"target": {
"id": "code-recall",
"source": {
"kind": "package",
"origin": "code-recall"
},
"server": {
"name": "code-recall"
}
},
"grade": "A",
"score": {
"score": 90,
"threatScore": 94,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 6.3,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"kind": "client",
"term": "capability-exposure",
"level": "moderate",
"label": "capability blast radius (moderate) — client exposure if the model is manipulated",
"appliedPenalty": 3
},
{
"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.8"
},
"capability": {
"level": "moderate",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"reads sensitive or local data"
],
"tags": [
"sensitive-source",
"untrusted-input"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (8 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-009",
"title": "Untrusted input concatenated into a command sink (src/database/migrations/utils.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`src/database/migrations/utils.ts:92`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "src/database/migrations/utils.ts"
},
"evidence": "exec(\n `CREATE ${uniqueStr}INDEX IF NOT EXISTS ${indexName} ON ${table} (${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "src/database/migrations/utils.ts",
"line": 92
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_path\" on \"store_observation\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"store_observation\" takes a path parameter \"file_path\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "store_observation",
"field": "inputSchema.properties.file_path"
},
"data": {
"param": "file_path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_path\" on \"search_memory\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"search_memory\" takes a path parameter \"file_path\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "search_memory",
"field": "inputSchema.properties.file_path"
},
"data": {
"param": "file_path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_path\" on \"analyze_structure\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"analyze_structure\" takes a path parameter \"file_path\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "analyze_structure",
"field": "inputSchema.properties.file_path"
},
"data": {
"param": "file_path"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "store_observation",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"parameter \"path\""
]
}
},
{
"tool": "search_memory",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"parameter \"path\""
]
}
},
{
"tool": "get_briefing",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "set_rule",
"tags": [],
"reasons": {}
},
{
"tool": "check_rules",
"tags": [],
"reasons": {}
},
{
"tool": "record_outcome",
"tags": [],
"reasons": {}
},
{
"tool": "list_rules",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_structure",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"parameter \"path\""
]
}
}
],
"surfaceDigest": "265bb7836eb9187a102fb847e9ade56d3e37357f26a2d6bc49c1a514d38e097c",
"stats": {
"tools": 8,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 0,
"medium": 1,
"low": 3,
"info": 0
}
}
}