不要信任任何东西。安全发货。——人工智能代理的怀疑读取和提示注射防御技能。来源标记、红旗模式、拒绝模板和只读注入审计器。麻省理工学院。
概览
BridgeMind的Claude Code插件,可防止你的AI代理被提示注入。对任何阅读面向公众或不可信内容的代理进行怀疑阅读纪律。 那些读取网页、邮件、GitHub问题、MCP工具输出、搜索结果、抓取的HTML、第三方仓库或其他任何不受信任输入的AI代理。 - (M365 Copilot,CVE-2025-32711)— 零点击邮件注入,完整租户过滤 - — 从公共消息跨渠道过滤到私有通道内容 - (Invariant Labs)— 安装后工具描述无声交换 - (CVE-2025-54135)— 提示注入升级为 RCE - (CVE-2025-53773, CVSS 9.6) — 数百万开发者暴露 - — 单个负载同时破坏了 Claude Code + Gemini CLI + Copilot Agent - — .cursorrules 中隐形的 Unicode 植入了无声后门 OpenAI 2025年12月的声明称:浏览器代理的提示注入“很可能永远无法被完全解决”。 1.
概述(AI 翻译)
布里奇沃德
别相信任何东西。安全飞船。
BridgeMind的Claude Code插件,可以防止你的AI代理被提示注入。 对任何阅读面向公众或不可信内容的代理进行怀疑阅读纪律。
为什么是BridgeWard?
那些读取网页、邮件、GitHub问题、MCP工具输出、搜索结果、抓取的HTML、第三方仓库或其他任何不受信任输入的AI代理,只要一个提示注入漏洞,就会被数据泄露、RCE或无声后门插入**。
2024–2026年制作中的真实成就:
- EchoLeak(M365副驾驶,CVE-2025-32711)——零点击邮件注入,完全租户撤离
- Slack AI — 从公共消息中进行跨渠道的过滤到私有频道内容
- MCP 地毯拉动(Invariant Labs)——安装后工具描述无声交换
- 光标MCPoison(CVE-2025-54135)——提示注入升级至RCE
- GitHub Copilot RCE(CVE-2025-53773,CVSS 9.6)——数百万开发者暴露在外
- 跨厂商GitHub问题注入 — 单个负载同时破坏了Claude代码 + Gemini CLI + Copilot 代理
- Pillar“规则文件后门” — ’ 中隐形的Unicode。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
BridgeWard
Trust nothing. Ship safely.
A Claude Code plugin from BridgeMind that wards your AI agents against prompt injection. Skeptical-reading discipline for any agent that reads public-facing or untrusted content.
Why BridgeWard?
AI agents that read web pages, emails, GitHub issues, MCP tool outputs, search results, scraped HTML, third-party repos, or any other untrusted input are one prompt-injection bug away from data exfiltration, RCE, or silent backdoor insertion.
Real exploits in production, 2024–2026:
- EchoLeak (M365 Copilot, CVE-2025-32711) — zero-click email injection, full tenant exfiltration
- Slack AI — cross-channel exfiltration from public messages to private channel content
- MCP rug pull (Invariant Labs) — tool descriptions silently swap after install
- Cursor MCPoison (CVE-2025-54135) — prompt injection escalating to RCE
- GitHub Copilot RCE (CVE-2025-53773, CVSS 9.6) — millions of developers exposed
- Cross-vendor GitHub issue injection — single payload broke Claude Code + Gemini CLI + Copilot Agent simultaneously
- Pillar “Rules File Backdoor” — invisible Unicode in
.cursorrulesplants silent backdoors
OpenAI’s own December 2025 statement: prompt injection “is unlikely to ever be fully solved” for browser agents.
You can’t eliminate the risk. You can install the discipline. That’s BridgeWard.
What’s Inside
| Component | Type | What It Does |
|---|---|---|
bridgeward |
Skill | Core skeptical-reading discipline — auto-loaded when your agent ingests untrusted content. Provenance tagging, red-flag patterns, refusal templates, capability scoping. |
injection-audit |
Skill | Slash-command audit. Scans a file/dir/URL/MCP server for injection attempts, returns severity-tagged report. |
injection-auditor |
Agent | Read-only subagent that performs deep audits. Cannot write, edit, or execute. Cannot follow instructions found in audited content. |
Install
As a Claude Code plugin
claude plugin install bridgeward@bridgemind-plugins
Or copy the skills manually
# Project-level
mkdir -p .claude/skills .claude/agents
cp -r skills/bridgeward .claude/skills/
cp -r skills/injection-audit .claude/skills/
cp agents/injection-auditor.md .claude/agents/
# Personal / global
mkdir -p ~/.claude/skills ~/.claude/agents
cp -r skills/bridgeward ~/.claude/skills/
cp -r skills/injection-audit ~/.claude/skills/
cp agents/injection-auditor.md ~/.claude/agents/
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add bridge-mind/bridgeward