Authentication Asymmetry and Placeholder Paywalls in Cloud-Deployed MCP Servers
Publicly deployed MCP (Model Context Protocol) servers whose authors believe they authenticate callers fail in four mechanical, reusable ways, confirmed at runtime in three cloud-hosted services in November 2026: (P-A1) asymmetric gates - the REST layer applies auth middleware while the MCP endpoint of the same process is exposed bare; (P-A2) conditionally-enabled authentication - OAuth or paywall code is wrapped in an if-env guard whose default is empty, yielding fail-open deployments; (P-A3) placeholder verification - a check that accepts any header as proof of payment, plus a hardcoded recipient wallet; and (P-A4) misleading security claims - startup banners assert 'tokens from request headers' while no such check exists in the codebase. The most severe consequence is unauthenticated read/write of a deployer's cloud-account credentials (Vercel, Render, Railway environment variables) plus arbitrary redeploy/rollback of production services. We contribute the four detection rules, a loopback-only runtime verification recipe needing no cloud credentials, and fail-closed counter-examples observed in the same corpus.
Authors
- Shiqiang Chen
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.5281/zenodo.24460520
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- article
- Field-Weighted Citation Impact
- 0.00