Your AI agent reads your Jira, Slack and inbox. Some of that text is talking to it, not you.
说明与用途
mcp-warden 清理来自外部来源的输入数据,删除隐藏指令并将可疑字段放入隔离区,从而实现安全使用 AI 代理。
问题
AI agents can ingest untrusted external text that contains hidden or explicit instructions aimed at the agent, potentially leading to malicious actions.
结果
mcp-warden effectively removes hidden instructions and quarantines suspicious fields, allowing developers to safely use AI agents with external data sources.
工作流
- Install mcp-warden via brew or script
- Run
mcp-warden installto register hooks in supported agents - Configure trusted/untrusted servers in ~/.mcp-warden/config.toml
- Optionally wrap servers with proxy using JSON config
- Agent reads sanitized output; withheld fields trigger a notice with quarantine ID
- User reviews withheld content with
mcp-warden show ID - User releases content with
mcp-warden release IDor approves sensitive calls withmcp-warden approve TOKEN
证据
mcp-warden is one Rust binary. No service, no account, no network calls of its own. It works with Claude Code, Codex and Cursor on Linux, macOS and Windows.
It strips content a person would not see, withholds and quarantines fields that look like injection (the agent gets a notice instead of the payload)
The hook denies it, because an injected instruction could tell it to.
- 记录日期: 2026-10-12T14:41:18.095Z