Filemanager — 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": "filemanager-mcp-server",
"source": {
"kind": "package",
"origin": "filemanager-mcp-server"
},
"server": {
"name": "filemanager-mcp-server"
}
},
"grade": "A",
"score": {
"score": 94,
"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": "source",
"label": "publisher verification (provenance) — cryptographic build provenance ties the artifact to its source",
"appliedPenalty": 0
},
{
"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 create, modify or delete files",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"file-write",
"sensitive-source",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (19 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 (index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`index.js:14`): 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": "index.js"
},
"evidence": "nst { exec } = require('child_process'); const execAsync = promisify(exec); class FileManagerServer { constructor() {",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "index.js",
"line": 14,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"create_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"create_file\" can write, overwrite or delete files (keyword \"create_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "create_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"delete_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"delete_file\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"write_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"write_file\" can write, overwrite or delete files (keyword \"write_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"move_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"move_file\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"batch_move_files\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"batch_move_files\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "batch_move_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"batch_delete_files\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"batch_delete_files\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "batch_delete_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"batch_create_files\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"batch_create_files\" can write, overwrite or delete files (keyword \"create_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "batch_create_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"edit_file_advanced\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"edit_file_advanced\" can write, overwrite or delete files (keyword \"edit_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "edit_file_advanced"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"create_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"create_file\" 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": "create_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"delete_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"delete_file\" 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": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"write_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"write_file\" 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": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"move_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"move_file\" 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": "move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"batch_move_files\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"batch_move_files\" 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": "batch_move_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"batch_delete_files\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"batch_delete_files\" 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": "batch_delete_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"batch_create_files\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"batch_create_files\" 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": "batch_create_files"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"edit_file_advanced\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"edit_file_advanced\" 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": "edit_file_advanced"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"create_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"create_file\" takes a path parameter \"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": "create_file",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"delete_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"delete_file\" takes a path parameter \"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": "delete_file",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"read_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"read_file\" takes a path parameter \"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": "read_file",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"write_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"write_file\" takes a path parameter \"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": "write_file",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"batch_create_files\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"batch_create_files\" takes a path parameter \"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": "batch_create_files",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"edit_file_advanced\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"edit_file_advanced\" takes a path parameter \"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": "edit_file_advanced",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"path\" on \"read_file_advanced\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"read_file_advanced\" takes a path parameter \"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": "read_file_advanced",
"field": "inputSchema.properties.path"
},
"data": {
"param": "path"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "create_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"create_file\" in tool name"
]
}
},
{
"tool": "delete_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"delete_file\" in tool name"
]
}
},
{
"tool": "read_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "write_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"write_file\" in tool name"
]
}
},
{
"tool": "copy_file",
"tags": [],
"reasons": {}
},
{
"tool": "move_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"move_file\" in tool name"
]
}
},
{
"tool": "list_directory",
"tags": [],
"reasons": {}
},
{
"tool": "get_file_info",
"tags": [],
"reasons": {}
},
{
"tool": "create_directory",
"tags": [],
"reasons": {}
},
{
"tool": "search_files",
"tags": [],
"reasons": {}
},
{
"tool": "batch_read_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "batch_copy_files",
"tags": [],
"reasons": {}
},
{
"tool": "batch_move_files",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"move_file\" in tool name"
]
}
},
{
"tool": "batch_delete_files",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"delete_file\" in tool name"
]
}
},
{
"tool": "batch_create_files",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"create_file\" in tool name"
]
}
},
{
"tool": "edit_file_advanced",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"edit_file\" in tool name"
]
}
},
{
"tool": "create_from_template",
"tags": [],
"reasons": {}
},
{
"tool": "create_project_structure",
"tags": [],
"reasons": {}
},
{
"tool": "read_file_advanced",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
}
],
"surfaceDigest": "0a3f93abcffbbf05294ee6448d42f29f52b9da65b6ffe62e32fa841436c48bf8",
"stats": {
"tools": 19,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 1,
"medium": 8,
"low": 15,
"info": 0
}
}
}