Prompts — 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": "@hasna/prompts",
"source": {
"kind": "package",
"origin": "@hasna/prompts"
},
"server": {
"name": "@hasna/prompts"
}
},
"grade": "A",
"score": {
"score": 92,
"threatScore": 99,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 1.2,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SUP-010",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"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": [
"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 (67 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-001",
"title": "Dynamic code execution in server code (dist/server/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/server/index.js:4636`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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/index.js"
},
"evidence": "const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const val",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "dist/server/index.js",
"line": 4636,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/cli/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli/index.js:757`): 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/index.js"
},
"evidence": "ildProcess = __require(\"child_process\"); var path = __require(\"path\"); var fs = __require(\"fs\"); var process2 = __",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli/index.js",
"line": 757,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/cli/index.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/cli/index.js:6809`): 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": "dist/cli/index.js"
},
"evidence": "try { return await import(specifier); } catch (e) { const msg = e instanceof Error ? e.message : String(e);",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/cli/index.js",
"line": 6809,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/index.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/index.js:2224`): 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": "dist/index.js"
},
"evidence": "try { return await import(specifier); } catch (e) { const msg = e instanceof Error ? e.message : String(e);",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/index.js",
"line": 2224,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/mcp/index.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/mcp/index.js:3210`): 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": "dist/mcp/index.js"
},
"evidence": "try { return await import(specifier); } catch (e) { const msg = e instanceof Error ? e.message : String(e);",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/mcp/index.js",
"line": 3210,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (dist/server/index.js)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`dist/server/index.js:9829`): 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": "dist/server/index.js"
},
"evidence": "try { return await import(specifier); } catch (e) { const msg = e instanceof Error ? e.message : String(e);",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "dist/server/index.js",
"line": 9829,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"description": "\"@hasna/prompts\" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
"remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
"location": {
"kind": "package",
"name": "@hasna/prompts"
},
"evidence": "node postinstall.mjs",
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"scripts": [
"postinstall"
]
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "prompts_save",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_get",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_list",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_body",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_delete",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_use",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_render",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_resolve",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_list_templates",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_variables",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_search",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_similar",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_collections",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_move",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_history",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_restore",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_export",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_import",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_export_as_skills",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_import_slash_commands",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_update",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_validate_vars",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_set_label",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_remove_label",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_list_labels",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_add_dependency",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_list_dependencies",
"tags": [],
"reasons": {}
},
{
"tool": "register_agent",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_ensure_collection",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_save_from_session",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_audit",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_unused",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_trending",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_set_expiry",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_duplicate",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_diff",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_chain",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_pin",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_unpin",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_recent",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_lint",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_stale",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_stats",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_storage_diagnostics",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_project_create",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_project_list",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_project_get",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_project_delete",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_schedule",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_list_schedules",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_unschedule",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_get_due",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_next_run",
"tags": [],
"reasons": {}
},
{
"tool": "heartbeat",
"tags": [],
"reasons": {}
},
{
"tool": "set_focus",
"tags": [],
"reasons": {}
},
{
"tool": "list_agents",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_bulk_tag",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_bulk_move",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_config_list",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_config_get",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_config_set",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_config_inject",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_config_scan",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_targets",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_dispatch",
"tags": [],
"reasons": {}
},
{
"tool": "prompts_dispatch_get",
"tags": [],
"reasons": {}
},
{
"tool": "send_feedback",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "85586eed895df3331c096451e9cddd382a0c43868c20fa3284c7e0079c300f5c",
"stats": {
"tools": 67,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 4,
"low": 1,
"info": 0
}
}
}