Palinode — 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": "palinode",
"source": {
"kind": "package",
"origin": "palinode"
},
"server": {
"name": "palinode"
}
},
"grade": "A",
"score": {
"score": 93,
"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": "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.13"
},
"capability": {
"level": "high",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can execute shell commands or code"
],
"tags": [
"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 (32 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 (palinode/api/routers/health.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/api/routers/health.py:72`): 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": "palinode/api/routers/health.py"
},
"evidence": "try: unpushed = subprocess.run( [\"git\", \"rev-list\", \"--count\", \"origin/main..HEAD\"], cwd",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/api/routers/health.py",
"line": 72,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/cli/__init__.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/cli/__init__.py:215`): 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": "palinode/cli/__init__.py"
},
"evidence": "try: subprocess.run([\"sudo\", \"systemctl\", \"stop\", svc], check=True) console.print(f\"[gree",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/cli/__init__.py",
"line": 215,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/cli/mcp_smoke.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/cli/mcp_smoke.py: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": "palinode/cli/mcp_smoke.py"
},
"evidence": "top\" proc = subprocess.run( # nosec B603,B607 - argv form, no shell [\"pgrep\", \"-f\", pattern",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/cli/mcp_smoke.py",
"line": 114,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/cli/worktree.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/cli/worktree.py:36`): 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": "palinode/cli/worktree.py"
},
"evidence": "etedProcess: return subprocess.run( # nosec B603,B607 - argv form, no shell [\"git\", *args], cwd=cwd",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/cli/worktree.py",
"line": 36,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/core/git_tools.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/core/git_tools.py:62`): 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": "palinode/core/git_tools.py"
},
"evidence": "deliberately — never ``shell=True``, never string-interpolated commands — so user-supplied inputs (file paths, comm",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/core/git_tools.py",
"line": 62,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/diagnostics/checks/git_identity.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/diagnostics/checks/git_identity.py: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": "palinode/diagnostics/checks/git_identity.py"
},
"evidence": "etedProcess: return subprocess.run( [\"git\", \"-C\", cwd, *args], capture_output=True, text=Tru",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/diagnostics/checks/git_identity.py",
"line": 29,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/diagnostics/checks/git_remote.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/diagnostics/checks/git_remote.py: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": "palinode/diagnostics/checks/git_remote.py"
},
"evidence": "etedProcess: return subprocess.run( [\"git\", \"-C\", cwd, *args], capture_output=True, text=Tru",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/diagnostics/checks/git_remote.py",
"line": 29,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/diagnostics/checks/watcher.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/diagnostics/checks/watcher.py: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": "palinode/diagnostics/checks/watcher.py"
},
"evidence": "try: result = subprocess.run( [\"ps\", \"-ef\"], capture_output=True, text=Tru",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/diagnostics/checks/watcher.py",
"line": 52,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (palinode/ingest/pipeline.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`palinode/ingest/pipeline.py:128`): 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": "palinode/ingest/pipeline.py"
},
"evidence": "r: result = subprocess.run( [\"pdftotext\", filepath, \"-\"], capture_output=Tru",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "palinode/ingest/pipeline.py",
"line": 128,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"url\" on \"palinode_ingest\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"palinode_ingest\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
"remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
"location": {
"kind": "tool",
"name": "palinode_ingest",
"field": "inputSchema.properties.url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "url"
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/test_api_bearer_auth.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_api_bearer_auth.py:56`): 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": "tests/test_api_bearer_auth.py"
},
"evidence": "pop(k, None) return subprocess.run( [sys.executable, \"-c\", \"from palinode.api.server import app # noqa: F40",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/test_api_bearer_auth.py",
"line": 56,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal in packaging/dev tooling (tests/test_bench_perf.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_bench_perf.py:86`): 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": "tests/test_bench_perf.py"
},
"evidence": "s_deferred( __import__( \"palinode.core.ollama_client\", fromlist=[\"get_ollama_client\"]",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "tests/test_bench_perf.py",
"line": 86,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "palinode_session_init",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_list",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_read",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_search",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_save",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_ingest",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "palinode_status",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_history",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_entities",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_consolidate",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_archive_expired",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_archive",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_restore",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_unretract",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_forget_withdraw",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_diff",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_blame",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_trace",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_rollback",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_push",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_trigger",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_session_end",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_lint",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_review",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_dedup_suggest",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_orphan_repair",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_cluster_neighbors",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_topic_coverage",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_doctor",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_doctor_deep",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_prompt",
"tags": [],
"reasons": {}
},
{
"tool": "palinode_depends",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "4750958e57b86740124447216de836e7b966e05bd9148998f7934b3490b1ea34",
"stats": {
"tools": 32,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 9,
"medium": 1,
"low": 2,
"info": 0
}
}
}