AnyBot/src/app
王性驊 eb3157852a 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs
- macOS 沙盒與工具 (tools.rs, policy.rs, docindex.rs): block AppleScript raw events and
  concatenation outside the sandbox; stop exposing ~/.ssh or localhost sockets in Sealed
  mode; deny writes to shell profiles, LaunchAgents and .git/hooks; expand secret-file
  ignores and enforce symlink/policy checks across SSH, device and document search.
- 電腦操作與遮罩 (computer.rs, agent.rs, marks.rs, desktop.rs, cloudbox.rs, portal.rs):
  forbid clicking or typing into AnyBot's own windows; extend the sensitive-action hard
  gate to raw coordinates, Return/Delete submits and remote devices; stop batch steps if
  the front app changes; black out secrets on zoom, show, >600-node trees, adjacent OTP
  labels, box screenshots and control text lists; preserve non-text Wayland clipboards.
- 保險庫與瀏覽器 (vault.rs, vault_store.rs, browser.rs, botbrowser.rs, web.rs, box/browser):
  verify tab host and HTTPS atomically at fill time; taint filled tabs against browser_eval
  and PDF export while masking card/CVC values and screenshots; remember sites only on
  always-allow; drop --remote-allow-origins=*; gate private URLs and block metadata/Docker
  ports, OrbStack 198.18/15 and IPv6 transition ranges.
- 帳號伺服器、同步與傳送 (relay/, remote.rs, mirror_ui.rs, share.rs, drops.rs): isolate
  paired hands hosts from brain sync, tickets, pairing and backup overwrites; redact
  routine trigger secrets and clear REDACTED when endpoints change; isolate channel and
  team-member turns from owner memories, appctl and grants; scrub shared bot exports and
  reset grants/routines on import; validate drop IDs and serialize chunk writes.
- 網路與協定穩定性 (httpd.rs, tunnel.rs, vnc.rs, Caddyfile*): fix chunked integer overflow
  and CRLF header injection; enforce Origin checks, connection/job caps, 200 MB backup
  reads, unique atomic temp files and ASCII hex guards; bound deflate unzip and VNC sniff
  buffers; move VNC stdin/text off the tunnel loop.
- 介面、排程、語言與其他修正 (app.rs, i18n.rs, providers.rs, skills.rs, routines.rs,
  setup.rs, store.rs, preview.rs, attach.rs, speech.rs, teams.rs, mcp.rs, voice.rs):
  wire up the delete-routine confirmation dialog and mirror run-now; preserve unsaved
  mirror edits across brief disconnects; give Chinese skills distinct folders and approval
  gates; convert parsed tool JSON fields without corrupting code fences, URLs or paths;
  fix Hourly DST offsets and time out unattended routine approvals; lock --install-skill,
  cap docx/xlsx unzip sizes, isolate test env keys, and tighten local file permissions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 14:34:10 +08:00
..
attach_ui.rs 語音: a call and 朗讀 read the answer just given, also on a brain's screen; the bot panel keeps its width 2026-11-11 14:47:20 +08:00
channels_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
chat_ui.rs 問題卡、搜尋: the bot asks with a card; every chat is searched; a refusal holds for the turn 2026-11-12 10:17:32 +08:00
computers_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
drops_ui.rs 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
files_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
goal_ui.rs 目標: the goal goes with its chat, stays out of shared bot files, and 停止 between turns pauses it 2026-11-11 20:35:53 +08:00
markdown_ui.rs 外觀: a real bold weight, and 設定 › 一般 as cards of rows 2026-11-11 21:54:24 +08:00
memory_ui.rs 外觀: a real bold weight, and 設定 › 一般 as cards of rows 2026-11-11 21:54:24 +08:00
menu_ui.rs Rewrite decompilation comments as behaviour specs; move reverse-engineering docs out of the repo; drop third-party marks from UI strings (i18n tables synced) 2026-11-09 16:37:33 +08:00
mirror_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
pages_ui.rs 外觀: a real bold weight, and 設定 › 一般 as cards of rows 2026-11-11 21:54:24 +08:00
panel_ui.rs 問題卡、搜尋: the bot asks with a card; every chat is searched; a refusal holds for the turn 2026-11-12 10:17:32 +08:00
remote_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
sidebar_ui.rs 問題卡、搜尋: the bot asks with a card; every chat is searched; a refusal holds for the turn 2026-11-12 10:17:32 +08:00
vault_ui.rs 外觀: a real bold weight, and 設定 › 一般 as cards of rows 2026-11-11 21:54:24 +08:00
voice_ui.rs 安全、修正: harden sandboxes, approval gates, vault, relay roles, and fix protocol/UI bugs 2026-11-12 14:34:10 +08:00
welcome_ui.rs 外觀: a real bold weight, and 設定 › 一般 as cards of rows 2026-11-11 21:54:24 +08:00