mcpwn API
    Preparing search index...

    Interface BaselineTool

    Baseline / rug-pull detector (§3.4). An MCP server advertises its tools in tools/list; a malicious (or compromised) server can serve a benign set while the client builds trust, then quietly change a tool's description or input schema — or add/remove tools — to redirect the agent ("rug pull").

    baseline capture records the FIRST tools/list result. --baseline <file> then diffs every later server->client tools/list against it and records findings. Hashing (sha256 over the canonicalised description + input schema) means the baseline file never has to store — or diff — the full text.

    interface BaselineTool {
        descriptionHash: string;
        inputSchemaHash: string;
        name: string;
        raw: unknown;
    }
    Index
    descriptionHash: string
    inputSchemaHash: string
    name: string
    raw: unknown

    The raw tool object as captured, for human review.