Surface E2EE relay and privacy posture on homepage and security docs (#10749)

* docs(website): surface E2EE relay and privacy posture on homepage and security docs

Add a quiet trust strip below the homepage desktop hero mockup (EN and zh-CN) so Paseo's no-telemetry, E2EE relay, open-source, and independent posture is visible before the feature chapters.

Update the public security docs, privacy policy, and SECURITY.md to match the current Noise NK relay handshake, replay protection, daemon.relay.requireProtectedSecurity setting, and pairing-link / daemon-password trust model. Sync README.md, README.zh-CN.md, connectivity docs, and the homepage FAQ connectivity link.

* docs(security): clarify two-sided Noise fallback and Unix key permissions

* docs(security): note daemon restart after enabling requireProtectedSecurity
This commit is contained in:
Mohamed Boudra
2026-11-25 09:58:26 +07:00
committed by GitHub
parent ad20814ec8
commit 0a856ab7fc
12 changed files with 86 additions and 38 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ Paseo is an open source agentic development environment for desktop, mobile, web
- **Multi-provider:** Claude Code, Codex, Copilot, OpenCode, Pi, Antigravity, and Muse Code through the same interface. Pick the right model for each job.
- **Voice control:** Dictate tasks or talk through problems in voice mode. Hands-free when you need it.
- **Cross-device:** iOS, Android, desktop, web, and CLI. Start work at your desk, check in from your phone, script it from the terminal.
- **Privacy-first:** Paseo doesn't have any telemetry, tracking, or forced log-ins.
- **Privacy-first:** No telemetry, tracking, or forced login. Remote access uses an optional end-to-end encrypted relay.
[Run parallel tasks in Paseo](https://paseo.sh/docs/parallel-development): start agents in separate worktrees, review their diffs, run each app, and check it in the built-in browser.
+3 -3
View File
@@ -51,7 +51,7 @@
- **多提供商:** 通过同一个界面使用 Claude Code、Codex、Copilot、OpenCode 和 Pi。为每个任务选择合适的模型。
- **语音控制:** 在语音模式下口述任务或讨论问题。需要免手操作时很方便。
- **跨设备:** 支持 iOS、Android、桌面端、Web 和 CLI。在桌前开始工作,用手机查看进度,也可以从终端脚本化操作。
- **隐私优先:** Paseo 没有遥测、追踪,也不会强制登录。
- **隐私优先**:无遥测、无追踪、不强制登录。远程访问可使用可选的端到端加密中继。
## 赞助商
@@ -93,7 +93,7 @@ npm install -g @getpaseo/cli
paseo
```
终端中会显示一个二维码。你可以从任意客户端连接。这个方式适合服务器和远程机器。
Paseo 启动后会询问是否启用端到端加密中继以进行设备配对。如果拒绝,可以通过 TCP、Tailscale 或其他 VPN 直接连接。这个方式适合服务器和远程机器。
完整安装和配置见:
@@ -140,7 +140,7 @@ Monorepo 包结构速览:
- `packages/app`:Expo 客户端(iOS、Android、Web)
- `packages/cli`:用于 daemon 和 agent 工作流的 `paseo` CLI
- `packages/desktop`:Electron 桌面 app
- `packages/relay`:用于远程连接的 relay 包
- `packages/relay`:daemon 和客户端使用的中继传输与端到端加密包
- `packages/website`:营销站点和文档(`paseo.sh`)
常用命令:
+1 -1
View File
@@ -33,7 +33,7 @@ The relay sees only: IP addresses, timing, message sizes, session IDs, and the p
The daemon requires a valid cryptographic handshake before processing any commands. A compromised relay cannot:
- **Impersonate the daemon to your phone** — Without the daemon's secret key, it cannot derive the shared key, so any traffic it injects fails authenticated decryption on the phone
- **Send commands as you** — The daemon only accepts traffic that decrypts and authenticates under a shared key derived with its own secret key. The phone's keypair is ephemeral per connection, so there is no persistent phone-side secret to steal; protection comes from the daemon's secret key never leaving the daemon.
- **Open a session without pairing** — The daemon's public key is carried only in the pairing offer and is never sent to the relay. With a daemon password configured, the daemon also rejects any relay client that does not send the right password inside the encrypted channel.
- **Read your traffic** — After the handshake every message is encrypted: ChaCha20-Poly1305 in protected mode, XSalsa20-Poly1305 (NaCl box) in legacy mode
- **Forge messages** — Both constructions are authenticated encryption; a tampered message is rejected in either mode
- **Replay old messages** — In protected mode the daemon contributes a fresh ephemeral key to every session and every record carries a strictly increasing counter, so a recorded session cannot be replayed into a new one and a duplicated, reordered, or reflected record closes the session. Legacy mode has neither property: it uses random nonces, and a daemon that still admits legacy clients accepts a recorded legacy transcript (hello, credentials, commands) as a new session. Set `daemon.relay.requireProtectedSecurity: true` to refuse legacy clients once every client you use has updated.
+1 -1
View File
@@ -33,7 +33,7 @@ The relay is optional. To connect your client and daemon, it processes:
- Message sizes and aggregate bandwidth
- Temporary connection and routing state
Your client and daemon encrypt application traffic end-to-end with NaCl box encryption. The relay carries ciphertext and cannot read your code, prompts, terminal output, or agent conversations. Payloads exist in relay memory only while being forwarded. We do not store message contents. Infrastructure may retain limited operational logs and aggregate metrics for security, capacity planning, and troubleshooting.
Your client and daemon encrypt application traffic end-to-end with Noise NK (ChaCha20-Poly1305), with legacy NaCl box fallback when either side has not updated. The relay carries ciphertext and cannot read your code, prompts, terminal output, or agent conversations. Payloads exist in relay memory only while being forwarded. We do not store message contents. Infrastructure may retain limited operational logs and aggregate metrics for security, capacity planning, and troubleshooting.
## Paseo Hub
+1 -1
View File
@@ -35,7 +35,7 @@ Claude Code、Codex 和 OpenCode 等 Agent 使用你机器上的凭据与各自
- 消息大小和总带宽
- 临时连接和路由状态
你的客户端和 daemon 使用 NaCl box 加密对应用流量进行端到端加密。中继传输的是密文,无法读取你的代码、提示词、终端输出或 Agent 对话。有效载荷仅在转发期间存在于中继内存中。我们不存储消息内容。基础设施可能会保留有限的运维日志和汇总指标,用于安全、容量规划和故障排查。
你的客户端和 daemon 使用 Noise NK(ChaCha20-Poly1305)对应用流量进行端到端加密,当任意一方尚未更新时保留 NaCl box 回退。中继传输的是密文,无法读取你的代码、提示词、终端输出或 Agent 对话。有效载荷仅在转发期间存在于中继内存中。我们不存储消息内容。基础设施可能会保留有限的运维日志和汇总指标,用于安全、容量规划和故障排查。
## Paseo Hub
@@ -140,13 +140,15 @@ export function LandingPage({
initial={FADE_IN_UP_40}
animate={FADE_IN}
transition={EASE_OUT_08_DELAY_05}
className="relative pt-4 pb-10 md:pt-6 md:pb-14"
className="relative pt-4 pb-6 md:pt-6 md:pb-8"
>
<div>
<HeroMockup />
</div>
</motion.div>
<TrustStrip />
<PhoneShowcase />
</ChapterBand>
@@ -1494,10 +1496,37 @@ const FAQ_LINKS = {
agents: "/agents",
muse: "/docs/supported-providers/muse-code",
voice: "/docs/voice",
configuration: "/docs/configuration",
connectivity: "/docs/connectivity",
worktrees: "/docs/worktrees",
};
function TrustStrip() {
const { t } = useTranslation();
return (
<div className="pb-10 md:pb-14">
<ul className="flex flex-col items-center justify-center gap-y-2 text-xs text-white/60 sm:flex-row sm:flex-wrap sm:gap-x-4 md:text-sm">
<li className="flex items-center gap-x-3 sm:gap-x-4">
<span>{t("landing.trustStrip.noTelemetry")}</span>
<span aria-hidden="true" className="select-none text-white/25">
·
</span>
<span>{t("landing.trustStrip.e2eeRelay")}</span>
</li>
<li aria-hidden="true" className="hidden select-none text-white/25 sm:block">
·
</li>
<li className="flex items-center gap-x-3 sm:gap-x-4">
<span>{t("landing.trustStrip.openSource")}</span>
<span aria-hidden="true" className="select-none text-white/25">
·
</span>
<span>{t("landing.trustStrip.independent")}</span>
</li>
</ul>
</div>
);
}
function FAQ() {
const { t } = useTranslation();
const localize = useLocalizePath();
+7 -1
View File
@@ -457,6 +457,12 @@
"chatLabel": "Paseo agent chat",
"diffLabel": "Paseo diff view"
},
"trustStrip": {
"noTelemetry": "No telemetry",
"e2eeRelay": "Built-in E2EE relay",
"openSource": "Open source",
"independent": "Independent"
},
"faq": {
"title": "FAQ",
"freeQuestion": "Is this free?",
@@ -472,7 +478,7 @@
"voiceQuestion": "How does voice work?",
"voiceAnswer": "Voice runs locally on your device by default. You talk, the app transcribes and sends it to your agent as text. Optionally, you can configure OpenAI speech providers for higher-quality transcription and text-to-speech. See the <voice>voice docs</voice>.",
"networkQuestion": "Can I connect from outside my network?",
"networkAnswer": "Yes. You can use the hosted relay (end-to-end encrypted, Paseo can't read your traffic), set up your own tunnel (Tailscale, Cloudflare Tunnel, etc.), or expose the daemon port directly. See <configuration>configuration</configuration>.",
"networkAnswer": "Yes. You can use the hosted relay (end-to-end encrypted, Paseo can't read your traffic), set up your own tunnel (Tailscale, Cloudflare Tunnel, etc.), or expose the daemon port directly. See <connectivity>connectivity</connectivity>.",
"gitQuestion": "Do I need git or GitHub?",
"gitAnswer": "No. Paseo works in any directory. Worktrees are optional and only relevant if you use git. You can run agents anywhere you'd normally work.",
"banQuestion": "Can I get banned for using Paseo?",
@@ -457,6 +457,12 @@
"chatLabel": "Paseo Agent 对话",
"diffLabel": "Paseo diff 视图"
},
"trustStrip": {
"noTelemetry": "无遥测",
"e2eeRelay": "内置端到端加密中继",
"openSource": "开源",
"independent": "独立项目"
},
"faq": {
"title": "常见问题",
"freeQuestion": "Paseo 免费吗?",
@@ -472,7 +478,7 @@
"voiceQuestion": "语音功能如何工作?",
"voiceAnswer": "语音默认在你的设备本地运行。你说话,应用转写后以文本形式发送给 Agent。你也可以配置 OpenAI 语音服务,获得更高质量的转写和语音合成。详见<voice>语音文档</voice>。",
"networkQuestion": "可以从外部网络连接吗?",
"networkAnswer": "可以。你可以使用托管中继(端到端加密,Paseo 无法读取你的流量),搭建自己的隧道(Tailscale、Cloudflare Tunnel 等),或直接暴露 daemon 端口。详见<configuration>配置</configuration>。",
"networkAnswer": "可以。你可以使用托管中继(端到端加密,Paseo 无法读取你的流量),搭建自己的隧道(Tailscale、Cloudflare Tunnel 等),或直接暴露 daemon 端口。详见<connectivity>连接</connectivity>。",
"gitQuestion": "我需要 git 或 GitHub 吗?",
"gitAnswer": "不需要。Paseo 可在任意目录中工作。worktree 是可选的,只在使用 git 时才相关。你可以在平常工作的任何地方运行 Agent。",
"banQuestion": "使用 Paseo 会被封号吗?",
+1 -1
View File
@@ -51,7 +51,7 @@ If the remote daemon has a password, enter it in **Daemon password**; it is stor
## Paseo relay
The relay works without Tailscale, port forwarding, or network configuration. Traffic is end-to-end encrypted.
The relay works without Tailscale, port forwarding, or network configuration. Traffic is [end-to-end encrypted](/docs/security).
Relay is disabled until you enable it.
+1 -1
View File
@@ -49,7 +49,7 @@ paseo --host 'ssh://user@host?daemonPort=7777' ls -a
## Paseo 中继 {#paseo-relay}
中继无需 Tailscale、端口转发或网络配置即可工作。流量是端到端加密的。
中继无需 Tailscale、端口转发或网络配置即可工作。流量经过[端到端加密](/docs/security)。
在你启用之前,中继是关闭的。
+16 -13
View File
@@ -10,7 +10,7 @@ category: Getting started
Paseo follows a client-server architecture, similar to Docker. The daemon runs on your machine and manages your coding agents. Clients (the mobile app, CLI, or web interface) connect to the daemon to monitor and control those agents.
Your code never leaves your machine. Paseo is a local-first tool that connects directly to your development environment.
Your code stays on your machine. Paseo collects no telemetry, requires no account, and connects directly to your development environment.
## Architecture
@@ -31,26 +31,29 @@ Relay is off on new installations. When you pair a device from `paseo`, `paseo d
### How it works
1. The daemon generates a persistent ECDH keypair and stores it in `$PASEO_HOME/daemon-keypair.json`
2. When you scan the QR code or click the pairing link, your phone receives the daemon's public key
3. Your phone sends a handshake message with its own public key. The daemon will not accept any commands until this handshake completes.
4. Each side combines its Curve25519 key with the peer public key, then uses the resulting NaCl
`box` channel for XSalsa20-Poly1305 protected payloads.
1. On first run, the daemon generates a persistent Curve25519 keypair and saves it to `$PASEO_HOME/daemon-keypair.json` (mode `0600` on Unix).
2. When you scan the QR code or open the pairing link (`https://app.paseo.sh/#offer=...`), your client reads the daemon's public key from the URL fragment. Browsers never send URL fragments to the server, so `app.paseo.sh` never sees the key.
3. When a client connects through the relay, both sides generate fresh ephemeral keys and run a Noise `NK` handshake bound to the daemon's public key. The handshake uses `X25519`, `ChaCha20-Poly1305`, and `SHA-256`. The daemon ignores all commands until the handshake completes.
4. After the handshake, every message is encrypted with `ChaCha20-Poly1305` and an incrementing counter. When either side predates Noise, the session falls back to NaCl `box` (`XSalsa20-Poly1305`) until both sides are updated.
The relay sees only: IP addresses, timing, message sizes, and session IDs. It cannot read message contents, forge messages, or derive encryption keys from observing the handshake.
The relay sees only IP addresses, connection timing, message sizes, session IDs, and the public handshake frames. It cannot read message contents, tamper with messages, or derive encryption keys.
### Why the relay can't attack you
The daemon requires a valid cryptographic handshake before processing any commands. A compromised relay cannot:
The daemon requires a valid cryptographic handshake before it accepts any command. A compromised relay cannot do the following:
- **Send commands**, Without your phone's private key, it cannot complete the handshake
- **Read your traffic**, Only the paired endpoints can open the NaCl `box` payloads
- **Forge messages**, The authenticated cipher rejects modified payloads
- **Replay old messages**, Each session derives fresh encryption keys
- Impersonate the daemon: without the daemon's private key, the relay cannot complete the handshake, so your client rejects any traffic it injects.
- Read your traffic: only your client and daemon hold the session keys.
- Forge or modify messages: authenticated encryption rejects tampered payloads.
- Replay old messages: each Noise session uses fresh ephemeral keys from both sides and checks message counters. Replayed, duplicated, or reordered messages close the connection.
Legacy NaCl `box` sessions remain supported by default during migration and do not have replay protection. Once both your daemon and clients are updated, set `daemon.relay.requireProtectedSecurity` to `true` in `config.json` and restart the daemon to require the Noise handshake.
### Trust model
The QR code or pairing link is the trust anchor. It contains the daemon's public key, which is required to establish the encrypted connection. Treat it like a password, don't share it publicly.
The QR code or pairing link is the trust anchor. It contains the daemon's public key, which the client needs to start an encrypted session and which is never sent to the relay. Treat the link like a password and do not share it publicly.
If you also set a daemon password, relay clients send it inside the encrypted channel. The daemon rejects any client without the right password, so a leaked pairing link alone does not grant access.
## Direct connections
+16 -12
View File
@@ -8,7 +8,7 @@ nav: 安全
Paseo 采用客户端-服务器架构,与 Docker 类似。daemon 运行在你的机器上,管理你的编程 Agent。客户端(移动应用、CLI 或 Web 界面)连接到 daemon,用来监控和控制这些 Agent。
你的代码从不离开你的机器。Paseo 是一个本地优先的工具,直接连接到你的开发环境。
你的代码留在你的机器上。Paseo 不收集任何遥测数据,不需要账号,并直接连接到你的开发环境。
## 架构 {#architecture}
@@ -29,25 +29,29 @@ Paseo daemon 可以运行在任何你想运行 Agent 的地方:你的笔记本
### 工作原理 {#how-it-works}
1. daemon 生成一个持久的 ECDH 密钥对,并保存在 `$PASEO_HOME/daemon-keypair.json` 中
2. 当你扫描二维码或点击配对链接时,你的手机会收到 daemon 的公钥
3. 你的手机发送一条包含其自身公钥的握手消息。在握手完成之前,daemon 不会接受任何命令。
4. 双方各自把自己的 Curve25519 密钥与对方的公钥结合,然后使用由此得到的 NaCl `box` 通道传输受 XSalsa20-Poly1305 保护的负载。
1. 首次运行时,daemon 会生成一个持久的 Curve25519 密钥对,并保存在 `$PASEO_HOME/daemon-keypair.json` 中(Unix 下权限为 `0600`)。
2. 当你扫描二维码或打开配对链接(`https://app.paseo.sh/#offer=...`)时,客户端会从 URL 片段中读取 daemon 的公钥。浏览器从不把 URL 片段发送到服务器,因此 `app.paseo.sh` 永远看不到该公钥。
3. 客户端通过中继连接时,双方都会生成新的临时密钥,并围绕 daemon 的公钥执行 Noise `NK` 握手。握手使用 `X25519`、`ChaCha20-Poly1305` 和 `SHA-256`。在握手完成之前,daemon 会忽略所有命令。
4. 握手完成后,每条消息都使用 `ChaCha20-Poly1305` 和递增计数器加密。当任意一方尚未支持 Noise 时,会话会回退到 NaCl `box`(`XSalsa20-Poly1305`),直到双方都完成更新。
中继只能看到:IP 地址、时间、消息大小和会话 ID。它无法读取消息内容、伪造消息,也无法通过观察握手推导出加密密钥。
中继只能看到 IP 地址、连接时间、消息大小、会话 ID 和公开的握手帧。它无法读取消息内容、篡改消息,也无法推导出加密密钥。
### 为什么中继无法攻击你 {#why-the-relay-cant-attack-you}
daemon 在处理任何命令之前都要求一次有效的密码学握手。被攻破的中继无法:
daemon 在接受任何命令之前都要求一次有效的密码学握手。被攻破的中继无法做到以下任何一点:
- **发送命令**:没有你手机的私钥,它无法完成握手
- **读取你的流量**:只有已配对的两端才能打开 NaCl `box` 负载
- **伪造消息**:带认证的加密算法会拒绝被篡改的负载
- **重放旧消息**:每个会话都会派生新的加密密钥
- 冒充 daemon:没有 daemon 的私钥,中继无法完成握手,你的客户端会拒绝它注入的任何流量。
- 读取你的流量:只有你的客户端和 daemon 持有会话密钥。
- 伪造或修改消息:带认证的加密会拒绝被篡改的负载。
- 重放旧消息:每个 Noise 会话都会混入双方新生成的临时密钥并校验递增计数器。重放、重复或乱序的消息都会关闭连接。
迁移期间,旧版 NaCl `box` 会话默认仍受支持,但不具备防重放保护。等 daemon 和所有客户端都更新后,在 `config.json` 中将 `daemon.relay.requireProtectedSecurity` 设为 `true` 并重启 daemon,强制要求 Noise 握手。
### 信任模型 {#trust-model}
二维码或配对链接是信任锚点。它包含 daemon 的公钥,这是建立加密连接所必需的。请像对待密码一样对待它,不要公开分享。
二维码或配对链接是信任锚点。它包含 daemon 的公钥,客户端需要这个公钥才能建立加密会话,而这个公钥从不会发送给中继。请像对待密码一样对待配对链接,不要公开分享。
如果你还设置了 daemon 密码,中继客户端会在加密通道内发送该密码。daemon 会拒绝未提供正确密码的客户端,因此仅泄露配对链接不足以获得访问权限。
## 直接连接 {#direct-connections}