Siyuan — 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": "siyuan-mcp-server",
"source": {
"kind": "package",
"origin": "siyuan-mcp-server"
},
"server": {
"name": "siyuan-mcp-server"
}
},
"grade": "A",
"score": {
"score": 92,
"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": "none",
"label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
"appliedPenalty": 2
},
{
"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 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 (37 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/utils/encoding.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/utils/encoding.js:24`): 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/utils/encoding.js"
},
"evidence": "{ execSync } = require('child_process'); execSync('chcp 65001', { stdio: 'ignore' }); } catc",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/utils/encoding.js",
"line": 24,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/utils/portDiscovery.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/utils/portDiscovery.js:42`): 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/utils/portDiscovery.js"
},
"evidence": "re(\"../logger\")); const child_process_1 = require(\"child_process\"); const util_1 = require(\"util\"); const fs = __importS",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/utils/portDiscovery.js",
"line": 42,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"siyuan-mcp-server\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
"remediation": "Prefer packages that link to public, reviewable source.",
"location": {
"kind": "package",
"name": "siyuan-mcp-server"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "system.health",
"tags": [],
"reasons": {}
},
{
"tool": "system.discover-ports",
"tags": [],
"reasons": {}
},
{
"tool": "notes.search",
"tags": [],
"reasons": {}
},
{
"tool": "blocks.get",
"tags": [],
"reasons": {}
},
{
"tool": "blocks.create",
"tags": [],
"reasons": {}
},
{
"tool": "blocks.update",
"tags": [],
"reasons": {}
},
{
"tool": "blocks.delete",
"tags": [],
"reasons": {}
},
{
"tool": "blocks.move",
"tags": [],
"reasons": {}
},
{
"tool": "docs.create",
"tags": [],
"reasons": {}
},
{
"tool": "docs.list",
"tags": [],
"reasons": {}
},
{
"tool": "notebooks.list",
"tags": [],
"reasons": {}
},
{
"tool": "assets.upload",
"tags": [],
"reasons": {}
},
{
"tool": "assets.list",
"tags": [],
"reasons": {}
},
{
"tool": "assets.unused",
"tags": [],
"reasons": {}
},
{
"tool": "assets.missing",
"tags": [],
"reasons": {}
},
{
"tool": "assets.rename",
"tags": [],
"reasons": {}
},
{
"tool": "assets.ocr",
"tags": [],
"reasons": {}
},
{
"tool": "context.session.create",
"tags": [],
"reasons": {}
},
{
"tool": "context.session.get",
"tags": [],
"reasons": {}
},
{
"tool": "context.session.update",
"tags": [],
"reasons": {}
},
{
"tool": "context.reference.add",
"tags": [],
"reasons": {}
},
{
"tool": "context.reference.list",
"tags": [],
"reasons": {}
},
{
"tool": "context.merge",
"tags": [],
"reasons": {}
},
{
"tool": "context.summary",
"tags": [],
"reasons": {}
},
{
"tool": "resources.discover",
"tags": [],
"reasons": {}
},
{
"tool": "resources.search",
"tags": [],
"reasons": {}
},
{
"tool": "resources.stats",
"tags": [],
"reasons": {}
},
{
"tool": "prompts.list",
"tags": [],
"reasons": {}
},
{
"tool": "prompts.get",
"tags": [],
"reasons": {}
},
{
"tool": "prompts.validate",
"tags": [],
"reasons": {}
},
{
"tool": "batch.create-blocks",
"tags": [],
"reasons": {}
},
{
"tool": "batch.update-blocks",
"tags": [],
"reasons": {}
},
{
"tool": "batch.delete-blocks",
"tags": [],
"reasons": {}
},
{
"tool": "batch.create-docs",
"tags": [],
"reasons": {}
},
{
"tool": "batch.search-queries",
"tags": [],
"reasons": {}
},
{
"tool": "system.cache-stats",
"tags": [],
"reasons": {}
},
{
"tool": "system.retry-stats",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "dd1e8c64a1c0b157403a17482cf0a3ae02f7eb8ca4fc56459f521cdcf4ceb3d7",
"stats": {
"tools": 37,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 0,
"low": 0,
"info": 1
}
}
}