跳到正文
原文
Hacker News · 首页· jvonb·· 2026-10-20精选AI 评分42

评论:MCP 工具内存级隐私方案并不能真正防凭证泄漏

In-memory privacy shield to prevent context leaks in MCP tools

AI 导读

有评论指出,MCP 工具的内存级隐私替换方案并不能真正阻止凭证泄漏,因为内容仍存在于系统内存中;更安全的做法是通过运行在智能体所在机器之外的代理服务注入敏感凭证。

推荐理由

作者指出内存替换方案的局限并给出代理注入的替代思路,对设计 MCP 凭证保护有参考价值。

正文 · 原文

The far easier way and actually more secure way is to just inject sensitive credentials through a proxy service that ideally lives outside of the box in which the agent runs.

Because even if you're doing this in-memory replacement, the content still lives in they system's memory. So, it makes it less obvious to leak a credential, but it certainly doesn't prevent it.

来源:Hacker News · 首页 · news.ycombinator.com