Nervusdb — the complete, unedited output of the deterministic mcptrustchecker engine v1.10.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.10.0",
"methodologyVersion": "mcptrustchecker-1.9"
},
"target": {
"id": "@nervusdb/mcp",
"source": {
"kind": "package",
"origin": "@nervusdb/mcp"
},
"server": {
"name": "@nervusdb/mcp"
}
},
"grade": "A",
"score": {
"score": 96,
"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": "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.9"
},
"capability": {
"level": "moderate",
"reasons": [
"can create, modify or delete files",
"reads sensitive or local data"
],
"tags": [
"sensitive-source",
"file-write"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (20 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-CAP-002",
"title": "Tool \"code.writeFile\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"code.writeFile\" can write, overwrite or delete files (keyword \"writefile\" 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": "code.writeFile"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (bin/nervusdb-mcp.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`bin/nervusdb-mcp.js:66`): 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": "bin/nervusdb-mcp.js"
},
"evidence": "mport the server module import(serverPath).catch((error) => { console.error('Failed to start NervusDB MCP server:', er",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "bin/nervusdb-mcp.js",
"line": 66,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/domain/parsing/multiLanguageParser.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/domain/parsing/multiLanguageParser.js:27`): 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/domain/parsing/multiLanguageParser.js"
},
"evidence": "ry { return require(nativePath); } catch (err) { errors.push(`${nativePath}: ${e",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/domain/parsing/multiLanguageParser.js",
"line": 27,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"code.writeFile\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"code.writeFile\" 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": "code.writeFile"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file\" on \"code.readFile\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"code.readFile\" takes a path parameter \"file\" 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": "code.readFile",
"field": "inputSchema.properties.file"
},
"data": {
"param": "file"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file\" on \"code.writeFile\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"code.writeFile\" takes a path parameter \"file\" 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": "code.writeFile",
"field": "inputSchema.properties.file"
},
"data": {
"param": "file"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"filePath\" on \"project.readFile\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"project.readFile\" takes a path parameter \"filePath\" 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": "project.readFile",
"field": "inputSchema.properties.filePath"
},
"data": {
"param": "filePath"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "code.readFile",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "code.writeFile",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"writefile\" in tool name"
]
}
},
{
"tool": "code.getDefinition",
"tags": [],
"reasons": {}
},
{
"tool": "code.findReferences",
"tags": [],
"reasons": {}
},
{
"tool": "code.getCallHierarchy",
"tags": [],
"reasons": {}
},
{
"tool": "code.detectSmells",
"tags": [],
"reasons": {}
},
{
"tool": "code.suggestRefactorings",
"tags": [],
"reasons": {}
},
{
"tool": "code.analyzeDocumentation",
"tags": [],
"reasons": {}
},
{
"tool": "code.generateDocumentation",
"tags": [],
"reasons": {}
},
{
"tool": "db.getStats",
"tags": [],
"reasons": {}
},
{
"tool": "db.query",
"tags": [],
"reasons": {}
},
{
"tool": "db.rebuildIndex",
"tags": [],
"reasons": {}
},
{
"tool": "db.getNodeDetails",
"tags": [],
"reasons": {}
},
{
"tool": "db.getHealth",
"tags": [],
"reasons": {}
},
{
"tool": "project.getStructure",
"tags": [],
"reasons": {}
},
{
"tool": "project.readFile",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"readfile\""
]
}
},
{
"tool": "project.analyzeImpact",
"tags": [],
"reasons": {}
},
{
"tool": "project.findRelatedFiles",
"tags": [],
"reasons": {}
},
{
"tool": "workflow.startTask",
"tags": [],
"reasons": {}
},
{
"tool": "workflow.submitForReview",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "ce0e60429028acd7fdf03b8114d746417c6554bd8e2fc7c65cd170a158652103",
"stats": {
"tools": 20,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 0,
"medium": 3,
"low": 4,
"info": 0
}
}
}