Magg — the complete, unedited output of the deterministic mcptrustchecker engine v1.9.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.9.0",
"methodologyVersion": "mcptrustchecker-1.9"
},
"target": {
"id": "magg",
"source": {
"kind": "package",
"origin": "magg"
},
"server": {
"name": "magg"
}
},
"grade": "B",
"score": {
"score": 89,
"threatScore": 96,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 3.6,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SUP-005",
"category": "supply-chain",
"severity": "medium",
"confidence": "heuristic",
"rawWeight": 9,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 3.6
},
{
"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.9"
},
"capability": {
"level": "high",
"reasons": [
"can execute shell commands or code"
],
"tags": [
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": false,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"No tools were enumerated, so prompt-injection, capability and toxic-flow analysis had no tool surface to inspect. To grade a package’s real runtime tools, scan the running server: --command \"npx -y <package>\"."
]
},
"findings": [
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (magg/mbro/arepl.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`magg/mbro/arepl.py:123`): 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": "magg/mbro/arepl.py"
},
"evidence": "c\") exec(startup_code, self.console.locals) ps1 = getattr(sys, \"ps1\", \">>> \")",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "magg/mbro/arepl.py",
"line": 123,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-005",
"title": "Near-miss of @21st-dev/magic (edit distance 2)",
"category": "supply-chain",
"severity": "medium",
"confidence": "heuristic",
"description": "\"magg\" is edit-distance 2 from the package \"@21st-dev/magic\". Verify this is the intended package.",
"remediation": "Confirm you meant \"@21st-dev/magic\". Install packages only from their documented, official name.",
"location": {
"kind": "package",
"name": "magg"
},
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"candidate": "magg",
"target": "@21st-dev/magic"
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (test/magg/test_e2e_mounting.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`test/magg/test_e2e_mounting.py:111`): 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": "test/magg/test_e2e_mounting.py"
},
"evidence": ".\") magg_proc = subprocess.Popen( [sys.executable, str(magg_script)], stdout=subprocess.PIPE, stderr",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "test/magg/test_e2e_mounting.py",
"line": 111,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (test/magg/test_e2e_simple.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`test/magg/test_e2e_simple.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": "test/magg/test_e2e_simple.py"
},
"evidence": ".\") magg_proc = subprocess.Popen( [sys.executable, str(magg_script)], stdout=subprocess.PIPE, stderr",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "test/magg/test_e2e_simple.py",
"line": 72,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [],
"surfaceDigest": "631dc18383f15d50b42000a592a59c27092498dbec0146e47cf8d529b03e126d",
"stats": {
"tools": 0,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 1,
"medium": 1,
"low": 2,
"info": 0
}
}
}