Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
<!doctype html>
<html lang="zh-CN" data-theme="dark">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>模式、安全与隐私 — WebBrain 用户指南</title><meta name="description" content="了解 WebBrain 的询问、执行、开发模式,网站权限、隐私边界、记忆与高级覆盖项。"><link rel="canonical" href="https://webbrain.one/docs/zh/safety/"><link rel="alternate" hreflang="en" href="https://webbrain.one/docs/safety/"><link rel="alternate" hreflang="zh" href="https://webbrain.one/docs/zh/safety/"><link rel="alternate" hreflang="x-default" href="https://webbrain.one/docs/safety/"><link rel="icon" href="/favicon.png"><script>try{document.documentElement.dataset.theme=localStorage.getItem('webbrain-theme')||'dark'}catch(_){}</script><link rel="stylesheet" href="/docs/assets/docs.css?v=20261028"> <!-- Plausible analytics: start -->
<!-- Privacy-friendly analytics by Plausible -->
<script async src="https://157.230.3.9.sslip.io/js/pa-omp0F7DsOXM4sGKR50l7S.js"></script>
<script>
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init()
</script>
<!-- Plausible analytics: end -->
<!-- Site footer styles: start -->
<style>
.wb-footer {
--wb-footer-text: var(--text, var(--ink, #2c1810));
--wb-footer-dim: var(--text-dim, var(--muted, #6b5b47));
--wb-footer-line: var(--border, var(--line, rgba(89, 55, 25, 0.15)));
margin: 0;
padding: 0;
border-top: 1px solid var(--wb-footer-line);
background: var(--wb-footer-bg, none);
color: var(--wb-footer-dim);
font-size: 13px;
line-height: 1.5;
text-align: start;
}
.wb-footer-inner {
width: var(--wb-footer-width, min(calc(100% - 48px), 1100px));
margin: 0 auto;
padding: 26px 0 30px;
display: flex;
flex-direction: column;
gap: 18px;
}
/* Page links start on the brand's left edge; the social icons sit at
the far end of the same row. */
.wb-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.wb-footer-brand { display: flex; flex-direction: column; gap: 5px; }
.wb-footer-tagline { margin: 0; color: var(--wb-footer-text); font-size: 15px; font-weight: 700; line-height: 1.4; }
.wb-footer-copy { margin: 0; }
.wb-footer-copy a { color: var(--wb-footer-text); font-weight: 650; text-decoration: none; }
.wb-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.wb-footer-social { display: flex; align-items: center; gap: 8px; }
.wb-footer-links a { color: var(--wb-footer-dim); font-weight: 600; text-decoration: none; }
.wb-footer a:hover { color: var(--wb-footer-text); text-decoration: none; }
.wb-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.wb-footer-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: -4px 0; border-radius: 6px; }
.wb-footer-icon:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.wb-footer-icon svg { display: block; width: 15px; height: 15px; }
/* Only shown without JavaScript, when the language picker can't run. */
.wb-footer-languages { display: none; flex-wrap: wrap; gap: 6px 12px; width: 100%; direction: ltr; }
.wb-footer-languages span { color: var(--wb-footer-text); font-weight: 700; }
@media (max-width: 860px) {
.wb-footer-inner { width: var(--wb-footer-width, calc(100% - 32px)); }
}
</style>
<!-- Site footer styles: end -->
</head>
<body class="doc-page">
<a class="skip-link" href="#main">跳到正文</a><header class="site-header"><div class="header-inner"><a class="brand" href="/"><img src="/logo-github.png" alt=""><span>WebBrain</span><span class="brand-docs">用户指南</span></a><nav class="top-nav" aria-label="主导航"><a href="/">首页</a><a href="/docs/zh/" aria-current="page">文档</a><a href="/blog/">博客</a><a href="https://github.com/webbrain-one/webbrain">GitHub</a></nav><div class="header-tools"><a class="lang-switch" href="/docs/safety/" aria-label="Read in English"><span>EN</span><span class="active">中文</span></a><button class="icon-button" type="button" data-theme-toggle aria-label="切换主题">☀</button><button class="sidebar-toggle" type="button" data-sidebar-toggle aria-expanded="false" aria-label="打开文档菜单">☰</button></div></div></header>
<div class="docs-shell"><aside class="docs-sidebar" aria-label="文档目录"><div class="sidebar-group"><div class="sidebar-label">从这里开始</div><nav><a href="/docs/zh/">概览</a><a href="/docs/zh/faq/">常见问题</a></nav></div><div class="sidebar-group"><div class="sidebar-label">使用 WebBrain</div><nav><a href="/docs/zh/settings/">设置说明</a><a href="/docs/zh/providers/">提供商与模型</a><a href="/companion/">WebBrain Companion</a><a href="/docs/zh/safety/" aria-current="page">模式、安全与隐私</a><a href="/docs/zh/apocalypse-mode/">末日模式</a><a href="/docs/zh/formats/">导出与工作流</a><a href="/docs/zh/mcp/">MCP 服务器</a><a href="/docs/zh/lm-studio/">LM Studio 插件</a><a href="/docs/zh/ollama/">Ollama</a></nav></div><div class="sidebar-group"><div class="sidebar-label">社区</div><nav><a href="https://discord.gg/cgC325ssfw">Discord 支持</a></nav></div></aside>
<main class="doc-main" id="main"><div class="breadcrumb"><a href="/docs/zh/">文档</a> / 模式、安全与隐私</div><section class="doc-hero"><div class="eyebrow">人在回路中</div><h1>WebBrain 在你的登录会话里工作,因此必须谨慎对待它的访问能力。</h1><p class="lede">代理能看到并使用你能访问的网站。模式、计划审查与按网站权限可以降低风险,但提示词、目标位置与最终结果仍由你负责。</p></section>
<section class="doc-section" id="modes"><h2>模式决定工作的类型</h2><div class="mode-strip"><div class="mode ask"><strong>询问 Ask</strong><span>语义阅读与研究工具;不点击、不输入、不导航、不上传、不修改网页。</span></div><div class="mode act"><strong>执行 Act</strong><span>完成你明确要求的普通浏览器操作;关键操作仍需经过权限闸门。</span></div><div class="mode dev"><strong>开发 Dev</strong><span>在 Act 基础上增加源码、样式、DOM、框架和调试工具;需要 Mid 或 Full 提供商。</span></div></div><p>能通过阅读完成的任务就用 Ask;必须改变网页时才切到 Act;Dev 用于网页开发与排错,不是“让弱模型变聪明”的模式。</p></section>
<section class="doc-section" id="permissions"><h2>权限针对具体能力</h2><p>关键操作前,WebBrain 可让你选择“允许一次”“始终允许该网站的此类能力”或“不允许”。永久记录是一个明确的 <strong>网站 + 能力</strong> 组合。</p><figure class="shot"><a href="/docs/assets/screenshots/settings-permissions.jpg"><img src="/docs/assets/screenshots/settings-permissions.jpg" alt="WebBrain 权限设置英文界面,显示总开关与不同能力授权"></a><figcaption>允许输入不会自动允许下载、上传、执行 JavaScript 或安排任务。</figcaption></figure><div class="table-wrap"><table><thead><tr><th>选择</th><th>何时使用</th><th>以后会怎样</th></tr></thead><tbody><tr><td>允许一次</td><td>当前操作合理,但你不想长期授权。</td><td>下次需要同类能力时重新询问。</td></tr><tr><td>始终允许</td><td>你信任该网站并会重复同类操作。</td><td>“网站 + 能力”记录出现在权限页面中。</td></tr><tr><td>不允许</td><td>操作、目标或时机不正确。</td><td>操作被阻止,你仍可控制当前运行。</td></tr></tbody></table></div></section>
<section class="doc-section" id="untrusted"><h2>网页内容不受信任,即使网站看起来很熟悉</h2><p>网页可能包含专门操纵 AI 代理的文字。WebBrain 会把网页派生内容包裹为不受信任数据,并用模式与权限限制动作范围;这些防御能降低风险,但无法保证所有模型和网页都安全。</p><ul><li>代理开始执行你没有提出的指令时立即停止。</li><li>在医疗、金融、约会、私密账户和内部工作页面上格外谨慎。</li><li>提交前检查目标地址与表单值。</li><li>不要让 Act 模式无人值守地处理陌生人可编辑的页面。</li></ul><div class="callout danger"><strong class="callout-title">LLM 提供商属于信任边界</strong><p>当前提供商会收到任务所需的对话与网页内容。请选择你能接受其隐私条款与运行方式的提供商。</p></div></section>
<section class="doc-section" id="overrides"><h2>两个容易混淆的覆盖项</h2><div class="table-wrap"><table><thead><tr><th>覆盖项</th><th>范围</th><th>变化</th></tr></thead><tbody><tr><td><code>/allow-api</code></td><td>当前对话</td><td>允许写入型网络请求(POST、PUT、PATCH、DELETE);重置后清除,并不会取消其他所有权限。</td></tr><tr><td><code>/dangerously-skip-permissions</code></td><td>全局,直到重新开启</td><td>关闭所有网站和所有能力的“关键操作前询问”。</td></tr></tbody></table></div><div class="callout warning"><strong class="callout-title">永远优先选择更窄的授权</strong><p>如果只信任一个网站的一类操作,就在正常权限提示中授权该能力,不要为了少点一次确认而关闭全局闸门。</p></div></section>
<section class="doc-section" id="data"><h2>哪些数据留在浏览器,哪些可能离开</h2><div class="table-wrap"><table><thead><tr><th>数据</th><th>存储位置</th><th>何时发送</th></tr></thead><tbody><tr><td>聊天历史</td><td>浏览器本地存储 / IndexedDB</td><td>运行时,相关对话上下文发送给当前 LLM 提供商。</td></tr><tr><td>提供商设置与 API 密钥</td><td>浏览器本地明文</td><td>密钥发送给对应提供商用于认证。</td></tr><tr><td>个人资料自动填充</td><td>浏览器本地明文</td><td>启用后作为系统提示上下文发送给当前提供商。</td></tr><tr><td>用户记忆</td><td>浏览器本地明文</td><td>活动记录作为系统提示上下文发送。</td></tr><tr><td>追踪与截图</td><td>启用追踪时保存在本地 IndexedDB</td><td>追踪记录器不会上传;导出会生成本地文件。</td></tr><tr><td>加密云同步</td><td>云端不透明密文副本 + 本地数据</td><td>支持的密钥、个人资料和记忆在上传前加密;同步密码不会发送或存储。</td></tr></tbody></table></div></section>
<section class="doc-section" id="scheduled"><h2>计划任务需要更严格的默认值</h2><p>计划任务可能在你没有观看时运行。保持“确认计划任务的关键操作”开启。提示词应明确目标 URL、时间、预期结果与停止条件。</p><div class="callout tip"><strong class="callout-title">更安全的计划任务提示词</strong><p>“上午 9 点打开这个仪表盘,读取新状态并总结。不要提交、确认或编辑任何内容。” 边界和任务本身同样重要。</p></div></section>
<section class="doc-section" id="checklist"><h2>重要 Act 运行前</h2><ol><li>确认当前提供商与模型。</li><li>用新对话执行边界清晰的任务。</li><li>保持计划审查和权限闸门开启。</li><li>写明代理不得进行的操作。</li><li>随时准备处理权限与澄清提示。</li><li>遇到意外跳转、凭据处理或重复动作时停止。</li><li>核实真实结果,不要只相信最终摘要。</li></ol></section>
<nav class="next-links" aria-label="后续指南"><a href="/docs/zh/providers/"><span>上一篇</span>← 提供商与模型</a><a href="/docs/zh/"><span>回到开始</span>指南概览 →</a></nav>
</main><aside class="on-this-page" aria-label="本页内容"><h2>本页内容</h2><a href="#modes">模式</a><a href="#permissions">权限</a><a href="#untrusted">不受信任网页</a><a href="#overrides">覆盖项</a><a href="#data">数据与记忆</a><a href="#scheduled">计划任务</a><a href="#checklist">检查清单</a></aside>
</div><!-- Site footer: start -->
<footer class="wb-footer">
<div class="wb-footer-inner">
<div class="wb-footer-brand">
<p class="wb-footer-tagline">我们的使命:让网络更智能。</p>
<p class="wb-footer-copy">© 2026 WebBrain。由 <a href="https://emresokullu.com" target="_blank">Emre Sokullu</a> 与<a href="https://github.com/webbrain-one/webbrain/graphs/contributors" target="_blank">贡献者</a>共同构建。</p>
</div>
<div class="wb-footer-row">
<div class="wb-footer-links">
<a href="/zh/">浏览器扩展</a>
<a href="/companion/zh/">桌面 Companion</a>
<a href="/research/">研究</a>
<a href="/docs/zh/">文档</a>
<a href="/docs/zh/faq/">常见问题</a>
<a href="/blog/">博客</a>
<a href="/privacy">隐私政策</a>
<a href="https://github.com/webbrain-one/webbrain/issues" target="_blank" rel="noopener">报告 Bug</a>
<a href="https://github.com/webbrain-one/webbrain/blob/main/LICENSE" target="_blank" rel="noopener">GPL-3.0 许可</a>
<a href="https://pressreleases.online/org/webbrain.one" target="_blank" rel="noopener">媒体</a>
<a href="https://api.webbrain.one/account" target="_blank" rel="noopener">Compass 订阅</a>
</div>
<div class="wb-footer-social">
<a href="https://mastoturk.org/@webbrain" target="_blank" rel="me noopener" aria-label="Mastodon 上的 WebBrain" title="Mastodon 上的 WebBrain" class="wb-footer-icon"><svg viewBox="0 0 24 24" fill="currentColor" width="15" height="15" aria-hidden="true"><path d="M21.327 8.566c0-5.035-3.298-6.511-3.298-6.511C16.366 1.292 13.508.971 12.04.947h-.036c-1.468.024-4.326.345-5.989 1.108 0 0-3.298 1.476-3.298 6.511 0 1.153-.022 2.535.014 4.001.12 4.935.907 9.799 5.478 11.007 2.106.557 3.916.674 5.374.594 2.645-.147 4.128-.943 4.128-.943l-.087-1.918s-1.888.595-4.012.523c-2.104-.072-4.326-.227-4.668-2.809a5.289 5.289 0 0 1-.047-.724s2.066.505 4.686.625c1.603.073 3.107-.094 4.632-.276 2.925-.349 5.474-2.149 5.794-3.793.503-2.591.462-6.287.462-6.287ZM8.545 15.023H6.09V8.996c0-2.534 1.627-3.829 3.424-3.829 1.963 0 2.909 1.268 3.35 2.257.44-.989 1.386-2.257 3.349-2.257 1.797 0 3.424 1.295 3.424 3.829v6.027h-2.454V9.174c0-1.233-.519-1.859-1.557-1.859-1.148 0-1.724.742-1.724 2.207v3.203h-2.454V9.522c0-1.465-.576-2.207-1.724-2.207-1.038 0-1.557.626-1.557 1.859v5.849Z"/></svg></a>
<a href="https://bsky.app/profile/webbrain-one.bsky.social" target="_blank" rel="me noopener" aria-label="Bluesky 上的 WebBrain" title="Bluesky 上的 WebBrain" class="wb-footer-icon"><svg viewBox="0 0 24 24" fill="currentColor" width="15" height="15" aria-hidden="true"><path d="M12 10.8c-1.1-2.1-4-6-6.8-8C2.6.9 1.6 1.3.9 1.6.1 1.9 0 3.1 0 3.8c0 .7.4 5.7.6 6.5.8 2.7 3.7 3.7 5.6 3.4-3.5.6-6.5 2-2.5 6.5 4.3 4.5 5.9-1 6.3-2.8.1-.5.2-.8.3-.8.1 0 .2.3.3.8.4 1.8 2 7.3 6.3 2.8 4-4.5 1-5.9-2.5-6.5 1.9.3 4.8-.7 5.6-3.4.2-.8.6-5.8.6-6.5 0-.7-.1-1.9-.9-2.2-.7-.3-1.7-.6-4.3 1.2-2.8 2-5.7 5.9-6.8 8Z"/></svg></a>
<a href="https://discord.gg/cgC325ssfw" target="_blank" rel="noopener" aria-label="Discord 上的 WebBrain" title="Discord 上的 WebBrain" class="wb-footer-icon"><svg viewBox="0 0 16 16" fill="currentColor" width="15" height="15" aria-hidden="true"><path d="M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011c.05.069.098.137.142.207a12.471 12.471 0 0 0-3.616 0c.044-.07.093-.138.143-.207A13.207 13.207 0 0 0 3.7 2.907 13.136 13.136 0 0 0 .931 13.362a13.667 13.667 0 0 0 4.022 2.018c.33-.442.623-.907.87-1.396a8.95 8.95 0 0 1-1.37-.652c.114-.083.225-.171.33-.269a9.6 9.6 0 0 0 8.243 0c.108.09.218.18.33.269a8.923 8.923 0 0 1-1.37.652c.248.489.54.954.87 1.396a13.667 13.667 0 0 0 4.022-2.018 13.136 13.136 0 0 0-2.769-10.455zM5.106 11.275c-.788 0-1.438-.72-1.438-1.608 0-.889.625-1.608 1.438-1.608.818 0 1.451.726 1.438 1.608 0 .888-.625 1.608-1.438 1.608zm5.788 0c-.788 0-1.438-.72-1.438-1.608 0-.889.625-1.608 1.438-1.608.818 0 1.451.726 1.438 1.608 0 .888-.625 1.608-1.438 1.608z"/></svg></a>
<a href="https://huggingface.co/webbrain-one" target="_blank" rel="me noopener" aria-label="Hugging Face 上的 WebBrain" title="Hugging Face 上的 WebBrain" class="wb-footer-icon"><svg viewBox="0 0 24 24" fill="currentColor" width="15" height="15" aria-hidden="true"><path d="M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378 0 1.112.178 2.181.503 3.185.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284.278.173.48.408.71.694.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542.01.026.653 1.552 1.657 2.54.616.605 1.01 1.223 1.082 1.912.055.537-.096 1.059-.38 1.572.637.121 1.294.187 1.967.187.657 0 1.298-.063 1.921-.178-.287-.517-.44-1.041-.384-1.581.07-.69.465-1.307 1.081-1.913 1.004-.987 1.647-2.513 1.657-2.539.021-.074.083-.285.233-.542.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952.23-.286.432-.52.71-.694.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174 1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013 1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164 1.607-.007 2.984-1.155 3.572-1.164.196-.003.305.12.305.454 0 .886-.424 2.328-1.563 3.202-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026-.01.008-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116 1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243 1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444-.034-.016-.104-.008-.2.022q-.094.03-.216.087-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096 3 3 0 0 0-.26.219 2 2 0 0 0-.12.121 2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203 0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647 2.822 2.813 2.562 3.244-1.176-.506-1.176-.506-2.866-2.567-3.49-1.898.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405-.238.839-2.71-1.587-3.216-.642-.506.946 3.49 2.056 3.522 2.064 1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194 1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647-2.822 2.813-2.562 3.244 1.176-.506 1.176-.506 2.866-2.567 3.49-1.898-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405.238.839 2.71-1.587 3.216-.642.506.946-3.49 2.056-3.522 2.064-1.29.33-4.568 1.028-5.713-.624"/></svg></a>
</div>
</div>
</div>
</footer>
<!-- Site footer: end --><script src="/docs/assets/docs.js?v=20260809"></script>
</body></html>