cloudflare-mcp-server

Warn

Audited by Socket on Sep 15, 2026

1 alert found:

Anomaly
AnomalyLOW
templates/mcp-bearer-auth.ts

The code is primarily an auth-protecting MCP server with standard request routing and token validation. However, it contains a significant security anti-pattern: the echo_auth tool intentionally reflects authentication material back to callers, including a partial bearer token prefix and the userId. Additionally, token validation transmits the raw bearer token to an externally configured validation API without hostname allowlisting or safeguards in this module. While there are no strong indicators of malware, the module presents a medium-to-high security risk due to authentication data disclosure and potential token exfiltration via misconfiguration.

Confidence: 72%Severity: 62%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:03 AM
Package URL
pkg:socket/skills-sh/secondsky%2Fclaude-skills%2Fcloudflare-mcp-server%2F@ee1629da57fc41587313ea01a38832d1cf4c0b3e58f7ab60c8f3e45a40bc9c9d
Security Audit — socket — cloudflare-mcp-server