Raw scan report

Nostr — 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.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.13.0",
    "methodologyVersion": "mcptrustchecker-1.13"
  },
  "target": {
    "id": "nostr-mcp-server",
    "source": {
      "kind": "package",
      "origin": "nostr-mcp-server"
    },
    "server": {
      "name": "nostr-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.13"
  },
  "capability": {
    "level": "moderate",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service"
    ],
    "tags": [
      "untrusted-input",
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (40 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-003",
      "title": "Hardcoded egress to an external endpoint (build/nips-tools.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`build/nips-tools.js:134`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "build/nips-tools.js"
      },
      "evidence": "const response = await fetch('https://api.github.com/repos/nostr-protocol/nips/contents', { headers }); //",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "build/nips-tools.js",
        "line": 134,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (build/nips/nips-tools.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`build/nips/nips-tools.js:198`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "build/nips/nips-tools.js"
      },
      "evidence": "const response = await fetch('https://api.github.com/repos/nostr-protocol/nips/contents', { headers,",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "build/nips/nips-tools.js",
        "line": 198,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "getProfile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getKind1Notes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getReceivedZaps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getSentZaps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getAllZaps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getLongFormNotes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queryEvents",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getContactList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getFollowing",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getRelayList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setRelayList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "follow",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "unfollow",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reactToEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "repostEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deleteEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "replyToEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "encryptNip04",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "decryptNip04",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sendDmNip04",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getDmConversationNip04",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "encryptNip44",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "decryptNip44",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sendDmNip44",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "decryptDmNip44",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getDmInboxNip44",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "sendAnonymousZap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convertNip19",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyzeNip19",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "postAnonymousNote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createKeypair",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createProfile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "updateProfile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "postNote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createNote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "signNote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "publishNote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createNostrEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "signNostrEvent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "publishNostrEvent",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "d0c13666ab61e63971b18750df8dbd81239e1210f20b80db0eaea69a0a4db4f1",
  "stats": {
    "tools": 40,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 0,
      "medium": 2,
      "low": 0,
      "info": 0
    }
  }
}