Raw scan report

Awslabs Billing Cost Management — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.0, scanned . Every finding, capability tag and score component below is exactly what the engine produced — no AI, no post-processing.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.8.0",
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "target": {
    "id": "awslabs-billing-cost-management-mcp-server",
    "source": {
      "kind": "package",
      "origin": "awslabs-billing-cost-management-mcp-server"
    },
    "server": {
      "name": "awslabs-billing-cost-management-mcp-server"
    }
  },
  "grade": "A",
  "score": {
    "score": 96,
    "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": "moderate",
        "label": "capability blast radius (moderate) — client exposure if the model is manipulated",
        "appliedPenalty": 3
      },
      {
        "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.8"
  },
  "capability": {
    "level": "moderate",
    "reasons": [
      "reads sensitive or local data"
    ],
    "tags": [
      "sensitive-source"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (5 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 (tests/conftest.py)",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`tests/conftest.py:40`): 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": "tests/conftest.py"
      },
      "evidence": "dict(os.environ)",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-006",
        "file": "tests/conftest.py",
        "line": 40
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (tests/tools/test_cost_explorer_operations.py)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`tests/tools/test_cost_explorer_operations.py:542`): 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": "tests/tools/test_cost_explorer_operations.py"
      },
      "evidence": "__import__(\n           ",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "tests/tools/test_cost_explorer_operations.py",
        "line": 542
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "list-custom-line-item-versions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list-pricing-rules-for-plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list-pricing-plans-for-rule",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "free-tier-usage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sp-performance",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "50bdcb3ee865cf9ffad0bb5b18d36214610ab07d792a219a155fafc1e4c26ee0",
  "stats": {
    "tools": 5,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 1,
      "low": 0,
      "info": 0
    }
  }
}