Letting users trust their own MCP clients, without opening a phishing hole strea...
HN Best 200 @best
Letting users trust their own MCP clients, without opening a phishing hole streamvessel.com · 21 points · 2 comments · HN thread
TL;DR Stream Vessel, a storage-backed MCP server, explains why it could not simply accept any OAuth redirect URI for self-registered MCP clients (which enables one-click phishing and open redirects) and why it rejected a fixed operator allowlist as the only option. Its fix is a per-user list of up to 10 exact https redirect addresses, decided at the authorize step where the signed-in user is known, with typed-host confirmation, emails on every addition, and revocation on removal.
- Registration accepts any https redirect URI; the trust decision is deferred to the authorize page where the user is known.
- Operator allowlist (Claude, ChatGPT, Cursor, VS Code, etc.) plus loopback stays in place for all accounts; users can add up to 10 exact https addresses for their own account.
- Adding an address requires the user's own browser session, typing the host, and produces an email; removing it revokes grants and in-flight codes.
- The article cites a May 2026 study finding 114 of 119 OAuth-enabled MCP servers accept arbitrary redirect URIs from anonymous registrants, and Square's January 2026 case where one click exposed merchant data.
- Errors, including OAuth validation errors, are only redirected to addresses the user's list trusts; otherwise a page on the server's own host is shown, closing the open-redirect issue.
- The post admits the design does not stop a determined social engineer; a user who types an attacker's host and approves is still phished.
Discussion The thread is very small, with two comments. One dismisses the post as people rediscovering standard OAuth practice. The other notes the article's admission that the design does not stop social engineering and connects it to the risk of AI agents following untrusted instructions, the 'lethal trifecta', and to the view that consumer accounts should not allow arbitrary MCP servers. The mood is skeptical and brief.
- Concern that the design cannot stop social engineering, especially with AI agents (some): One commenter quotes the article's admission that a determined social engineer is not stopped and argues that AI agents following instructions they cannot judge make this the biggest problem, citing the lethal trifecta.
- Consumer accounts should not allow arbitrary MCP servers (some): The same commenter says enterprise customers can justify custom MCP servers behind admin approval, but for consumer accounts a conservative default is to block arbitrary servers.
- The post restates standard OAuth practice (a few): A commenter remarks that people are discovering the OAuth standard for the first time, implying the redirect-URI problems are well known.
#OAuth #MCP #phishing #redirectUri #agentSecurity #webSecurity