Sharepoint — 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": "server-sharepoint",
"source": {
"kind": "package",
"origin": "server-sharepoint"
},
"server": {
"name": "server-sharepoint"
}
},
"grade": "B",
"score": {
"score": 81,
"threatScore": 89,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 11.03,
"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": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.5,
"appliedPenalty": 3.15
},
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.25,
"appliedPenalty": 1.58
},
{
"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 (57 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 (build/azure_cert_auth.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/azure_cert_auth.js:67`): 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": "build/azure_cert_auth.js"
},
"evidence": "require('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'inherit' });",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/azure_cert_auth.js",
"line": 67,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/src/azure_cert_auth.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/src/azure_cert_auth.js:60`): 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": "build/src/azure_cert_auth.js"
},
"evidence": "const result = require('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'pipe',",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/src/azure_cert_auth.js",
"line": 60,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/src/graph_cert_auth.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/src/graph_cert_auth.js:60`): 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": "build/src/graph_cert_auth.js"
},
"evidence": "{ execSync } = require('child_process'); // Create temporary directory if it doesn't exist const tempDir",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/src/graph_cert_auth.js",
"line": 60,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/src/jwt_utils.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/src/jwt_utils.js:60`): 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": "build/src/jwt_utils.js"
},
"evidence": "{ execSync } = require('child_process'); // First, check if the certificate exists in the store const ch",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/src/jwt_utils.js",
"line": 60,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/azure_cert_auth.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/azure_cert_auth.ts:29`): 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": "src/azure_cert_auth.ts"
},
"evidence": "const result = require('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'pipe',",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/azure_cert_auth.ts",
"line": 29,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (build/azure_cert_auth.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`build/azure_cert_auth.js:67`): 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": "build/azure_cert_auth.js"
},
"evidence": "equire('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'inherit' }); if (fs.exi",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "build/azure_cert_auth.js",
"line": 67,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (build/src/azure_cert_auth.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`build/src/azure_cert_auth.js:60`): 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": "build/src/azure_cert_auth.js"
},
"evidence": "equire('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'pipe', encoding",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "build/src/azure_cert_auth.js",
"line": 60,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (src/azure_cert_auth.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`src/azure_cert_auth.ts:29`): 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/azure_cert_auth.ts"
},
"evidence": "equire('child_process').execSync(`powershell -Command \"${psCommand}\"`, { stdio: 'pipe', encoding",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "src/azure_cert_auth.ts",
"line": 29,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"server-sharepoint\" 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": "server-sharepoint"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "batchCreateListItems",
"tags": [],
"reasons": {}
},
{
"tool": "batchUpdateListItems",
"tags": [],
"reasons": {}
},
{
"tool": "batchDeleteListItems",
"tags": [],
"reasons": {}
},
{
"tool": "getListContentTypes",
"tags": [],
"reasons": {}
},
{
"tool": "getListContentType",
"tags": [],
"reasons": {}
},
{
"tool": "createListContentType",
"tags": [],
"reasons": {}
},
{
"tool": "updateListContentType",
"tags": [],
"reasons": {}
},
{
"tool": "deleteListContentType",
"tags": [],
"reasons": {}
},
{
"tool": "createListField",
"tags": [],
"reasons": {}
},
{
"tool": "updateListField",
"tags": [],
"reasons": {}
},
{
"tool": "deleteListField",
"tags": [],
"reasons": {}
},
{
"tool": "getAllSites",
"tags": [],
"reasons": {}
},
{
"tool": "getLists",
"tags": [],
"reasons": {}
},
{
"tool": "getListItems",
"tags": [],
"reasons": {}
},
{
"tool": "getListFields",
"tags": [],
"reasons": {}
},
{
"tool": "createListItem",
"tags": [],
"reasons": {}
},
{
"tool": "updateListItem",
"tags": [],
"reasons": {}
},
{
"tool": "deleteListItem",
"tags": [],
"reasons": {}
},
{
"tool": "createList",
"tags": [],
"reasons": {}
},
{
"tool": "deleteList",
"tags": [],
"reasons": {}
},
{
"tool": "updateList",
"tags": [],
"reasons": {}
},
{
"tool": "createModernPage",
"tags": [],
"reasons": {}
},
{
"tool": "getModernPages",
"tags": [],
"reasons": {}
},
{
"tool": "getModernPage",
"tags": [],
"reasons": {}
},
{
"tool": "deleteModernPage",
"tags": [],
"reasons": {}
},
{
"tool": "getRegionalSettings",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteCollectionFeatures",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteFeatures",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteFeature",
"tags": [],
"reasons": {}
},
{
"tool": "searchSharePointSite",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteContentTypes",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteContentType",
"tags": [],
"reasons": {}
},
{
"tool": "updateSiteContentType",
"tags": [],
"reasons": {}
},
{
"tool": "deleteSiteContentType",
"tags": [],
"reasons": {}
},
{
"tool": "getSite",
"tags": [],
"reasons": {}
},
{
"tool": "updateSite",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteUsers",
"tags": [],
"reasons": {}
},
{
"tool": "getSiteGroups",
"tags": [],
"reasons": {}
},
{
"tool": "getGroupMembers",
"tags": [],
"reasons": {}
},
{
"tool": "addGroupMember",
"tags": [],
"reasons": {}
},
{
"tool": "removeGroupMember",
"tags": [],
"reasons": {}
},
{
"tool": "getGlobalNavigationLinks",
"tags": [],
"reasons": {}
},
{
"tool": "getQuickNavigationLinks",
"tags": [],
"reasons": {}
},
{
"tool": "getSubsites",
"tags": [],
"reasons": {}
},
{
"tool": "deleteSubsite",
"tags": [],
"reasons": {}
},
{
"tool": "addNavigationLink",
"tags": [],
"reasons": {}
},
{
"tool": "updateNavigationLink",
"tags": [],
"reasons": {}
},
{
"tool": "deleteNavigationLink",
"tags": [],
"reasons": {}
},
{
"tool": "getListViews",
"tags": [],
"reasons": {}
},
{
"tool": "createListView",
"tags": [],
"reasons": {}
},
{
"tool": "updateListView",
"tags": [],
"reasons": {}
},
{
"tool": "deleteListView",
"tags": [],
"reasons": {}
},
{
"tool": "getViewFields",
"tags": [],
"reasons": {}
},
{
"tool": "addViewField",
"tags": [],
"reasons": {}
},
{
"tool": "removeViewField",
"tags": [],
"reasons": {}
},
{
"tool": "removeAllViewFields",
"tags": [],
"reasons": {}
},
{
"tool": "moveViewFieldTo",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "08baa78351c8da658c9838489845fdcb34e14778549d3282f0f9ba500f20e9d5",
"stats": {
"tools": 57,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 5,
"medium": 3,
"low": 0,
"info": 1
}
}
}