Gitea — 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": "@amonstack/gitea-mcp",
"source": {
"kind": "package",
"origin": "@amonstack/gitea-mcp"
},
"server": {
"name": "@amonstack/gitea-mcp"
}
},
"grade": "A",
"score": {
"score": 93,
"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": "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": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code"
],
"tags": [
"untrusted-input",
"external-sink",
"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 (74 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-006",
"title": "Reads a sensitive credential path or dumps the environment (dist/server.js)",
"category": "exfiltration",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/server.js:64`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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.js"
},
"evidence": "rue; if (/(^|[-_.])(id_rsa|id_ed25519|id_ecdsa|identity|authorized_keys|known_hosts)$/.test(base)) return tr",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-006",
"file": "dist/server.js",
"line": 64,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/git-config.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/git-config.js: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": "dist/git-config.js"
},
"evidence": "{ execFile } from \"node:child_process\"; import { orderSchemesForCredentialStore, } from \"./credentials.js\"; /** Gitea di",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/git-config.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([get_issue, list_issue_attachments, get_issue_attachment, get_milestone, get_pull_request, get_action_run, get_release, get_release_by_tag, get_wiki_page, get_project]) co-exist with external-action tools ([create_issue, create_comment, create_issue_attachment, create_issue_comment_attachment, create_pull_request]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
"remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
"location": {
"kind": "flow",
"name": "get_issue → create_issue"
},
"evidence": "untrusted [get_issue, list_issue_attachments, get_issue_attachment, get_milestone, get_pull_request, get_action_run, get_release, get_release_by_tag, get_wiki_p",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"get_issue",
"list_issue_attachments",
"get_issue_attachment",
"get_milestone",
"get_pull_request",
"get_action_run",
"get_release",
"get_release_by_tag",
"get_wiki_page",
"get_project"
],
"sinks": [
"create_issue",
"create_comment",
"create_issue_attachment",
"create_issue_comment_attachment",
"create_pull_request"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"get_issue",
"list_issue_attachments",
"get_issue_attachment",
"get_milestone",
"get_pull_request",
"get_action_run",
"get_release",
"get_release_by_tag",
"get_wiki_page",
"get_project"
],
"sensitiveSource": [],
"externalSink": [
"create_issue",
"create_comment",
"create_issue_attachment",
"create_issue_comment_attachment",
"create_pull_request"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "list_issues",
"tags": [],
"reasons": {}
},
{
"tool": "get_issue",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "create_issue",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_issue\""
]
}
},
{
"tool": "update_issue",
"tags": [],
"reasons": {}
},
{
"tool": "delete_issue",
"tags": [],
"reasons": {}
},
{
"tool": "search_issues",
"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": "create_issue_attachment",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_issue\""
]
}
},
{
"tool": "list_issue_attachments",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "get_issue_attachment",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "edit_issue_attachment",
"tags": [],
"reasons": {}
},
{
"tool": "delete_issue_attachment",
"tags": [],
"reasons": {}
},
{
"tool": "create_issue_comment_attachment",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_issue\""
]
}
},
{
"tool": "list_labels",
"tags": [],
"reasons": {}
},
{
"tool": "create_label",
"tags": [],
"reasons": {}
},
{
"tool": "update_label",
"tags": [],
"reasons": {}
},
{
"tool": "delete_label",
"tags": [],
"reasons": {}
},
{
"tool": "add_issue_labels",
"tags": [],
"reasons": {}
},
{
"tool": "remove_issue_label",
"tags": [],
"reasons": {}
},
{
"tool": "replace_issue_labels",
"tags": [],
"reasons": {}
},
{
"tool": "clear_issue_labels",
"tags": [],
"reasons": {}
},
{
"tool": "list_issue_dependencies",
"tags": [],
"reasons": {}
},
{
"tool": "add_issue_dependency",
"tags": [],
"reasons": {}
},
{
"tool": "remove_issue_dependency",
"tags": [],
"reasons": {}
},
{
"tool": "list_issue_blocks",
"tags": [],
"reasons": {}
},
{
"tool": "add_issue_block",
"tags": [],
"reasons": {}
},
{
"tool": "remove_issue_block",
"tags": [],
"reasons": {}
},
{
"tool": "check_issue_blocked",
"tags": [],
"reasons": {}
},
{
"tool": "list_milestones",
"tags": [],
"reasons": {}
},
{
"tool": "get_milestone",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "create_milestone",
"tags": [],
"reasons": {}
},
{
"tool": "update_milestone",
"tags": [],
"reasons": {}
},
{
"tool": "delete_milestone",
"tags": [],
"reasons": {}
},
{
"tool": "list_topics",
"tags": [],
"reasons": {}
},
{
"tool": "replace_topics",
"tags": [],
"reasons": {}
},
{
"tool": "add_topic",
"tags": [],
"reasons": {}
},
{
"tool": "remove_topic",
"tags": [],
"reasons": {}
},
{
"tool": "list_pull_requests",
"tags": [],
"reasons": {}
},
{
"tool": "get_pull_request",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "create_pull_request",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_pull_request\""
]
}
},
{
"tool": "update_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "merge_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "is_pull_merged",
"tags": [],
"reasons": {}
},
{
"tool": "list_pull_commits",
"tags": [],
"reasons": {}
},
{
"tool": "list_pull_files",
"tags": [],
"reasons": {}
},
{
"tool": "list_action_runs",
"tags": [],
"reasons": {}
},
{
"tool": "get_action_run",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "cancel_action_run",
"tags": [],
"reasons": {}
},
{
"tool": "rerun_action_run",
"tags": [],
"reasons": {}
},
{
"tool": "rerun_action_run_failed_jobs",
"tags": [],
"reasons": {}
},
{
"tool": "list_releases",
"tags": [],
"reasons": {}
},
{
"tool": "get_release",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "get_release_by_tag",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "create_release",
"tags": [],
"reasons": {}
},
{
"tool": "update_release",
"tags": [],
"reasons": {}
},
{
"tool": "delete_release",
"tags": [],
"reasons": {}
},
{
"tool": "update_repo",
"tags": [],
"reasons": {}
},
{
"tool": "list_wiki_pages",
"tags": [],
"reasons": {}
},
{
"tool": "get_wiki_page",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "create_wiki_page",
"tags": [],
"reasons": {}
},
{
"tool": "update_wiki_page",
"tags": [],
"reasons": {}
},
{
"tool": "delete_wiki_page",
"tags": [],
"reasons": {}
},
{
"tool": "list_wiki_revisions",
"tags": [],
"reasons": {}
},
{
"tool": "list_projects",
"tags": [],
"reasons": {}
},
{
"tool": "get_project",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "resolve_repo",
"tags": [],
"reasons": {}
},
{
"tool": "list_my_repos",
"tags": [],
"reasons": {}
},
{
"tool": "configure_gitlab",
"tags": [],
"reasons": {}
},
{
"tool": "gitlab_status",
"tags": [],
"reasons": {}
},
{
"tool": "configure_gitea",
"tags": [],
"reasons": {}
},
{
"tool": "gitea_status",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "f19f2c8c0c26a25b123c2aac7cc171ab63e8869709326385fb6f86dd16b05a8d",
"stats": {
"tools": 74,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 1,
"low": 0,
"info": 0
}
}
}