Mediagraph — the complete, unedited output of the deterministic mcptrustchecker engine v1.7.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.7.0",
"methodologyVersion": "mcptrustchecker-1.7"
},
"target": {
"id": "@mediagraph/mcp",
"source": {
"kind": "package",
"origin": "@mediagraph/mcp"
},
"server": {
"name": "@mediagraph/mcp"
}
},
"grade": "B",
"score": {
"score": 88,
"threatScore": 99,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 1.2,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-INJ-CAPS",
"category": "injection",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"kind": "client",
"term": "capability-exposure",
"level": "critical",
"label": "capability blast radius (critical) — client exposure if the model is manipulated",
"appliedPenalty": 10
},
{
"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.7"
},
"capability": {
"level": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"can create, modify or delete files",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code",
"untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
"untrusted input can reach code execution"
],
"tags": [
"untrusted-input",
"external-sink",
"file-write",
"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 (129 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-FLOW-002",
"title": "Completed toxic-flow trifecta across tools",
"category": "exfiltration",
"severity": "critical",
"confidence": "strong",
"description": "This server (without client built-ins) exposes a complete data-exfiltration chain: bulk_download_assets → create_search_query → add_assets_to_upload. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
"remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
"location": {
"kind": "flow",
"name": "bulk_download_assets → create_search_query → add_assets_to_upload"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"get_asset_download",
"bulk_download_assets",
"create_download",
"get_download",
"search_assets_visual"
],
"sources": [
"upload_file",
"create_search_query",
"update_search_query"
],
"sinks": [
"get_access_request",
"submit_access_request",
"create_comment",
"upload_file",
"upload_files",
"get_webhook",
"create_webhook",
"delete_webhook",
"get_webhook_logs",
"can_upload",
"list_uploads",
"add_assets_to_upload",
"list_contributions"
],
"path": [
"bulk_download_assets",
"create_search_query",
"add_assets_to_upload"
],
"edges": [
{
"from": "bulk_download_assets",
"to": "create_search_query",
"kind": "agent-mediated"
},
{
"from": "create_search_query",
"to": "add_assets_to_upload",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-FLOW-003",
"title": "Read-and-egress in one tool: \"upload_file\"",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "Tool \"upload_file\" can both read sensitive data and send data to an external destination. Even without an explicit untrusted-input leg, this is a single-call data-exfiltration path if the model is ever manipulated.",
"remediation": "Separate reading from sending; require explicit user confirmation before egress of file/secret contents.",
"location": {
"kind": "flow",
"name": "upload_file"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"tags": [
"external-sink",
"sensitive-source"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:13`): 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/index.js"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/index.js",
"line": 13
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"url\" on \"create_webhook\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"create_webhook\" 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": "create_webhook",
"field": "inputSchema.properties.url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "url"
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"include_download_url\" on \"create_webhook\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"create_webhook\" takes a URL/host parameter \"include_download_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": "create_webhook",
"field": "inputSchema.properties.include_download_url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "include_download_url"
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"create_bulk_job\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"create_bulk_job\" can write, overwrite or delete files (keyword \"overwrite\"). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "create_bulk_job"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"create_bulk_job\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"create_bulk_job\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "create_bulk_job"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-INJ-CAPS",
"title": "Excessive ALL-CAPS emphasis in metadata",
"category": "injection",
"severity": "low",
"confidence": "heuristic",
"description": "A run of shouted words is a common way to give injected instructions false authority.",
"location": {
"kind": "tool",
"name": "search_assets",
"field": "description"
},
"evidence": "Search for assets using filters and advanced query operators.\n\nADVANCED SEARCH QUERY SYNTAX (for the 'q' parameter):\n- B"
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_path\" on \"upload_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"upload_file\" takes a path parameter \"file_path\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "upload_file",
"field": "inputSchema.properties.file_path"
},
"data": {
"param": "file_path"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_data\" on \"upload_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"upload_file\" takes a path parameter \"file_data\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "upload_file",
"field": "inputSchema.properties.file_data"
},
"data": {
"param": "file_data"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"filename\" on \"upload_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"upload_file\" takes a path parameter \"filename\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "upload_file",
"field": "inputSchema.properties.filename"
},
"data": {
"param": "filename"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"get_asset_download",
"bulk_download_assets",
"create_download",
"get_download",
"search_assets_visual"
],
"sensitiveSource": [
"upload_file",
"create_search_query",
"update_search_query"
],
"externalSink": [
"get_access_request",
"submit_access_request",
"create_comment",
"upload_file",
"upload_files",
"get_webhook",
"create_webhook",
"delete_webhook",
"get_webhook_logs",
"can_upload",
"list_uploads",
"add_assets_to_upload",
"list_contributions"
],
"selfContained": false,
"path": [
"bulk_download_assets",
"create_search_query",
"add_assets_to_upload"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: bulk_download_assets → create_search_query → add_assets_to_upload."
},
{
"id": "flow-2",
"severity": "high",
"confidence": "strong",
"untrustedInput": [],
"sensitiveSource": [
"upload_file"
],
"externalSink": [
"upload_file"
],
"selfContained": true,
"description": "Tool \"upload_file\" both reads sensitive data and can send it externally."
}
],
"capabilities": [
{
"tool": "whoami",
"tags": [],
"reasons": {}
},
{
"tool": "get_organization",
"tags": [],
"reasons": {}
},
{
"tool": "list_memberships",
"tags": [],
"reasons": {}
},
{
"tool": "get_membership",
"tags": [],
"reasons": {}
},
{
"tool": "update_membership",
"tags": [],
"reasons": {}
},
{
"tool": "reauthorize",
"tags": [],
"reasons": {}
},
{
"tool": "search_assets",
"tags": [],
"reasons": {}
},
{
"tool": "get_asset",
"tags": [],
"reasons": {}
},
{
"tool": "update_asset",
"tags": [],
"reasons": {}
},
{
"tool": "delete_asset",
"tags": [],
"reasons": {}
},
{
"tool": "add_tags_to_asset",
"tags": [],
"reasons": {}
},
{
"tool": "get_asset_download",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "bulk_download_assets",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "get_asset_auto_tags",
"tags": [],
"reasons": {}
},
{
"tool": "get_asset_face_taggings",
"tags": [],
"reasons": {}
},
{
"tool": "get_asset_versions",
"tags": [],
"reasons": {}
},
{
"tool": "revert_asset",
"tags": [],
"reasons": {}
},
{
"tool": "get_asset_counts",
"tags": [],
"reasons": {}
},
{
"tool": "get_trashed_assets",
"tags": [],
"reasons": {}
},
{
"tool": "get_popular_assets",
"tags": [],
"reasons": {}
},
{
"tool": "list_collections",
"tags": [],
"reasons": {}
},
{
"tool": "get_collection",
"tags": [],
"reasons": {}
},
{
"tool": "create_collection",
"tags": [],
"reasons": {}
},
{
"tool": "update_collection",
"tags": [],
"reasons": {}
},
{
"tool": "delete_collection",
"tags": [],
"reasons": {}
},
{
"tool": "add_asset_to_collection",
"tags": [],
"reasons": {}
},
{
"tool": "get_collections_tree",
"tags": [],
"reasons": {}
},
{
"tool": "add_assets_to_group",
"tags": [],
"reasons": {}
},
{
"tool": "list_lightboxes",
"tags": [],
"reasons": {}
},
{
"tool": "get_lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "create_lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "update_lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "delete_lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "add_asset_to_lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "get_lightboxes_tree",
"tags": [],
"reasons": {}
},
{
"tool": "list_storage_folders",
"tags": [],
"reasons": {}
},
{
"tool": "get_storage_folder",
"tags": [],
"reasons": {}
},
{
"tool": "create_storage_folder",
"tags": [],
"reasons": {}
},
{
"tool": "get_storage_folders_tree",
"tags": [],
"reasons": {}
},
{
"tool": "list_tags",
"tags": [],
"reasons": {}
},
{
"tool": "get_tag",
"tags": [],
"reasons": {}
},
{
"tool": "create_tag",
"tags": [],
"reasons": {}
},
{
"tool": "update_tag",
"tags": [],
"reasons": {}
},
{
"tool": "delete_tag",
"tags": [],
"reasons": {}
},
{
"tool": "merge_tags",
"tags": [],
"reasons": {}
},
{
"tool": "get_tagging",
"tags": [],
"reasons": {}
},
{
"tool": "delete_tagging",
"tags": [],
"reasons": {}
},
{
"tool": "list_auto_tags",
"tags": [],
"reasons": {}
},
{
"tool": "get_auto_tag",
"tags": [],
"reasons": {}
},
{
"tool": "bulk_find_auto_tags",
"tags": [],
"reasons": {}
},
{
"tool": "delete_auto_tag",
"tags": [],
"reasons": {}
},
{
"tool": "list_taxonomies",
"tags": [],
"reasons": {}
},
{
"tool": "get_taxonomy",
"tags": [],
"reasons": {}
},
{
"tool": "create_taxonomy",
"tags": [],
"reasons": {}
},
{
"tool": "list_taxonomy_tags",
"tags": [],
"reasons": {}
},
{
"tool": "create_taxonomy_tag",
"tags": [],
"reasons": {}
},
{
"tool": "list_creator_tags",
"tags": [],
"reasons": {}
},
{
"tool": "create_creator_tag",
"tags": [],
"reasons": {}
},
{
"tool": "list_rights_packages",
"tags": [],
"reasons": {}
},
{
"tool": "get_rights_package",
"tags": [],
"reasons": {}
},
{
"tool": "create_rights_package",
"tags": [],
"reasons": {}
},
{
"tool": "list_share_links",
"tags": [],
"reasons": {}
},
{
"tool": "get_share_link",
"tags": [],
"reasons": {}
},
{
"tool": "create_share_link",
"tags": [],
"reasons": {}
},
{
"tool": "delete_share_link",
"tags": [],
"reasons": {}
},
{
"tool": "list_access_requests",
"tags": [],
"reasons": {}
},
{
"tool": "get_access_request",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"request\""
]
}
},
{
"tool": "submit_access_request",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"request\""
]
}
},
{
"tool": "list_bulk_jobs",
"tags": [],
"reasons": {}
},
{
"tool": "get_bulk_job",
"tags": [],
"reasons": {}
},
{
"tool": "create_bulk_job",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"overwrite\""
]
}
},
{
"tool": "cancel_bulk_job",
"tags": [],
"reasons": {}
},
{
"tool": "get_bulk_job_queue_position",
"tags": [],
"reasons": {}
},
{
"tool": "list_meta_imports",
"tags": [],
"reasons": {}
},
{
"tool": "get_meta_import",
"tags": [],
"reasons": {}
},
{
"tool": "list_ingestions",
"tags": [],
"reasons": {}
},
{
"tool": "list_custom_meta_fields",
"tags": [],
"reasons": {}
},
{
"tool": "get_custom_meta_field",
"tags": [],
"reasons": {}
},
{
"tool": "create_custom_meta_field",
"tags": [],
"reasons": {}
},
{
"tool": "list_workflows",
"tags": [],
"reasons": {}
},
{
"tool": "get_workflow",
"tags": [],
"reasons": {}
},
{
"tool": "approve_workflow_step",
"tags": [],
"reasons": {}
},
{
"tool": "list_comments",
"tags": [],
"reasons": {}
},
{
"tool": "create_comment",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_comment\""
]
}
},
{
"tool": "update_comment",
"tags": [],
"reasons": {}
},
{
"tool": "delete_comment",
"tags": [],
"reasons": {}
},
{
"tool": "list_notifications",
"tags": [],
"reasons": {}
},
{
"tool": "get_notification_count",
"tags": [],
"reasons": {}
},
{
"tool": "create_download",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "get_download",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "upload_file",
"tags": [
"external-sink",
"sensitive-source"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
],
"sensitive-source": [
"parameter \"path\""
]
}
},
{
"tool": "upload_files",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
]
}
},
{
"tool": "list_webhooks",
"tags": [],
"reasons": {}
},
{
"tool": "get_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\""
]
}
},
{
"tool": "create_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\"",
"parameter \"url\""
]
}
},
{
"tool": "delete_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\""
]
}
},
{
"tool": "get_webhook_logs",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\""
]
}
},
{
"tool": "list_user_groups",
"tags": [],
"reasons": {}
},
{
"tool": "create_user_group",
"tags": [],
"reasons": {}
},
{
"tool": "list_invites",
"tags": [],
"reasons": {}
},
{
"tool": "create_invite",
"tags": [],
"reasons": {}
},
{
"tool": "update_invite",
"tags": [],
"reasons": {}
},
{
"tool": "resend_invite",
"tags": [],
"reasons": {}
},
{
"tool": "list_filter_groups",
"tags": [],
"reasons": {}
},
{
"tool": "get_filter_group",
"tags": [],
"reasons": {}
},
{
"tool": "create_filter_group",
"tags": [],
"reasons": {}
},
{
"tool": "update_filter_group",
"tags": [],
"reasons": {}
},
{
"tool": "update_filter_group_visibility",
"tags": [],
"reasons": {}
},
{
"tool": "delete_filter_group",
"tags": [],
"reasons": {}
},
{
"tool": "list_search_queries",
"tags": [],
"reasons": {}
},
{
"tool": "get_search_query",
"tags": [],
"reasons": {}
},
{
"tool": "create_search_query",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"parameter \"sql\""
]
}
},
{
"tool": "update_search_query",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"sql_query\""
]
}
},
{
"tool": "delete_search_query",
"tags": [],
"reasons": {}
},
{
"tool": "list_crop_presets",
"tags": [],
"reasons": {}
},
{
"tool": "create_crop_preset",
"tags": [],
"reasons": {}
},
{
"tool": "can_upload",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
]
}
},
{
"tool": "list_uploads",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
]
}
},
{
"tool": "add_assets_to_upload",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
]
}
},
{
"tool": "list_contributions",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload\""
]
}
},
{
"tool": "get_contribution",
"tags": [],
"reasons": {}
},
{
"tool": "list_personal_access_tokens",
"tags": [],
"reasons": {}
},
{
"tool": "create_personal_access_token",
"tags": [],
"reasons": {}
},
{
"tool": "delete_personal_access_token",
"tags": [],
"reasons": {}
},
{
"tool": "search_assets_visual",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"browse\""
]
}
},
{
"tool": "Mediagraph Asset",
"tags": [],
"reasons": {}
},
{
"tool": "Mediagraph Collection",
"tags": [],
"reasons": {}
},
{
"tool": "Mediagraph Lightbox",
"tags": [],
"reasons": {}
},
{
"tool": "Mediagraph Search",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "3743c25beacea3866254bcc31a6c5cc57a0d6bcda3d7125dfb45a0ca19be234d",
"stats": {
"tools": 129,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 2,
"medium": 3,
"low": 5,
"info": 0
}
}
}