Primer — 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": "@primer/mcp",
"source": {
"kind": "package",
"origin": "@primer/mcp"
},
"server": {
"name": "@primer/mcp"
}
},
"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": [
"untrusted-input",
"sensitive-source",
"code-exec"
]
},
"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-SRC-002",
"title": "Shell/command execution in server code (dist/server-CnGefk-j.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/server-CnGefk-j.js:9`): 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/server-CnGefk-j.js"
},
"evidence": "import { spawn } from \"child_process\"; import baseMotion from \"@primer/primitives/dist/docs/base/motion/motion.json\" wi",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/server-CnGefk-j.js",
"line": 9,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/primitives.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/primitives.ts:3`): 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/primitives.ts"
},
"evidence": "e' import {spawn} from 'child_process' import baseMotion from '@primer/primitives/dist/docs/base/motion/motion.json' wit",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/primitives.ts",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"@primer/mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "@primer/mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "init",
"tags": [],
"reasons": {}
},
{
"tool": "list_components",
"tags": [],
"reasons": {}
},
{
"tool": "get_component",
"tags": [],
"reasons": {}
},
{
"tool": "get_component_batch",
"tags": [],
"reasons": {}
},
{
"tool": "get_component_examples",
"tags": [],
"reasons": {}
},
{
"tool": "get_component_usage_guidelines",
"tags": [],
"reasons": {}
},
{
"tool": "get_component_accessibility_guidelines",
"tags": [],
"reasons": {}
},
{
"tool": "list_patterns",
"tags": [],
"reasons": {}
},
{
"tool": "get_pattern",
"tags": [],
"reasons": {}
},
{
"tool": "find_tokens",
"tags": [],
"reasons": {}
},
{
"tool": "get_token_group_bundle",
"tags": [
"untrusted-input",
"sensitive-source"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
],
"sensitive-source": [
"keyword \"get_token\""
]
}
},
{
"tool": "get_design_token_specs",
"tags": [],
"reasons": {}
},
{
"tool": "get_token_usage_patterns",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"get_token\""
]
}
},
{
"tool": "lint_css",
"tags": [],
"reasons": {}
},
{
"tool": "get_color_usage",
"tags": [],
"reasons": {}
},
{
"tool": "get_typography_usage",
"tags": [],
"reasons": {}
},
{
"tool": "list_icons",
"tags": [],
"reasons": {}
},
{
"tool": "get_icon",
"tags": [],
"reasons": {}
},
{
"tool": "primer_coding_guidelines",
"tags": [],
"reasons": {}
},
{
"tool": "review_alt_text",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "bf66c2971ade972cc18e4f2bb22e314afae043c8eb93bf8e6f8a90ffde25df47",
"stats": {
"tools": 20,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 0,
"low": 0,
"info": 1
}
}
}