Back to Browse

Oauth Security Auditor MCP Server

SecurityModerate7.2MCP RegistryRemote
Free

Server data from the Official MCP Registry

Audit remote MCP Streamable HTTP servers for OAuth 2.1, CORS, token bloat, and tool poisoning.

About

Audit remote MCP Streamable HTTP servers for OAuth 2.1, CORS, token bloat, and tool poisoning.

Remote endpoints: streamable-http: https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp

Security Report

7.2
Moderate7.2Low Risk

This is a well-structured MCP security auditing server that probes remote MCP endpoints for OAuth 2.1 compliance, CORS posture, and tool-poisoning patterns, and its permissions match its stated purpose. The main concerns are minor: the server makes outbound requests to user-supplied URLs (SSRF guards exist but DNS rebinding between check and fetch is not fully mitigated), it accepts optional bearer tokens for probing, and a few code quality issues such as broad exception swallowing and the default audit origin being a fixed placeholder. No malicious patterns, hardcoded secrets, or shell execution were found. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity).

8 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

database

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-caliberfoundry-mcp-oauth-security-auditor": {
      "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • Authorization (required): Apify API token prefixed with Bearer (e.g. Bearer apify_api_...)

Documentation

View on GitHub

From the project's GitHub README.

MCP Endpoint & OAuth 2.1 Security Auditor

Audit any remote Model Context Protocol (MCP) server (Streamable HTTP) for OAuth 2.1 compliance (RFC 9728, RFC 8414, PKCE S256), CORS / DNS-rebinding security, schema token bloat, and tool-poisoning prompt injection risks in seconds.

Built by Caliber Foundry (https://caliberfoundry.com/). Works both as a scheduled Apify Batch Actor and as a real-time Apify Server Actor (/mcp) via https://mcp.apify.com.

What This Actor Checks

  1. OAuth 2.1 & Discovery Compliance:
    • Unauthenticated POST /mcp challenge (401 Unauthorized + WWW-Authenticate: Bearer resource_metadata="...").
    • RFC 9728 Protected Resource Metadata (/.well-known/oauth-protected-resource) validation.
    • RFC 8414 / OIDC Authorization Server discovery (authorization_endpoint, token_endpoint, registration_endpoint).
    • Mandatory PKCE S256 check (code_challenge_methods_supported) and deprecated implicit grant (response_type="token") detection.
  2. Transport & DNS-Rebinding Security:
    • Enforces HTTPS posture in production and blocks SSRF targets (127.0.0.0/8, 10.0.0.0/8, 169.254.169.254).
    • Probes CORS with an untrusted Origin header to flag wildcard * or reflected origin vulnerabilities.
  3. Tool Surface, Token Bloat & Tool-Poisoning Scan:
    • Connects via Streamable HTTP (initialize + tools/list) when unauthenticated or when an optional Bearer token is supplied.
    • Estimates total schema token footprint (flagging > 8,000 / > 20,000 context bloat).
    • Scans tool names, descriptions, and JSON schemas for invisible Unicode / BiDi steganography, <IMPORTANT> / "ignore previous instructions" prompt injections, credential path harvesting (.ssh, .aws, .env), and missing readOnlyHint / destructiveHint annotations.

Example Input JSON

{
  "targetUrls": [
    "https://mcp.apify.com"
  ],
  "probeTools": true,
  "timeoutMs": 10000
}

Example Output JSON

{
  "targetUrl": "https://mcp.apify.com",
  "auditedAt": "2026-11-28T14:30:00.000Z",
  "score": 96,
  "grade": "A",
  "authMode": "oauth21_compliant",
  "oauth21": {
    "challengeStatus": 401,
    "wwwAuthenticatePresent": true,
    "rfc9728Found": true,
    "rfc8414Found": true,
    "pkceS256Supported": true,
    "dynamicClientRegistrationSupported": true
  },
  "transport": {
    "httpsEndpoint": true,
    "acceptsStreamableHttp": true,
    "allowsUntrustedOrigin": false
  },
  "toolsAudit": {
    "inspected": false,
    "toolCount": 0,
    "estimatedSchemaTokens": 0,
    "poisoningFindingCount": 0
  },
  "findings": [],
  "recommendedFixes": []
}

Connect via Apify MCP (mcp.apify.com)

{
  "mcpServers": {
    "mcp-security-auditor": {
      "url": "https://mcp.apify.com/?tools=caliberfoundry/mcp-oauth-security-auditor"
    }
  }
}

Pricing (Pay-Per-Event)

  • mcp-endpoint-audited: $0.03 per audited MCP endpoint (zero Actor start fee; free preview runs are capped cleanly by your maxTotalChargeUsd).

FAQ

  • Are Bearer tokens stored or logged? No. Optional bearerToken inputs are flagged isSecret: true in .actor/input_schema.json and used strictly in memory for the single tools/list probe.
  • Does this work against private localhost endpoints? No; production SSRF guards block private/loopback/metadata IP ranges (127.0.0.1, 169.254.169.254, RFC 1918).

Reviews

No reviews yet

Be the first to review this server!