Evidence · DiggingBeagle record
Electerm commit 572551d: mandatory MCP authentication and origin validation
The patch generates a nonempty key, authenticates requests, rejects Origin headers and applies a bind-address Host allowlist, with a distinct wildcard-bind exception.
- Source role
- patch commit artifact
Evidence record
Claim-level citations (1)
- supportsElecterm’s local MCP server trusted CORS omission without origin validation: Commit 572551df2be4bdd7964fa0f9102b42f49bc8de7b generates a key when absent and authenticates every request before JSON parsing. It rejects Origin headers; the Host allowlist is disabled for wildcard binds, leaving authentication as the principal boundary there.
src/app/widgets/widget-mcp-server.js: constructor, buildAllowedHosts, checkHost and authentication middleware