Facturahub — 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": "facturahub",
"source": {
"kind": "package",
"origin": "facturahub"
},
"server": {
"name": "facturahub"
}
},
"grade": "B",
"score": {
"score": 83,
"threatScore": 94,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 6.3,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"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.13"
},
"capability": {
"level": "critical",
"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",
"untrusted input can reach code execution"
],
"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 (76 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/cli.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli.js:266`): 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.js"
},
"evidence": "> __importStar(require('child_process'))); try { execSync('npm install -g facturahub@latest', { stdi",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/cli.js",
"line": 266,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (dist/cli.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/cli.js:291`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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.js"
},
"evidence": "' : 'xdg-open'; exec(`${openCmd} ${url}`); console.log(` ${bold('After signing up:')}`); consol",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "dist/cli.js",
"line": 291,
"nonRuntime": false
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "create_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "duplicate_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "send_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "list_invoices",
"tags": [],
"reasons": {}
},
{
"tool": "get_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "mark_paid",
"tags": [],
"reasons": {}
},
{
"tool": "create_client",
"tags": [],
"reasons": {}
},
{
"tool": "list_clients",
"tags": [],
"reasons": {}
},
{
"tool": "get_client",
"tags": [],
"reasons": {}
},
{
"tool": "update_client",
"tags": [],
"reasons": {}
},
{
"tool": "delete_client",
"tags": [],
"reasons": {}
},
{
"tool": "get_context",
"tags": [],
"reasons": {}
},
{
"tool": "send_reminder",
"tags": [],
"reasons": {}
},
{
"tool": "download_pdf",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "update_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "delete_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "register_expense",
"tags": [],
"reasons": {}
},
{
"tool": "get_profit_loss",
"tags": [],
"reasons": {}
},
{
"tool": "get_tax_summary",
"tags": [],
"reasons": {}
},
{
"tool": "get_cashflow",
"tags": [],
"reasons": {}
},
{
"tool": "list_expenses",
"tags": [],
"reasons": {}
},
{
"tool": "get_expense",
"tags": [],
"reasons": {}
},
{
"tool": "update_expense",
"tags": [],
"reasons": {}
},
{
"tool": "delete_expense",
"tags": [],
"reasons": {}
},
{
"tool": "get_vat_balance",
"tags": [],
"reasons": {}
},
{
"tool": "get_income_summary",
"tags": [],
"reasons": {}
},
{
"tool": "get_profile",
"tags": [],
"reasons": {}
},
{
"tool": "update_profile",
"tags": [],
"reasons": {}
},
{
"tool": "validate_invoice_panama",
"tags": [],
"reasons": {}
},
{
"tool": "submit_to_dgi",
"tags": [],
"reasons": {}
},
{
"tool": "create_task",
"tags": [],
"reasons": {}
},
{
"tool": "list_tasks",
"tags": [],
"reasons": {}
},
{
"tool": "get_my_tasks",
"tags": [],
"reasons": {}
},
{
"tool": "get_task_overview",
"tags": [],
"reasons": {}
},
{
"tool": "move_task",
"tags": [],
"reasons": {}
},
{
"tool": "assign_task",
"tags": [],
"reasons": {}
},
{
"tool": "update_task",
"tags": [],
"reasons": {}
},
{
"tool": "complete_task",
"tags": [],
"reasons": {}
},
{
"tool": "delete_task",
"tags": [],
"reasons": {}
},
{
"tool": "get_business_context",
"tags": [],
"reasons": {}
},
{
"tool": "save_business_context",
"tags": [],
"reasons": {}
},
{
"tool": "remove_business_context",
"tags": [],
"reasons": {}
},
{
"tool": "save_business_summary",
"tags": [],
"reasons": {}
},
{
"tool": "generate_tax_declaration",
"tags": [],
"reasons": {}
},
{
"tool": "list_tax_declarations",
"tags": [],
"reasons": {}
},
{
"tool": "get_tax_declaration",
"tags": [],
"reasons": {}
},
{
"tool": "update_tax_declaration",
"tags": [],
"reasons": {}
},
{
"tool": "submit_tax_declaration",
"tags": [],
"reasons": {}
},
{
"tool": "list_catalog_items",
"tags": [],
"reasons": {}
},
{
"tool": "create_catalog_item",
"tags": [],
"reasons": {}
},
{
"tool": "update_catalog_item",
"tags": [],
"reasons": {}
},
{
"tool": "adjust_stock",
"tags": [],
"reasons": {}
},
{
"tool": "list_vendors",
"tags": [],
"reasons": {}
},
{
"tool": "create_vendor",
"tags": [],
"reasons": {}
},
{
"tool": "get_open_register",
"tags": [],
"reasons": {}
},
{
"tool": "add_movement",
"tags": [],
"reasons": {}
},
{
"tool": "list_supplier_invoices",
"tags": [],
"reasons": {}
},
{
"tool": "create_supplier_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "get_supplier_invoice",
"tags": [],
"reasons": {}
},
{
"tool": "record_supplier_payment",
"tags": [],
"reasons": {}
},
{
"tool": "list_teams",
"tags": [],
"reasons": {}
},
{
"tool": "list_team_members",
"tags": [],
"reasons": {}
},
{
"tool": "invite_team_member",
"tags": [],
"reasons": {}
},
{
"tool": "remove_team_member",
"tags": [],
"reasons": {}
},
{
"tool": "change_member_role",
"tags": [],
"reasons": {}
},
{
"tool": "get_dashboard_summary",
"tags": [],
"reasons": {}
},
{
"tool": "get_activity_log",
"tags": [],
"reasons": {}
},
{
"tool": "get_aging_report",
"tags": [],
"reasons": {}
},
{
"tool": "get_revenue_by_client",
"tags": [],
"reasons": {}
},
{
"tool": "export_data",
"tags": [
"untrusted-input",
"sensitive-source"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
],
"sensitive-source": [
"keyword \"export_data\""
]
}
},
{
"tool": "get_billing_info",
"tags": [],
"reasons": {}
},
{
"tool": "upgrade_plan",
"tags": [],
"reasons": {}
},
{
"tool": "update_vendor",
"tags": [],
"reasons": {}
},
{
"tool": "delete_vendor",
"tags": [],
"reasons": {}
},
{
"tool": "open_register",
"tags": [],
"reasons": {}
},
{
"tool": "close_register",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "6b54f56087cb648d81ae2069546bcc1e01e0826ea94a1b23b742180d76a42d4d",
"stats": {
"tools": 76,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 1,
"medium": 1,
"low": 0,
"info": 0
}
}
}