Skip to content

False positive: predictfun-mcp flagged as suspicious #790

@PaulieB14

Description

@PaulieB14

Skill

What the skill does

This is an MCP server that gives AI agents structured access to Predict.fun prediction market data on BNB Chain. It exposes 14 tools for platform stats, market analysis, trader profiling, yield mechanics, and behavioral meta-tools, all powered by 3 subgraphs on The Graph.

Expected flags and why they are false positives

  1. "Environment variable access combined with network send" — The server reads process.env.GRAPH_API_KEY (required, for The Graph Gateway queries) and process.env.MCP_HTTP_PORT (optional, for SSE transport). Both are standard patterns: the API key is needed to query The Graph, and the port config is standard MCP dual transport. Both are now explicitly documented in SKILL.md.

  2. npx launch mechanism — Standard for npm-published MCP servers.

  3. Network requests to gateway.thegraph.com — All tool calls make GraphQL requests to The Graph Gateway using the user's own API key. Subgraph IDs are hardcoded in the server. This is the core functionality and is documented in SKILL.md.

  4. GRAPH_API_KEY env var — Required and now explicitly declared in SKILL.md under "Requirements." This is the user's own Graph API key (free at thegraph.com/studio). The server does not store, forward, or exfiltrate this key — it is only used as a bearer token in Graph Gateway requests.

  5. HTTP/SSE transport on local port — Opt-in via --http or --http-only. Default port 3850, configurable via MCP_HTTP_PORT.

Why this is a false positive

  • Reading an API key from env and sending it to the intended API is the normal operation of any API client
  • No secrets are collected, stored, or forwarded to unrelated services
  • SSE transport is opt-in and uses the standard MCP SDK
  • All behavior is documented in SKILL.md under "Requirements" and "Network & Data Behavior"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions