Kg Cli — 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": "@aaronsb/kg-cli",
"source": {
"kind": "package",
"origin": "@aaronsb/kg-cli"
},
"server": {
"name": "@aaronsb/kg-cli"
}
},
"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": [
"ingests untrusted external content (a prompt-injection entry point)",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"sensitive-source",
"untrusted-input",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (25 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-006",
"title": "Reads a sensitive credential path or dumps the environment (dist/lib/mcp-allowlist.js)",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/lib/mcp-allowlist.js:108`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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/lib/mcp-allowlist.js"
},
"evidence": "m', '**/id_rsa', '**/id_rsa.pub', '**/id_ed25519', '**/i",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-006",
"file": "dist/lib/mcp-allowlist.js",
"line": 108,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/cli/verb-router.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli/verb-router.js:114`): 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/cli/verb-router.js"
},
"evidence": "st { spawn } = require('child_process'); const { resolve } = require('path'); // Build full command: kg <path> <",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/verb-router.js",
"line": 114,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/lib/terminal-images.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/lib/terminal-images.js:52`): 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/lib/terminal-images.js"
},
"evidence": "tallInstructions; const child_process_1 = require(\"child_process\"); const fs = __importStar(require(\"fs\")); const path =",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/lib/terminal-images.js",
"line": 52,
"nonRuntime": false
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "search",
"tags": [],
"reasons": {}
},
{
"tool": "concept",
"tags": [],
"reasons": {}
},
{
"tool": "ontology",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "job",
"tags": [],
"reasons": {}
},
{
"tool": "ingest",
"tags": [],
"reasons": {}
},
{
"tool": "source",
"tags": [],
"reasons": {}
},
{
"tool": "epistemic_status",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_polarity_axis",
"tags": [],
"reasons": {}
},
{
"tool": "artifact",
"tags": [],
"reasons": {}
},
{
"tool": "document",
"tags": [],
"reasons": {}
},
{
"tool": "graph",
"tags": [],
"reasons": {}
},
{
"tool": "program",
"tags": [],
"reasons": {}
},
{
"tool": "session_context",
"tags": [],
"reasons": {}
},
{
"tool": "session_ingest",
"tags": [],
"reasons": {}
},
{
"tool": "epoch",
"tags": [],
"reasons": {}
},
{
"tool": "catalog",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"browse\""
]
}
},
{
"tool": "Database Statistics",
"tags": [],
"reasons": {}
},
{
"tool": "Database Information",
"tags": [],
"reasons": {}
},
{
"tool": "Database Health",
"tags": [],
"reasons": {}
},
{
"tool": "System Status",
"tags": [],
"reasons": {}
},
{
"tool": "Worker Status",
"tags": [],
"reasons": {}
},
{
"tool": "API Health",
"tags": [],
"reasons": {}
},
{
"tool": "MCP File Access Allowlist",
"tags": [],
"reasons": {}
},
{
"tool": "GraphProgram Language Reference",
"tags": [],
"reasons": {}
},
{
"tool": "explore-graph",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "8a081083c8c9ec2f6dfc4ef5acbbad01f90b43eaf0ddc5df4bf693bb17e2dffb",
"stats": {
"tools": 25,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 3,
"medium": 0,
"low": 0,
"info": 0
}
}
}