Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

Block network-tool responses from hostnames that resolve to private addresses

Barack Sokullu9f342120f6eb
diff --git a/docs/fr/security-model.md b/docs/fr/security-model.md
index a3e293e12..f95539603 100644
--- a/docs/fr/security-model.md
+++ b/docs/fr/security-model.md
@@ -24,7 +24,7 @@ Pour la divulgation de vulnérabilités, voir [SECURITY.md](../SECURITY.md).
```
(Ceci est le manifeste Chrome MV3. Firefox MV2 accorde un ensemble plus restreint —
-`activeTab`, `menus`, `webNavigation`, `webRequest`, `storage`,
+`activeTab`, `menus`, `webNavigation`, `webRequest`, `dns`, `storage`,
`unlimitedStorage`, `tabs`, `tabGroups`, `downloads`, `alarms`, `clipboard*`,
`<all_urls>` — et n'a pas `debugger`/`offscreen`/`tabCapture`, voir Différences
Firefox ci-dessous.)
@@ -109,7 +109,7 @@ La menace principale : une page malveillante conçoit un contenu qui, lorsqu'il
| **Détection de boucle** | Trois détecteurs indépendants arrêtent l'agent s'il répète la même action ou oscille. Les boucles de clics répétés peuvent inclure un indice URL+méthode XHR/fetch exact sur le même onglet afin que l'agent puisse utiliser `fetch_url` au lieu de cliquer indéfiniment. Limite les dommages d'un prompt injecté persistant. |
| **Adaptateurs financiers** | Les adaptateurs avec `category: 'finance'` injectent des conseils de confirmation supplémentaires et une bannière d'avertissement. |
| **Gestion stricte des secrets** | Empêche l'exfiltration d'identifiants même si le modèle est jailbreaké pour citer des secrets. |
-| **Blocage réseau local** | L’accès au réseau local est désactivé par défaut. Lorsque cet accès est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. La résolution DNS n’est pas vérifiée : d’autres noms peuvent encore atteindre des adresses locales. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou `*.internal`/`*.local` restent bloqués même lorsque l’accès local est activé. |
+| **Blocage réseau local** | L’accès au réseau local est désactivé par défaut. Lorsque cet accès est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. `fetch_url`, `read_page_source` et `research_url` bloquent aussi les noms d’hôte résolus vers ces adresses : la réponse d’une adresse bloquée est écartée avant que le modèle ne la voie, et Firefox refuse le nom dès sa résolution, avant tout envoi. Dans Chrome, la requête a déjà atteint l’adresse lorsque sa réponse est écartée. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou `*.internal`/`*.local` restent bloqués même lorsque l’accès local est activé. |
### Ce qui n'est PAS défendu
diff --git a/docs/security-model.md b/docs/security-model.md
index 1bc3e8090..23d9de3e0 100644
--- a/docs/security-model.md
+++ b/docs/security-model.md
@@ -24,7 +24,7 @@ For vulnerability disclosure, see [SECURITY.md](../SECURITY.md).
```
(This is the Chrome MV3 manifest. Firefox MV2 grants a narrower set —
-`activeTab`, `menus`, `webNavigation`, `webRequest`, `storage`,
+`activeTab`, `menus`, `webNavigation`, `webRequest`, `dns`, `storage`,
`unlimitedStorage`, `tabs`, `tabGroups`, `notifications`, `downloads`,
`alarms`, `clipboard*`, `<all_urls>` — and has no
`debugger`/`offscreen`/`tabCapture`/`sidePanel`/`scripting`/`privateNetworkAccess`,
@@ -34,7 +34,8 @@ see Firefox Differences below.)
|---|---|---|
| `<all_urls>` | Content script injection anywhere — the agent can read and interact with any page the user visits | A turn needs an action mode (Act or Dev) before clicks/types/navigation, and only the user's own request grants one: in their own words or with `/act` or `/dev` (see **Automatic mode selection** below). Ask mode is read-only. General browser-tab creation, enumeration, activation, and run retargeting are not exposed as model-callable tools. The one OTP-skill-gated Mid/Full reader internally selects an already-open supported mailbox and returns only bounded service-matching content; it exposes no tab catalog. Candidate inspection is read-only, while opening a selected message requires Act/Dev and mailbox-host click permission because it may mark mail read. Its disposable inactive clone consumes exact message continuations to completion or fails closed. |
| `debugger` | CDP access provides trusted events and full DOM/network control on any tab | The debugger is attached only to the target tab while a CDP-backed run or mode-scoped Dev diagnostics own it. Run cleanup closes run-scoped WebMCP state and detaches unless Dev diagnostics remain active; conversation cleanup and tab removal drain all owners and detach. |
-| `webRequest` | Can observe XHR/fetch metadata for requests made by the active page | API mutation observer is on by default; it keeps only a bounded in-memory per-tab buffer for repeated-click shortcut hints and opaque same-origin replay. |
+| `webRequest` | Can observe XHR/fetch metadata for requests made by the active page | API mutation observer is on by default; it keeps only a bounded in-memory per-tab buffer for repeated-click shortcut hints and opaque same-origin replay. `fetch_url`, `read_page_source` and `research_url` also read the server address of their own requests while they run, to discard responses from blocked addresses (see **Local network blocking**). |
+| `dns` (Firefox only) | Can resolve hostnames | Used only by `fetch_url`, `read_page_source` and `research_url` to resolve the target hostname before sending, so a name that resolves to a blocked address is refused without contacting it. |
| `downloads` | Can save files to the user's Downloads folder without prompting | Only the agent's explicit download-capable tool calls (`download_files`, `download_file`, `download_resource_from_page`, `download_social_media`, download-job skill tools) use this, and each is gated by the capability × origin permission prompt. |
| `alarms` | Can wake scheduled jobs in future browser sessions | `schedule_resume` / `schedule_task` are gated; the user-authored `/watch` slash command can also create a page-bound 30–120 second conditional poll. |
| `offscreen` | An offscreen document can make HTTP requests immune to user CSP, run local inference, or play audio without an open panel | Used for the localhost LLM proxy, the optional endpoint-free WebGPU text and vision providers, tab recording, validated download staging, the local controller bridge, and successful `/watch /beep` tones. The text provider receives the same bounded conversation and allowlisted tool schemas that would be sent to another active provider; dedicated local vision receives only its screenshot/prompt. Model files are downloaded from Hugging Face, while inference stays in the worker. Watch audio receives only a style selector, never page content or an arbitrary URL. |
@@ -48,7 +49,7 @@ see Firefox Differences below.)
| `notifications` | Can show OS-level notifications | Used as a completion fallback for restricted or discarded background tabs, including scheduled runs. The message is the current tab title, falling back to its URL, so page-controlled titles and sensitive URL components may appear on OS notification surfaces or in notification history. Run output, page bodies, and trace payloads are not intentionally included. |
| `tabCapture` (Chrome only) | Can capture tab audio/video | Used only for the explicit slash-driven tab/screen recording flow. Recording starts on a user command and stops on completion; there is no background capture. |
| `clipboardWrite` / `clipboardRead` | Can write to / read from the clipboard | Writes place agent-produced snippets the user asked for; reads support paste-driven tasks. Clipboard content entering a prompt is treated like other untrusted input and never exfiltrated except as the user's requested result. |
-| `privateNetworkAccess` (Chrome only) | Allows requests to local/private-network LLM endpoints | Required for llama.cpp / Ollama / LM Studio on localhost or LAN. Agent network tools block URLs written with private or loopback IP literals and localhost names by default. DNS resolution is not checked, so other hostnames may still reach local addresses. Cloud-metadata IP literals (169.254.169.254) and listed metadata or `*.internal`/`*.local` hostnames remain blocked even when local access is enabled. |
+| `privateNetworkAccess` (Chrome only) | Allows requests to local/private-network LLM endpoints | Required for llama.cpp / Ollama / LM Studio on localhost or LAN. Agent network tools block URLs written with private or loopback IP literals and localhost names by default; `fetch_url`, `read_page_source` and `research_url` also block hostnames that resolve to those addresses (see **Local network blocking**). Cloud-metadata IP literals (169.254.169.254) and listed metadata or `*.internal`/`*.local` hostnames remain blocked even when local access is enabled. |
| `http://localhost/*`, `http://127.0.0.1/*`, `http://*/*` host permissions | Lets the extension call local-model servers and plain-HTTP endpoints | Localhost entries exist for local LLM servers (llama.cpp, Ollama, LM Studio). Provider inference and discovery requests to a user-configured HTTP endpoint use the provider transport directly and do not pass the agent-tool permission prompt. Model-callable network tools such as `fetch_url` and `research_url` are separately subject to the capability × origin gate; `connect-src *` in the extension CSP does not waive that gate. |
### Authentication
@@ -232,7 +233,33 @@ The primary threat: a malicious page crafts content that, when read by the agent
| **Loop detection** | Three independent detectors stop the agent if it's repeating the same action or oscillating. Repeated click loops may include an exact same-tab XHR/fetch URL+method hint so the agent can switch to `fetch_url` instead of clicking forever. Limits damage from a persistently injected prompt. |
| **Finance adapters** | Adapters with `category: 'finance'` inject extra confirmation guidance and a warning banner. |
| **Strict secret handling** | Instructs the model not to quote credentials, strikes credentials it filled into sensitive fields from its scratchpad and progress ledger, and in cloud runs strikes every credential it typed, sent, or read from a labelled field out of what gets published. A secret it only saw in page prose still depends on the instruction. |
-| **Local network blocking** | Local-network access is off by default. When access is off, URLs written with private or loopback IP literals and localhost names are blocked. DNS resolution is not checked, so other hostnames may still reach local addresses. Cloud-metadata IP literals (169.254.169.254) and listed metadata or `*.internal`/`*.local` hostnames stay blocked even when local-network access is enabled. |
+| **Local network blocking** | Local-network access is off by default. When access is off, URLs written with private or loopback IP literals and localhost names are blocked. `fetch_url`, `read_page_source` and `research_url` also check the address a hostname resolved to: the browser reports the server address of each response (for `research_url`, every top-level redirect hop of its hidden tab), and a response from a blocked address is discarded before the model sees it. Firefox also resolves the hostname before sending and refuses it when any answer is blocked. Resolved addresses use the same tiers as literals. Cloud-metadata IP literals (169.254.169.254) and listed metadata or `*.internal`/`*.local` hostnames stay blocked even when local-network access is enabled, as do names that resolve to link-local, CGNAT, multicast or unspecified addresses. See **Resolved-address limits** below. |
+
+### Resolved-address limits
+
+Extensions cannot choose or pin the address a request connects to, so the
+resolved-address check has these limits:
+
+- Chrome has no DNS API for extensions. The request, including its method,
+ headers and body, has already reached the address when its response is
+ discarded, so a write-method request can still change state on a local
+ service. Firefox refuses before sending when its lookup returns a blocked
+ address, but the connection may still use a different answer (DNS
+ rebinding); the response check then applies as in Chrome.
+- With a proxy, Chrome reports the proxy's address. If the proxy is on a
+ loopback or private address, these tools are blocked until local-network
+ access is enabled. Firefox reports the proxy and skips the response check
+ for proxied requests, leaving only its lookup before sending. That lookup
+ uses Firefox's own resolver even when a SOCKS proxy is set to resolve names
+ remotely.
+- If the browser reports no address within 1.5 seconds of the response (for
+ example because the user withdrew the extension's site access for that
+ host), the response is kept.
+- `research_url` checks only its hidden tab's top-level document. Frames and
+ subresources that page loads follow the browser's own private-network
+ rules; the tool does not return their content.
+- Other model-callable requests, such as skill HTTP tools and the download
+ tools, still check only the URL text.
### What is NOT defended
diff --git a/docs/zh-CN/security-model.md b/docs/zh-CN/security-model.md
index a1f2419c9..8b0d4a4ed 100644
--- a/docs/zh-CN/security-model.md
+++ b/docs/zh-CN/security-model.md
@@ -23,7 +23,7 @@
}
```
-(这是 Chrome MV3 清单。Firefox MV2 授予更窄的权限集 — `activeTab`、`menus`、`webNavigation`、`webRequest`、`storage`、`unlimitedStorage`、`tabs`、`tabGroups`、`downloads`、`alarms`、`clipboard*`、`<all_urls>` — 且没有 `debugger`/`offscreen`/`tabCapture`,请参见下方的 Firefox 差异。)
+(这是 Chrome MV3 清单。Firefox MV2 授予更窄的权限集 — `activeTab`、`menus`、`webNavigation`、`webRequest`、`dns`、`storage`、`unlimitedStorage`、`tabs`、`tabGroups`、`downloads`、`alarms`、`clipboard*`、`<all_urls>` — 且没有 `debugger`/`offscreen`/`tabCapture`,请参见下方的 Firefox 差异。)
| 权限 | 风险 | 缓解措施 |
|---|---|---|
@@ -105,7 +105,7 @@
| **循环检测** | 三个独立的检测器在智能体重复相同操作或振荡时停止它。重复点击循环可能包括精确的同标签页 XHR/fetch URL+方法提示,以便智能体可以切换到 `fetch_url` 而不是永远点击。限制持续注入提示的损害。 |
| **金融适配器** | 带有 `category: 'finance'` 的适配器注入额外的确认指导和警告横幅。 |
| **严格秘密处理** | 即使模型被越狱而引用秘密,也能防止凭证泄露。 |
-| **本地网络阻止** | 本地网络访问默认关闭。关闭本地网络访问时,会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。不检查 DNS 解析,因此其他主机名仍可能连接到本地地址。即使开启本地网络访问,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 `*.internal`/`*.local` 主机名仍会被阻止。 |
+| **本地网络阻止** | 本地网络访问默认关闭。关闭本地网络访问时,会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。`fetch_url`、`read_page_source` 和 `research_url` 还会阻止解析到这些地址的主机名:来自被阻止地址的响应会在模型看到之前被丢弃,Firefox 还会在发送前解析主机名并直接拒绝。在 Chrome 中,丢弃响应时请求已经到达该地址。即使开启本地网络访问,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 `*.internal`/`*.local` 主机名仍会被阻止。 |
### 未防御的内容
diff --git a/package.json b/package.json
index 9e53890ff..6a31ebbf5 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"test": "npm run test:failure-recovery && npm run test:shard:quick && npm run test:shard:runtime-unit && npm run test:shard:browser-a && npm run test:shard:browser-b1 && npm run test:shard:browser-b2 && npm run test:shard:browser-c && npm run test:shard:tail",
"test:failure-recovery": "node --test test/failure-recovery.mjs test/failure-recovery-ui.mjs test/clarify-run-end.mjs test/post-submit-model-recovery.mjs test/run-ui-response-retry.mjs test/ask-stream-retry-ui.mjs test/page-monitor-relaxed-retry.mjs && npm run test:quality:relaxed-monitoring-retry",
"test:quality:relaxed-monitoring-retry": "node test/quality/relaxed-monitoring-retry-mv3.mjs",
+ "test:quality:resolved-address": "node test/quality/resolved-address-mv3.mjs",
"test:captcha:ui": "node test/captcha-settings-ui.mjs && node test/captcha-application-ui.mjs && node --test test/captcha-draft-content.mjs test/captcha-challenge-surfaces.mjs",
"test:captcha:bridge:ui": "node test/captcha-callback-bridge-ui.mjs",
"test:cookie-banners": "node --test test/cookie-banner-host.mjs",
@@ -108,7 +109,7 @@
"test:shard:runtime-unit": "node --test test/skill-download-wait.mjs && node --test test/agent-lifecycle.mjs test/runtime-startup.mjs test/run-ui-scheduled-lifecycle.mjs test/transport-deadlines.mjs test/cdp-worker-restart.mjs test/bot-memory.mjs test/bot-memory-click-guard.mjs test/bot-memory-registries.mjs test/bot-memory-cloud-controller.mjs test/cdp-clear-receipt.mjs test/cdp-field-submit-recovery.mjs test/conversation-persistence.mjs test/context-live-tool-group.mjs test/integration-races.mjs test/watch-completion-checkpoint.mjs test/runtime-model-identity.mjs test/provider-message-privacy.mjs test/runtime-task-authority.mjs test/planner-repair-authority.mjs test/runtime-progress-continuation.mjs test/chat-resume-chain.mjs test/chat-resume-completion.mjs test/native-chat-execution-ledger.mjs test/chat-send-dispatch-result.mjs test/chat-pre-enter-veto.mjs test/chat-reply-dedup-race.mjs test/memcode-lifecycle.mjs test/runtime-peer-review.mjs test/read-continuation-schema.mjs test/completion-submit-acknowledgement.mjs test/completion-live-status.mjs test/completion-iframe-submit.mjs test/form-validation-alert-readings.mjs test/control-effect-readings.mjs test/guard-reading-carry-over.mjs test/trusted-retry-readings.mjs test/completion-semantic-commit.mjs test/completion-diagnostics.mjs test/mastodon-publication.mjs test/calculator.mjs test/chat-recovery-protocol.mjs test/chat-pending-reconciliation.mjs test/semantic-page-retry.mjs test/pdf-detection.mjs test/runtime-lifecycle.mjs test/collection-read-progress.mjs test/network-lifecycle.mjs test/text-write-cancellation.mjs test/guard-advisory-writes.mjs test/trusted-field-preparation.mjs test/draftjs-text.mjs test/codemirror-text.mjs test/rich-text-frameworks.mjs test/cdp-managed-text-selection.mjs test/firefox-rich-text-readback.mjs test/contenteditable-beforeinput.mjs test/trusted-field-preparation-ownership.mjs test/typing-preparation-geometry.mjs test/chat-steering.mjs test/resource-mutation-guards.mjs test/completion-steering-receipt-authority.mjs test/steering-revision-recovery.mjs test/pending-clarification-hydration.mjs test/run-ui-hidden-panel.mjs test/clarify-timeout-policy.mjs test/guard-ask-cards.mjs test/permission-steering-wakeup.mjs test/pure-calculation-reply.mjs test/pure-calculation-tools.mjs test/page-feedback.mjs test/page-feedback-progress.mjs test/page-feedback-unbindable-target.mjs test/guard-advisory-actions.mjs test/rich-text-preflight-page-change.mjs test/keyboard-receiver-frame.mjs test/ask-response-scope.mjs test/auto-mode.mjs test/plan-when-needed.mjs test/model-picker-icon.mjs test/ask-completion-churn.mjs test/page-feedback-policy.mjs test/research-escalation-page-feedback.mjs test/page-feedback-transport-races.mjs test/page-feedback-recovery.mjs test/telegram-read-preparation-agent.mjs test/media-download-agent-handler.mjs test/code-scanning-url-recipient.mjs test/apocalypse-comm-parsing.mjs test/apocalypse-scalar-decoding.mjs test/bitgpu-chat-security.mjs test/social-media-url-upgrades.mjs test/downloaded-file-saved-bytes.mjs test/downloaded-file-local-probe.mjs test/formless-verification-recovery.mjs test/file-upload-accept.mjs test/file-upload-accept-agent.mjs test/workflow-route-generic-completion.mjs test/release-publication-completion.mjs test/workflow-implicit-metadata.mjs test/workflow-field-readings.mjs test/workflow-field-anchors.mjs test/user-turn-kind.mjs test/follow-up-task-context.mjs test/completion-current-execution-evidence.mjs test/video-upload-attachment.mjs test/feedback-automatic-churn.mjs test/feedback-navigation-idle.mjs test/feedback-run-boundaries.mjs test/feedback-ask-viewing.mjs test/lifecycle-terminal-done.mjs test/incomplete-completion-recovery.mjs test/guard-advisory-completion.mjs test/lean-mode.mjs test/prompt-unverified-pages.mjs test/prompt-missing-values.mjs test/lifecycle-planner-digest.mjs test/planner-clarify-loop.mjs test/lifecycle-steering-latency.mjs test/lifecycle-steering-restart.mjs test/lifecycle-vision-fallback.mjs test/delivery-click-locks.mjs test/guards-steering-receipts.mjs test/terminal-user-messages.mjs test/improver-providers.mjs test/improver-providers-agent.mjs test/improver-guards-ledger.mjs test/improver-guards-tools.mjs test/improver-clarify.mjs test/improver-clarify-scheduler.mjs test/improver-misc.mjs test/improver-forms.mjs test/improver-forms-strict-secrets.mjs test/improver-content-press-keys-hint.mjs && npm run test:plan-notifications",
"test:shard:browser-a": "node --test test/captcha-draft-content.mjs test/captcha-challenge-surfaces.mjs && node test/bot-memory-dom.mjs && node test/bot-memory-click-dom.mjs && node test/ui-content-lifecycle.mjs && node --test test/native-telegram-chat.mjs test/native-telegram-recipient.mjs test/telegram-native-baseline.mjs test/telegram-native-latest.mjs test/native-chat-pre-enter-draft.mjs test/chat-draft-dispatch-ownership.mjs test/native-telegram-alias-preparation.mjs test/telegram-read-preparation-content.mjs test/queued-composer-ownership.mjs test/onboarding-provider-ready.mjs test/sidepanel-permission-gate-ui.mjs test/model-picker-status-ui.mjs test/workflow-native-targets.mjs test/native-whatsapp-chat.mjs test/native-chat-context-identity.mjs test/native-whatsapp-contact.mjs test/whatsapp-chat-selection.mjs test/whatsapp-native-bootstrap.mjs test/whatsapp-drawer-identity.mjs test/whatsapp-read-latest.mjs test/whatsapp-read-preparation.mjs test/whatsapp-chat-completion.mjs test/whatsapp-chat-restart.mjs test/chat-goal-lifecycle.mjs test/chat-completion.mjs test/chat-generic-dispatch.mjs test/completion-live-status-browser.mjs test/native-confirmation-visibility.mjs test/native-button-preparation.mjs test/read-continuation-browser.mjs test/iframe-preparation-focus.mjs test/contenteditable-literal.mjs test/native-chat-empty-editor.mjs test/native-chat-trusted-clear.mjs test/chat-steering-ui.mjs test/activity-brain-ui.mjs test/recipient-confirmation-ui.mjs test/assistant-message-visibility-ui.mjs test/slash-command-timeline-ui.mjs test/page-monitor-ui.mjs test/x-compose-trusted-typing.mjs test/page-monitor-dialog.mjs test/page-monitor-dialog-native.mjs test/page-monitor-inline-post.mjs test/bluesky-composer-context.mjs test/page-monitor-anchored.mjs test/page-monitor-upload-owner.mjs test/page-monitor-upload-release.mjs test/page-monitor-native-controls.mjs test/page-monitor-native-preparation.mjs test/native-preparation-cold.mjs test/page-monitor-navigation.mjs test/page-monitor-main-owner.mjs test/page-monitor-collateral-controls.mjs test/accessibility-tree-scoped-budget.mjs test/ax-reference-origin.mjs test/page-monitor-decorative-hit.mjs test/social-ui-navigation.mjs test/native-resource-deletion-binding.mjs test/native-mastodon-confirmation.mjs test/dropdown-menu-inventory.mjs test/page-monitor-passive-progress.mjs test/page-monitor-feed-items.mjs test/media-download-binding.mjs test/media-download-capture-integration.mjs test/social-media-downloader-reinjection.mjs test/upload-file-local-state-guidance.mjs test/monitor-intervention-contract.mjs test/monitor-owned-geometry.mjs test/monitor-viewport-remainder.mjs test/monitor-scroll-churn.mjs test/monitor-local-attribution.mjs test/monitor-lifecycle-leaks.mjs test/lifecycle-run-ui.mjs test/lifecycle-menu-prompts-held.mjs test/delivery-cdp-input.mjs test/delivery-click-ax-response-loss.mjs test/delivery-native-button-geometry.mjs test/delivery-hover-transition.mjs test/delivery-native-button-route.mjs test/delivery-dispatch-boundary.mjs test/delivery-stop-compound.mjs test/guards-control-classification.mjs test/guards-unbound-deletion.mjs test/submit-probe-readings.mjs test/declined-submission-identity.mjs test/improver-content-account-chrome.mjs test/improver-content-recipient.mjs test/improver-content-truncated-replacement.mjs test/improver-forms-probe.mjs test/improver-misc-trace-browser.mjs test/page-feedback-held-time.mjs test/page-monitor-held-observation.mjs",
"test:shard:browser-b1": "node test/message-recipient-upload.mjs && node test/message-recipient-clarify-binding.mjs && node --test test/message-recipient-whatsapp.mjs test/message-control-readings.mjs && node test/quality/integration-mv3.mjs --full-form && node test/quality/integration-mv3.mjs --batch && node test/quality/literal-calculate-midrun-mv3.mjs && node test/quality/ask-completion-churn-mv3.mjs && node test/quality/ask-person-activity-mv3.mjs && node test/quality/telegram-cold-preparation-mv3.mjs && node test/quality/native-chat-mv3.mjs && node test/quality/native-chat-presubmit-mv3.mjs && node test/quality/cloud-bot-memory-mv3.mjs",
- "test:shard:browser-b2": "node test/quality/whatsapp-contact-matrix.mjs && node test/quality/pdf-detection-mv3.mjs && node test/quality/download-upload-mv3.mjs && node test/quality/upload-release-binding-mv3.mjs && node test/quality/upload-release-binding-mv3.mjs --selector-recovery && node test/quality/upload-release-binding-mv3.mjs --sequential-assets && node test/quality/release-review-world-mv3.mjs && node test/quality/downloaded-file-saved-bytes-mv3.mjs && node test/quality/file-upload-accept-mv3.mjs && node test/quality/bulk-resume-mv3.mjs && node test/quality/shared-action-guards-mv3.mjs && node test/quality/video-upload-attachment-mv3.mjs && node --test test/iframe-probe-match-index.mjs",
+ "test:shard:browser-b2": "node test/quality/whatsapp-contact-matrix.mjs && node test/quality/pdf-detection-mv3.mjs && node test/quality/download-upload-mv3.mjs && node test/quality/upload-release-binding-mv3.mjs && node test/quality/upload-release-binding-mv3.mjs --selector-recovery && node test/quality/upload-release-binding-mv3.mjs --sequential-assets && node test/quality/release-review-world-mv3.mjs && node test/quality/downloaded-file-saved-bytes-mv3.mjs && npm run test:quality:resolved-address && node test/quality/file-upload-accept-mv3.mjs && node test/quality/bulk-resume-mv3.mjs && node test/quality/shared-action-guards-mv3.mjs && node test/quality/video-upload-attachment-mv3.mjs && node --test test/iframe-probe-match-index.mjs",
"test:shard:browser-c": "node test/quality/literal-frame-mv3.mjs && node test/quality/mastodon-publication-mv3.mjs && node test/quality/mastodon-reply-route-mv3.mjs && node test/quality/mastodon-deletion-mv3.mjs && node test/quality/mastodon-delete-confirmation-mv3.mjs && node test/quality/mastodon-delete-confirmation-mv3.mjs --menu-read && node test/quality/mastodon-delete-confirmation-mv3.mjs --vague && node test/quality/mastodon-delete-after-correction-mv3.mjs && node test/quality/unbound-deletion-mv3.mjs && node test/quality/recipient-clarify-mv3.mjs && node test/quality/open-chat-recipients-mv3.mjs && node test/quality/correction-cross-site-mv3.mjs && node test/quality/anchored-action-mv3.mjs && node test/quality/inline-social-composer-mv3.mjs && node test/quality/x-compose-dialog-mv3.mjs && node test/quality/bluesky-composer-mv3.mjs && node test/quality/dropdown-menu-matrix.mjs && node test/quality/mastodon-deletion-navigation-mv3.mjs && node test/quality/semantic-navigation-matrix.mjs && node test/quality/workflow-replay-mv3.mjs && node test/quality/generative-media-mv3.mjs && node test/quality/cdp-worker-restart-mv3.mjs && node test/quality/steering-worker-restart-mv3.mjs && npm run test:vision-mode",
"test:shard:tail": "node test/run.js && node test/selection-scope-restoration.mjs && node scripts/benchmark-offline-relevance.mjs && npm run test:security && node --test test/placeholder-submit-probe.mjs",
"test:composer-context": "node --test test/page-monitor-inline-post.mjs test/bluesky-composer-context.mjs && node test/quality/inline-social-composer-mv3.mjs && node test/quality/x-compose-dialog-mv3.mjs && node test/quality/bluesky-composer-mv3.mjs",
diff --git a/src/chrome/src/network/network-tools.js b/src/chrome/src/network/network-tools.js
index c9298234c..8c4793ec4 100644
--- a/src/chrome/src/network/network-tools.js
+++ b/src/chrome/src/network/network-tools.js
@@ -328,6 +328,109 @@ export function validateFetchUrl(rawUrl, opts = {}) {
return { ok: true };
}
+// ─── Resolved-address check ─────────────────────────────────────────────
+
+// validateFetchUrl() sees only the URL text, so a public hostname whose DNS
+// answer is loopback, RFC1918, unique-local or link-local (cloud metadata)
+// passes it. Chrome gives extensions no DNS API and fetch() cannot pin a
+// socket, so the tools read the address the browser actually connected to
+// from webRequest (details.ip, also reported for HTTP-cache hits) and discard
+// the response when that address is blocked. The request itself has already
+// reached that address by then. With a proxy, details.ip is the proxy's
+// address, so a proxy on a private address needs local-network access.
+const RESPONSE_ADDRESS_WAIT_MS = 1500;
+const RESPONSE_ADDRESS_EVENTS = ['onBeforeRedirect', 'onResponseStarted', 'onErrorOccurred'];
+
+/**
+ * Classify a resolved address with the same tiers as validateFetchUrl():
+ * metadata/link-local, CGNAT, multicast and unspecified are always blocked;
+ * loopback, RFC1918 and unique-local only while local-network access is off.
+ * IPv4-mapped IPv6 is decoded and classified as IPv4.
+ */
+export function validateResolvedAddress(address, opts = {}) {
+ let ip = String(address || '').trim().toLowerCase();
+ if (ip.startsWith('[') && ip.endsWith(']')) ip = ip.slice(1, -1);
+ const literal = ip.includes(':') ? `[${ip}]` : ip;
+ let host = '';
+ try { host = new URL(`http://${literal}/`).hostname; } catch (_) {}
+ if (!/^\d+\.\d+\.\d+\.\d+$/.test(host) && !host.startsWith('[')) {
+ return { ok: false, error: `Invalid resolved address: ${address}` };
+ }
+ return validateFetchUrl(`http://${host}/`, opts);
+}
+
+function blockedAddressError(url, reason) {
+ let host = '';
+ try { host = new URL(url).hostname; } catch (_) {}
+ return `${host || url} resolved to a blocked address. ${reason}`;
+}
+
+/**
+ * Record the address each matching webRequest event reports. keyOf(details)
+ * names the request or tab an event belongs to (null to ignore it). Returns
+ * null when webRequest is unavailable.
+ */
+function watchResponseAddresses(filter, keyOf, allowLocal) {
+ const webRequest = globalThis.chrome?.webRequest;
+ if (RESPONSE_ADDRESS_EVENTS.some(name => typeof webRequest?.[name]?.addListener !== 'function')) return null;
+ const seen = new Set();
+ const failures = new Map();
+ const waiters = new Set();
+ const listener = (details) => {
+ const key = keyOf(details);
+ if (key == null) return;
+ seen.add(key);
+ if (details.ip && !failures.has(key)) {
+ const check = validateResolvedAddress(details.ip, { allowLocalNetwork: allowLocal });
+ if (!check.ok) failures.set(key, blockedAddressError(details.url, check.error));
+ }
+ for (const wake of waiters) wake();
+ };
+ const added = [];
+ try {
+ for (const name of RESPONSE_ADDRESS_EVENTS) {
+ webRequest[name].addListener(listener, { urls: ['<all_urls>'], ...filter });
+ added.push(name);
+ }
+ } catch (_) {
+ for (const name of added) webRequest[name].removeListener(listener);
+ return null;
+ }
+ return {
+ failure: key => failures.get(key) || null,
+ // fetch() and webRequest events are delivered separately, so fetch() can
+ // resolve before the response's event arrives. Wait briefly for it.
+ async settledFailure(key, timeoutMs = RESPONSE_ADDRESS_WAIT_MS) {
+ if (!seen.has(key)) {
+ await new Promise((resolve) => {
+ const done = () => { clearTimeout(timer); waiters.delete(wake); resolve(); };
+ const wake = () => { if (seen.has(key)) done(); };
+ const timer = setTimeout(done, timeoutMs);
+ waiters.add(wake);
+ });
+ }
+ return failures.get(key) || null;
+ },
+ close() {
+ for (const name of added) {
+ try { webRequest[name].removeListener(listener); } catch (_) {}
+ }
+ },
+ };
+}
+
+// The extension's own background fetch: tab -1, keyed by its URL (webRequest
+// reports URLs without the fragment).
+function watchFetchAddresses(url, allowLocal) {
+ let target;
+ try {
+ const u = new URL(url);
+ u.hash = '';
+ target = u.href;
+ } catch (_) { return null; }
+ return watchResponseAddresses({ tabId: -1 }, d => (d.url === target ? 'fetch' : null), allowLocal);
+}
+
// ─── Same-eTLD+1 cookie policy ──────────────────────────────────────────
/**
@@ -1991,6 +2094,7 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
}
const deadline = networkRequestDeadline(ctx);
+ const addresses = watchFetchAddresses(targetUrl, allowLocal);
let res;
try {
if (deadline.signal.aborted) throw responseAbortError(deadline.signal);
@@ -2001,6 +2105,8 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
signal: deadline.signal,
});
rejectNetworkRedirect(res);
+ const addressFailure = await addresses?.settledFailure('fetch');
+ if (addressFailure) return { success: false, error: addressFailure };
if (res.url && res.url !== targetUrl) {
const v2 = validateFetchUrl(res.url, { allowLocalNetwork: allowLocal });
@@ -2072,6 +2178,7 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
} catch (e) {
return { success: false, error: `read_page_source failed: ${e.message}` };
} finally {
+ addresses?.close();
deadline.dispose();
try { Promise.resolve(res?.body?.cancel()).catch(() => {}); } catch {}
}
@@ -2126,6 +2233,7 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
}
const deadline = networkRequestDeadline(ctx);
+ const addresses = watchFetchAddresses(url, allowLocal);
let res;
try {
if (deadline.signal.aborted) throw responseAbortError(deadline.signal);
@@ -2138,6 +2246,8 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
signal: deadline.signal,
});
rejectNetworkRedirect(res);
+ const addressFailure = await addresses?.settledFailure('fetch');
+ if (addressFailure) return { success: false, error: addressFailure };
// Re-validate the final URL after redirects. If a redirect landed on a
// blocked host, discard the body. If cookies were attached and the
@@ -2230,6 +2340,7 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
} catch (e) {
return { success: false, error: `Fetch failed: ${e.message}` };
} finally {
+ addresses?.close();
deadline.dispose();
try { Promise.resolve(res?.body?.cancel()).catch(() => {}); } catch {}
}
@@ -2261,6 +2372,10 @@ export async function researchUrl(url, opts = {}) {
const urlCheck = validateFetchUrl(url, { allowLocalNetwork: getAllowLocalNetwork() });
if (!urlCheck.ok) return { success: false, error: `URL is blocked: ${urlCheck.error}` };
const timeoutMs = Math.min(opts.timeout || 8000, 30000);
+ // Addresses of the hidden tab's top-level responses, redirect hops
+ // included. The tab id exists only after tabs.create() has started the
+ // navigation, so record main frames by tab from the start.
+ const addresses = watchResponseAddresses({ types: ['main_frame'] }, d => d.tabId, getAllowLocalNetwork());
let createdTab = null;
try {
const createProps = { url, active: false };
@@ -2305,6 +2420,8 @@ export async function researchUrl(url, opts = {}) {
if (!loadedUrlCheck.ok) {
return { success: false, error: `Redirect to blocked URL: ${loadedUrlCheck.error}`, finalUrl: loadedTab?.url || '' };
}
+ const loadedAddress = addresses?.failure(tabId);
+ if (loadedAddress) return { success: false, error: loadedAddress, finalUrl: loadedTab?.url || '' };
// Extract content via injected script. Strips chrome (header/nav/footer)
// so we get the actual article/main content rather than navigation.
@@ -2339,6 +2456,8 @@ export async function researchUrl(url, opts = {}) {
if (!resultUrlCheck.ok) {
return { success: false, error: `Redirect to blocked URL: ${resultUrlCheck.error}`, finalUrl: result.url || '' };
}
+ const resultAddress = addresses?.failure(tabId);
+ if (resultAddress) return { success: false, error: resultAddress, finalUrl: result.url || '' };
return {
success: true,
@@ -2355,6 +2474,7 @@ export async function researchUrl(url, opts = {}) {
} catch (e) {
return { success: false, error: `research_url failed: ${e.message}` };
} finally {
+ addresses?.close();
if (createdTab?.id != null) {
chrome.tabs.remove(createdTab.id).catch(() => {});
}
diff --git a/src/chrome/src/ui/locales/ar.js b/src/chrome/src/ui/locales/ar.js
index 1f9c542b4..41bd96759 100644
--- a/src/chrome/src/ui/locales/ar.js
+++ b/src/chrome/src/ui/locales/ar.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'تسجيل التتبّعات (لمقارنة النماذج)',
'st.display.tracing.desc_html': 'حفظ كل تشغيل (طلبات LLM، الاستجابات، استدعاءات الأدوات، لقطات الشاشة) في IndexedDB المحلية حتى تتمكّن من فحص النماذج ومقارنتها جنبًا إلى جنب، بما في ذلك المطالبات والرسائل ومخططات الأدوات الكاملة لكل طلب نموذج لغوي وما يصل إلى 200 كيلوبايت من كل نتيجة أداة. يُفتح في علامة تبويب «التتبّعات» منفصلة. مُعطَّل افتراضيًا لأنه يكتب محتوى محادثتك محليًا ويستهلك مساحة أكبر بكثير. <a href="traces.html" target="_blank" style="color:var(--accent);">افتح صفحة التتبّعات →</a>',
'st.display.allow_local_network.label': 'السماح للوكيل بالوصول إلى الشبكة المحلية',
- 'st.display.allow_local_network.desc': 'يسمح لأداة fetch_url للوكيل بالوصول إلى عناوين loopback (127.0.0.1، localhost) وعناوين RFC1918 الخاصة (10.x، 192.168.x، 172.16–31.x). مفيد لخوادم التطوير المحلية، وأدوات الإنترانت، وواجهات API ذاتية الاستضافة. مُعطَّل افتراضيًا. عند تعطيله، تُحظر عناوين IP الخاصة وloopback المكتوبة في URL وأسماء localhost. لا يتم فحص تحليل DNS، لذا قد تصل أسماء أخرى إلى عناوين محلية. تظل عناوين IP الحرفية لبيانات السحابة (169.254.169.254) وأسماء بيانات السحابة المدرجة أو *.internal/*.local محظورة حتى عند التفعيل.',
+ 'st.display.allow_local_network.desc': 'يسمح لأداة fetch_url للوكيل بالوصول إلى عناوين loopback (127.0.0.1، localhost) وعناوين RFC1918 الخاصة (10.x، 192.168.x، 172.16–31.x). مفيد لخوادم التطوير المحلية، وأدوات الإنترانت، وواجهات API ذاتية الاستضافة. مُعطَّل افتراضيًا. عند تعطيله، تُحظر عناوين IP الخاصة وloopback المكتوبة في URL وأسماء localhost. وتُحظر أيضًا أسماء المضيفين التي تُحلَّل إلى هذه العناوين. تظل عناوين IP الحرفية لبيانات السحابة (169.254.169.254) وأسماء بيانات السحابة المدرجة أو *.internal/*.local محظورة حتى عند التفعيل.',
'st.display.notify_sound.label': "أصوات الإشعارات",
'st.display.notify_sound.desc': "تشغيل صوت مميز للخطط التي تنتظر المراجعة ونغمة قصيرة عند إكمال مهمة أو طلب توضيح. لا يصدر صوت عند إلغاء التشغيل.",
'st.display.completion_confetti.label': 'قصاصات احتفال عند الإكمال',
diff --git a/src/chrome/src/ui/locales/bn.js b/src/chrome/src/ui/locales/bn.js
index 339bbd17d..03f0a0b55 100644
--- a/src/chrome/src/ui/locales/bn.js
+++ b/src/chrome/src/ui/locales/bn.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': "কঠোর গোপন হ্যান্ডলিং",
'st.display.strict_secret.desc': "সারাংশ বা সহকারী টেক্সটে শংসাপত্র (পাসওয়ার্ড, API কী, টোকেন, ওটিপি) উদ্ধৃত করতে অস্বীকার করুন — এমনকি আপনি যখন স্পষ্টভাবে তাদের জন্য জিজ্ঞাসা করেন। আপনি যদি নিয়মিত ট্রেস ফাইল বা স্ক্রিন-শেয়ার করেন তবে দরকারী। ডিফল্টরূপে বন্ধ: এজেন্ট আপনার জিজ্ঞাসা করা নির্দিষ্ট মান, প্রয়োজনে পুনরায় বলতে পারে। `done` সারাংশ পরিপাটি রাখতে এবং শংসাপত্র কখনও পুনরাবৃত্তি না করতে চাইলে এটি চালু করুন।",
'st.display.allow_local_network.label': "এজেন্টকে স্থানীয় নেটওয়ার্ক অ্যাক্সেস করার অনুমতি দিন",
- 'st.display.allow_local_network.desc': "এজেন্টের fetch_url টুলকে লুপব্যাকে (127.0.0.1, localhost) এবং ব্যক্তিগত/RFC1918 ঠিকানায় (10.x, 192.168.x, 172.16–31.x) পৌঁছাতে দেয়। স্থানীয় ডেভ সার্ভার, ইন্ট্রানেট টুল বা স্ব-হোস্টেড API-এর জন্য দরকারী। ডিফল্টরূপে বন্ধ। বন্ধ থাকলে URL-এ সরাসরি লেখা ব্যক্তিগত ও লুপব্যাক IP ঠিকানা এবং localhost নাম ব্লক থাকে। DNS রেজল্যুশন পরীক্ষা করা হয় না, তাই অন্য হোস্টনাম স্থানীয় ঠিকানায় পৌঁছাতে পারে। ক্লাউড-মেটাডেটার সরাসরি IP ঠিকানা (169.254.169.254) এবং তালিকাভুক্ত মেটাডেটা বা *.internal/*.local হোস্টনাম চালু থাকলেও ব্লক থাকে।",
+ 'st.display.allow_local_network.desc': "এজেন্টের fetch_url টুলকে লুপব্যাকে (127.0.0.1, localhost) এবং ব্যক্তিগত/RFC1918 ঠিকানায় (10.x, 192.168.x, 172.16–31.x) পৌঁছাতে দেয়। স্থানীয় ডেভ সার্ভার, ইন্ট্রানেট টুল বা স্ব-হোস্টেড API-এর জন্য দরকারী। ডিফল্টরূপে বন্ধ। বন্ধ থাকলে URL-এ সরাসরি লেখা ব্যক্তিগত ও লুপব্যাক IP ঠিকানা এবং localhost নাম ব্লক থাকে। যে হোস্টনাম এমন ঠিকানায় রেজলভ হয়, সেগুলিও ব্লক থাকে। ক্লাউড-মেটাডেটার সরাসরি IP ঠিকানা (169.254.169.254) এবং তালিকাভুক্ত মেটাডেটা বা *.internal/*.local হোস্টনাম চালু থাকলেও ব্লক থাকে।",
'st.display.scheduled_tasks.label': "নির্ধারিত কাজ",
'st.display.scheduled_tasks.desc': "WebBrain কে পিছিয়ে যাওয়া কাজ পুনরায় শুরু করতে এবং ব্রাউজার অ্যালার্ম ব্যবহার করে ওয়ান-শট বা পুনরাবৃত্ত নির্ধারিত কাজ চালানোর অনুমতি দিন। ডিফল্টরূপে চালু",
'st.display.scheduled_confirm.label': "নির্ধারিত ফলাফলমূলক কর্ম নিশ্চিত করুন",
diff --git a/src/chrome/src/ui/locales/en.js b/src/chrome/src/ui/locales/en.js
index 39d885745..8031a8472 100644
--- a/src/chrome/src/ui/locales/en.js
+++ b/src/chrome/src/ui/locales/en.js
@@ -837,7 +837,7 @@ export default {
'st.display.strict_secret.label': 'Strict secret handling',
'st.display.strict_secret.desc': 'Refuse to quote credentials (passwords, API keys, tokens, OTPs) in summaries or assistant text — even when you explicitly ask for them. Useful if you regularly share trace files or screen-share. Off by default so the agent can echo the exact value you ask for when you need it. Turn it on when you want `done` summaries kept tidy and credentials never repeated.',
'st.display.allow_local_network.label': 'Allow agent to access local network',
- 'st.display.allow_local_network.desc': 'Lets the agent\'s fetch_url tool reach loopback (127.0.0.1, localhost) and private/RFC1918 addresses (10.x, 192.168.x, 172.16–31.x). Useful for local dev servers, intranet tools, or self-hosted APIs. Off by default. When off, URLs written with private or loopback IP literals and localhost names are blocked. DNS resolution is not checked, so other hostnames may still reach local addresses. Cloud-metadata IP literals (169.254.169.254) and listed metadata or *.internal/*.local hostnames stay blocked even when on.',
+ 'st.display.allow_local_network.desc': 'Lets the agent\'s fetch_url tool reach loopback (127.0.0.1, localhost) and private/RFC1918 addresses (10.x, 192.168.x, 172.16–31.x). Useful for local dev servers, intranet tools, or self-hosted APIs. Off by default. When off, URLs written with private or loopback IP literals and localhost names are blocked. Hostnames that resolve to such addresses are blocked too. Cloud-metadata IP literals (169.254.169.254) and listed metadata or *.internal/*.local hostnames stay blocked even when on.',
'st.display.scheduled_tasks.label': 'Scheduled tasks',
'st.display.scheduled_tasks.desc': 'Allow WebBrain to resume deferred work and run one-shot or recurring scheduled tasks using browser alarms. On by default.',
'st.display.scheduled_confirm.label': 'Confirm scheduled consequential actions',
diff --git a/src/chrome/src/ui/locales/es.js b/src/chrome/src/ui/locales/es.js
index 62db780bb..85ab81994 100644
--- a/src/chrome/src/ui/locales/es.js
+++ b/src/chrome/src/ui/locales/es.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Registrar trazas (para comparar modelos)',
'st.display.tracing.desc_html': 'Guarda cada ejecución (peticiones al LLM, respuestas, llamadas a herramientas, capturas) en IndexedDB local para que puedas inspeccionar y comparar modelos lado a lado, incluidos los prompts, mensajes y esquemas de herramientas completos de cada solicitud LLM y hasta 200 KB de cada resultado de herramienta. Se abre en una pestaña de Trazas aparte. Desactivado por defecto porque escribe el contenido de tu conversación localmente y usa mucho más disco. <a href="traces.html" target="_blank" style="color:var(--accent);">Abrir página de Trazas →</a>',
'st.display.allow_local_network.label': 'Permitir al agente acceder a la red local',
- 'st.display.allow_local_network.desc': 'Permite que la herramienta fetch_url del agente alcance direcciones loopback (127.0.0.1, localhost) y privadas/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desarrollo locales, herramientas de intranet o APIs auto-alojadas. Desactivado por defecto. Al desactivarlo, se bloquean las URL escritas con IP privadas o de loopback y nombres localhost. No se comprueba la resolución DNS, por lo que otros nombres de host pueden alcanzar direcciones locales. Las IP literales de metadatos de la nube (169.254.169.254) y los nombres de metadatos incluidos en la lista o *.internal/*.local siguen bloqueados incluso al activarlo.',
+ 'st.display.allow_local_network.desc': 'Permite que la herramienta fetch_url del agente alcance direcciones loopback (127.0.0.1, localhost) y privadas/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desarrollo locales, herramientas de intranet o APIs auto-alojadas. Desactivado por defecto. Al desactivarlo, se bloquean las URL escritas con IP privadas o de loopback y nombres localhost. También se bloquean los nombres de host que se resuelven a esas direcciones. Las IP literales de metadatos de la nube (169.254.169.254) y los nombres de metadatos incluidos en la lista o *.internal/*.local siguen bloqueados incluso al activarlo.',
'st.display.notify_sound.label': "Sonidos de notificación",
'st.display.notify_sound.desc': "Reproduce un sonido distinto para los planes pendientes de revisión y un tono corto al terminar una tarea o pedir una aclaración. No suena si cancelas la ejecución.",
'st.display.completion_confetti.label': 'Confeti al completar',
diff --git a/src/chrome/src/ui/locales/fa.js b/src/chrome/src/ui/locales/fa.js
index 399ecf839..18c71306d 100644
--- a/src/chrome/src/ui/locales/fa.js
+++ b/src/chrome/src/ui/locales/fa.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': "برخورد محرمانه دقیق",
'st.display.strict_secret.desc': "از نقل قول اعتبارنامه ها (گذرواژه، کلیدهای API، نشانه ها، OTPها) در خلاصه ها یا متن دستیار خودداری کنید - حتی زمانی که صریحاً آنها را درخواست می کنید. اگر به طور منظم فایل های ردیابی یا اشتراک گذاری صفحه را به اشتراک می گذارید مفید است. به‌طور پیش‌فرض خاموش است تا نماینده بتواند در صورت نیاز مقدار دقیقی را که درخواست می‌کنید بازگو کند. وقتی می‌خواهید خلاصه‌های `done` مرتب بمانند و اعتبارنامه‌ها هرگز تکرار نشوند، آن را روشن کنید.",
'st.display.allow_local_network.label': "به عامل اجازه دسترسی به شبکه محلی را بدهید",
- 'st.display.allow_local_network.desc': "به ابزار fetch_url عامل اجازه می‌دهد به آدرس‌های Loopback (127.0.0.1، localhost) و خصوصی/RFC1918 (10.x، 192.168.x، 172.16–31.x) دسترسی پیدا کند. برای سرورهای توسعه دهنده محلی، ابزارهای اینترانت یا APIهای خود میزبان مفید است. به‌طور پیش‌فرض خاموش است. وقتی خاموش است، URLهایی که در آن‌ها IP خصوصی یا Loopback به‌صورت مستقیم نوشته شده و نام‌های localhost مسدود می‌شوند. نتیجهٔ DNS بررسی نمی‌شود، پس نام‌های میزبان دیگر ممکن است به آدرس‌های محلی برسند. IPهای مستقیم ابردادهٔ ابری (169.254.169.254) و نام‌های فهرست‌شدهٔ ابرداده یا *.internal/*.local حتی در صورت روشن بودن مسدود می‌مانند.",
+ 'st.display.allow_local_network.desc': "به ابزار fetch_url عامل اجازه می‌دهد به آدرس‌های Loopback (127.0.0.1، localhost) و خصوصی/RFC1918 (10.x، 192.168.x، 172.16–31.x) دسترسی پیدا کند. برای سرورهای توسعه دهنده محلی، ابزارهای اینترانت یا APIهای خود میزبان مفید است. به‌طور پیش‌فرض خاموش است. وقتی خاموش است، URLهایی که در آن‌ها IP خصوصی یا Loopback به‌صورت مستقیم نوشته شده و نام‌های localhost مسدود می‌شوند. نام‌های میزبانی که به این آدرس‌ها ترجمه می‌شوند نیز مسدود می‌شوند. IPهای مستقیم ابردادهٔ ابری (169.254.169.254) و نام‌های فهرست‌شدهٔ ابرداده یا *.internal/*.local حتی در صورت روشن بودن مسدود می‌مانند.",
'st.display.scheduled_tasks.label': "وظایف برنامه ریزی شده",
'st.display.scheduled_tasks.desc': "به WebBrain اجازه دهید کار معوق را از سر بگیرد و کارهای برنامه ریزی شده یکباره یا تکراری را با استفاده از آلارم های مرورگر اجرا کند. به طور پیش فرض روشن است.",
'st.display.scheduled_confirm.label': "اقدامات بعدی برنامه ریزی شده را تأیید کنید",
diff --git a/src/chrome/src/ui/locales/fr.js b/src/chrome/src/ui/locales/fr.js
index 38de3e4d1..e85d59f2a 100644
--- a/src/chrome/src/ui/locales/fr.js
+++ b/src/chrome/src/ui/locales/fr.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Enregistrer les traces (pour comparer des modèles)',
'st.display.tracing.desc_html': "Conserve chaque exécution (requêtes LLM, réponses, appels d'outils, captures) dans IndexedDB local pour pouvoir inspecter et comparer les modèles côte à côte, y compris les prompts, messages et schémas d'outils complets de chaque requête LLM et jusqu'à 200 Ko de chaque résultat d'outil. S'ouvre dans un onglet Traces distinct. Désactivé par défaut car cela écrit localement le contenu de votre conversation et utilise beaucoup plus d'espace disque. <a href=\"traces.html\" target=\"_blank\" style=\"color:var(--accent);\">Ouvrir la page Traces →</a>",
'st.display.allow_local_network.label': 'Autoriser l\'agent à accéder au réseau local',
- 'st.display.allow_local_network.desc': 'Permet à l\'outil fetch_url de l\'agent d\'atteindre les adresses loopback (127.0.0.1, localhost) et privées/RFC1918 (10.x, 192.168.x, 172.16–31.x). Utile pour les serveurs de dev locaux, outils intranet ou API auto-hébergées. Désactivé par défaut. Lorsqu’il est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. La résolution DNS n’est pas vérifiée : d’autres noms peuvent encore atteindre des adresses locales. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou *.internal/*.local restent bloqués même lorsqu’il est activé.',
+ 'st.display.allow_local_network.desc': 'Permet à l\'outil fetch_url de l\'agent d\'atteindre les adresses loopback (127.0.0.1, localhost) et privées/RFC1918 (10.x, 192.168.x, 172.16–31.x). Utile pour les serveurs de dev locaux, outils intranet ou API auto-hébergées. Désactivé par défaut. Lorsqu’il est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. Les noms d’hôte résolus vers ces adresses sont également bloqués. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou *.internal/*.local restent bloqués même lorsqu’il est activé.',
'st.display.notify_sound.label': "Sons de notification",
'st.display.notify_sound.desc': "Joue un son distinct pour les plans en attente de validation et un court carillon à la fin d’une tâche ou pour demander une précision. Aucun son si vous annulez l’exécution.",
'st.display.completion_confetti.label': 'Confettis de fin',
diff --git a/src/chrome/src/ui/locales/he.js b/src/chrome/src/ui/locales/he.js
index 57f414e2a..1e4cdc4f6 100644
--- a/src/chrome/src/ui/locales/he.js
+++ b/src/chrome/src/ui/locales/he.js
@@ -813,7 +813,7 @@ export default {
"st.display.strict_secret.label": "טיפול סודי קפדני",
"st.display.strict_secret.desc": "מנע ציטוט של פרטי גישה (סיסמאות, מפתחות API, אסימונים וקודים חד-פעמיים) בסיכומים או בתשובות — גם אם ביקשת אותם במפורש. שימושי בעת שיתוף עקבות או מסך. כבוי כברירת מחדל כדי שהסוכן יוכל לחזור על הערך המדויק שביקשת כשתצטרך אותו. הפעל אותו כשאתה רוצה שסיכומי `done` יישארו מסודרים ופרטי גישה לא יחזרו על עצמם.",
"st.display.allow_local_network.label": "אפשר לסוכן לגשת לרשת המקומית",
- "st.display.allow_local_network.desc": "נותן לסוכן fetch_url לולאה חוזרת של כלי הגעה (127.0.0.1, localhost) ו-private/RFC1918 כתובות (10.x, 192.168.x, 172.16–31.x). שימושי עבור שרתי פיתוח מקומיים, כלי אינטראנט או ממשקי API מתארחים בעצמם. כבוי כברירת מחדל. כשהוא כבוי, כתובות URL שבהן נכתבה ישירות כתובת IP פרטית או loopback ושמות localhost נחסמים. פתרון DNS אינו נבדק, ולכן שמות מארח אחרים עדיין עשויים להגיע לכתובות מקומיות. כתובות IP ישירות של מטא־נתוני ענן (169.254.169.254) ושמות מטא־נתונים שברשימה או *.internal/*.local נשארים חסומים גם כשהאפשרות מופעלת.",
+ "st.display.allow_local_network.desc": "נותן לסוכן fetch_url לולאה חוזרת של כלי הגעה (127.0.0.1, localhost) ו-private/RFC1918 כתובות (10.x, 192.168.x, 172.16–31.x). שימושי עבור שרתי פיתוח מקומיים, כלי אינטראנט או ממשקי API מתארחים בעצמם. כבוי כברירת מחדל. כשהוא כבוי, כתובות URL שבהן נכתבה ישירות כתובת IP פרטית או loopback ושמות localhost נחסמים. גם שמות מארח שמתורגמים לכתובות כאלה נחסמים. כתובות IP ישירות של מטא־נתוני ענן (169.254.169.254) ושמות מטא־נתונים שברשימה או *.internal/*.local נשארים חסומים גם כשהאפשרות מופעלת.",
"st.display.scheduled_tasks.label": "משימות מתוזמנות",
"st.display.scheduled_tasks.desc": "לְהַתִיר WebBrain כדי לחדש עבודה דחויה ולהפעיל משימות מתוזמנות חד פעמיות או חוזרות באמצעות אזעקות דפדפן. פועל כברירת מחדל.",
"st.display.scheduled_confirm.label": "אשר פעולות תוצאתיות מתוזמנות",
diff --git a/src/chrome/src/ui/locales/hi.js b/src/chrome/src/ui/locales/hi.js
index 1ba4480a0..43b4774d3 100644
--- a/src/chrome/src/ui/locales/hi.js
+++ b/src/chrome/src/ui/locales/hi.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': "सख्त गुप्त संचालन",
'st.display.strict_secret.desc': "सारांश या सहायक पाठ में क्रेडेंशियल (पासवर्ड, एपीआई कुंजी, टोकन, ओटीपी) उद्धृत करने से इनकार करें - भले ही आप स्पष्ट रूप से उनके लिए पूछें। उपयोगी यदि आप नियमित रूप से ट्रेस फ़ाइलें या स्क्रीन-शेयर साझा करते हैं। डिफ़ॉल्ट रूप से बंद, ताकि एजेंट ज़रूरत पड़ने पर आपके द्वारा पूछा गया सटीक मान दोहरा सके। जब आप चाहते हैं कि `done` सारांश व्यवस्थित रहें और क्रेडेंशियल कभी न दोहराए जाएँ, तो इसे चालू करें।",
'st.display.allow_local_network.label': "एजेंट को स्थानीय नेटवर्क तक पहुंचने की अनुमति दें",
- 'st.display.allow_local_network.desc': "एजेंट के फ़ेच_यूआरएल टूल को लूपबैक (127.0.0.1, localhost) और निजी/RFC1918 पते (10.x, 192.168.x, 172.16–31.x) तक पहुंचने देता है। स्थानीय डेव सर्वर, इंट्रानेट टूल या स्वयं-होस्टेड एपीआई के लिए उपयोगी। डिफ़ॉल्ट रूप से बंद। बंद होने पर सीधे निजी या लूपबैक IP पते वाले URL और localhost नाम अवरुद्ध होते हैं। DNS रिज़ॉल्यूशन की जाँच नहीं होती, इसलिए अन्य होस्टनाम स्थानीय पतों तक पहुँच सकते हैं। क्लाउड-मेटाडेटा के सीधे IP पते (169.254.169.254) और सूचीबद्ध मेटाडेटा या *.internal/*.local होस्टनाम चालू होने पर भी अवरुद्ध रहते हैं।",
+ 'st.display.allow_local_network.desc': "एजेंट के फ़ेच_यूआरएल टूल को लूपबैक (127.0.0.1, localhost) और निजी/RFC1918 पते (10.x, 192.168.x, 172.16–31.x) तक पहुंचने देता है। स्थानीय डेव सर्वर, इंट्रानेट टूल या स्वयं-होस्टेड एपीआई के लिए उपयोगी। डिफ़ॉल्ट रूप से बंद। बंद होने पर सीधे निजी या लूपबैक IP पते वाले URL और localhost नाम अवरुद्ध होते हैं। जो होस्टनाम ऐसे पतों पर रिज़ॉल्व होते हैं, वे भी अवरुद्ध होते हैं। क्लाउड-मेटाडेटा के सीधे IP पते (169.254.169.254) और सूचीबद्ध मेटाडेटा या *.internal/*.local होस्टनाम चालू होने पर भी अवरुद्ध रहते हैं।",
'st.display.scheduled_tasks.label': "निर्धारित कार्य",
'st.display.scheduled_tasks.desc': "WebBrain को स्थगित कार्य को फिर से शुरू करने और ब्राउज़र अलार्म का उपयोग करके एक-शॉट या आवर्ती निर्धारित कार्यों को चलाने की अनुमति दें। डिफ़ॉल्ट रूप से चालू.",
'st.display.scheduled_confirm.label': "निर्धारित परिणामी कार्रवाइयों की पुष्टि करें",
diff --git a/src/chrome/src/ui/locales/id.js b/src/chrome/src/ui/locales/id.js
index 9e70412ef..e6fa9bb71 100644
--- a/src/chrome/src/ui/locales/id.js
+++ b/src/chrome/src/ui/locales/id.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Rekam jejak (untuk perbandingan model)',
'st.display.tracing.desc_html': 'Simpan setiap proses (permintaan LLM, respons, pemanggilan alat, tangkapan layar) ke IndexedDB lokal sehingga Anda dapat memeriksa dan membandingkan model berdampingan, termasuk prompt, pesan, dan skema alat lengkap dari setiap permintaan LLM serta hingga 200 KB setiap hasil alat. Membuka tab Jejak terpisah. Nonaktif secara bawaan karena menulis konten percakapan Anda secara lokal dan memakai disk jauh lebih banyak. <a href="traces.html" target="_blank" style="color:var(--accent);">Buka halaman Jejak →</a>',
'st.display.allow_local_network.label': 'Izinkan agen mengakses jaringan lokal',
- 'st.display.allow_local_network.desc': 'Memungkinkan alat fetch_url agen menjangkau loopback (127.0.0.1, localhost) dan alamat privat/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk server pengembangan lokal, alat intranet, atau API yang di-host sendiri. Nonaktif secara bawaan. Saat nonaktif, URL dengan alamat IP privat atau loopback yang ditulis langsung dan nama localhost diblokir. Resolusi DNS tidak diperiksa, sehingga nama host lain masih dapat menjangkau alamat lokal. IP literal metadata cloud (169.254.169.254) dan nama metadata dalam daftar atau *.internal/*.local tetap diblokir meskipun diaktifkan.',
+ 'st.display.allow_local_network.desc': 'Memungkinkan alat fetch_url agen menjangkau loopback (127.0.0.1, localhost) dan alamat privat/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk server pengembangan lokal, alat intranet, atau API yang di-host sendiri. Nonaktif secara bawaan. Saat nonaktif, URL dengan alamat IP privat atau loopback yang ditulis langsung dan nama localhost diblokir. Nama host yang di-resolve ke alamat tersebut juga diblokir. IP literal metadata cloud (169.254.169.254) dan nama metadata dalam daftar atau *.internal/*.local tetap diblokir meskipun diaktifkan.',
'st.display.notify_sound.label': "Suara notifikasi",
'st.display.notify_sound.desc': "Putar suara khusus untuk rencana yang menunggu peninjauan dan bunyi singkat saat tugas selesai atau memerlukan klarifikasi. Tidak ada suara saat Anda membatalkan proses.",
'st.display.completion_confetti.label': 'Konfeti selesai',
diff --git a/src/chrome/src/ui/locales/ja.js b/src/chrome/src/ui/locales/ja.js
index 18f2e6d67..0e44963f7 100644
--- a/src/chrome/src/ui/locales/ja.js
+++ b/src/chrome/src/ui/locales/ja.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'トレースを記録(モデル比較用)',
'st.display.tracing.desc_html': 'すべての実行(LLM リクエスト、レスポンス、ツール呼び出し、スクリーンショット)をローカルの IndexedDB に保存し、モデルを並べて検査・比較できるようにします。各 LLM リクエストの完全なプロンプト・メッセージ・ツールスキーマと、各ツール結果の最大 200KB も保存されます。別の「トレース」タブで開きます。会話内容をローカルに書き込み、ディスク消費が大幅に増えるため、既定ではオフです。<a href="traces.html" target="_blank" style="color:var(--accent);">トレースページを開く →</a>',
'st.display.allow_local_network.label': 'エージェントにローカルネットワークへのアクセスを許可',
- 'st.display.allow_local_network.desc': 'エージェントの fetch_url ツールがループバック(127.0.0.1、localhost)やプライベート/RFC1918 アドレス(10.x、192.168.x、172.16–31.x)に届くようになります。ローカル開発サーバー、社内ツール、セルフホスト API に便利です。デフォルトはオフです。オフの場合、プライベート IP やループバック IP を直接記述した URL と localhost のホスト名をブロックします。DNS の名前解決は確認しないため、別のホスト名からローカルアドレスに接続できる場合があります。クラウドメタデータの IP リテラル(169.254.169.254)と、指定のメタデータ名または *.internal/*.local はオンでもブロックされます。',
+ 'st.display.allow_local_network.desc': 'エージェントの fetch_url ツールがループバック(127.0.0.1、localhost)やプライベート/RFC1918 アドレス(10.x、192.168.x、172.16–31.x)に届くようになります。ローカル開発サーバー、社内ツール、セルフホスト API に便利です。デフォルトはオフです。オフの場合、プライベート IP やループバック IP を直接記述した URL と localhost のホスト名をブロックします。これらのアドレスに名前解決されるホスト名もブロックします。クラウドメタデータの IP リテラル(169.254.169.254)と、指定のメタデータ名または *.internal/*.local はオンでもブロックされます。',
'st.display.notify_sound.label': "通知サウンド",
'st.display.notify_sound.desc': "確認待ちのプランには専用のサウンドを、タスクの完了時や確認事項があるときには短いチャイムを鳴らします。実行をキャンセルした場合は鳴りません。",
'st.display.completion_confetti.label': '完了時の紙吹雪',
diff --git a/src/chrome/src/ui/locales/ko.js b/src/chrome/src/ui/locales/ko.js
index fb7cda149..985dabd72 100644
--- a/src/chrome/src/ui/locales/ko.js
+++ b/src/chrome/src/ui/locales/ko.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': '트레이스 기록 (모델 비교용)',
'st.display.tracing.desc_html': '모든 실행(LLM 요청, 응답, 도구 호출, 스크린샷)을 로컬 IndexedDB에 보관하여 모델을 나란히 검사하고 비교할 수 있게 합니다. 각 LLM 요청의 전체 프롬프트·메시지·도구 스키마와 각 도구 결과를 최대 200KB까지 함께 저장합니다. 별도의 트레이스 탭에서 열립니다. 대화 내용을 로컬에 기록하고 디스크를 훨씬 더 사용하므로 기본적으로 꺼져 있습니다. <a href="traces.html" target="_blank" style="color:var(--accent);">트레이스 페이지 열기 →</a>',
'st.display.allow_local_network.label': '에이전트의 로컬 네트워크 접근 허용',
- 'st.display.allow_local_network.desc': '에이전트의 fetch_url 도구가 루프백(127.0.0.1, localhost)과 사설/RFC1918 주소(10.x, 192.168.x, 172.16–31.x)에 접근할 수 있게 합니다. 로컬 개발 서버, 인트라넷 도구, 자체 호스팅 API에 유용합니다. 기본값은 끔입니다. 꺼져 있으면 사설 또는 루프백 IP를 직접 적은 URL과 localhost 이름을 차단합니다. DNS 해석은 확인하지 않으므로 다른 호스트명은 로컬 주소에 접근할 수 있습니다. 클라우드 메타데이터 IP 리터럴(169.254.169.254)과 목록에 있는 메타데이터 이름 또는 *.internal/*.local은 켜져 있어도 차단됩니다.',
+ 'st.display.allow_local_network.desc': '에이전트의 fetch_url 도구가 루프백(127.0.0.1, localhost)과 사설/RFC1918 주소(10.x, 192.168.x, 172.16–31.x)에 접근할 수 있게 합니다. 로컬 개발 서버, 인트라넷 도구, 자체 호스팅 API에 유용합니다. 기본값은 끔입니다. 꺼져 있으면 사설 또는 루프백 IP를 직접 적은 URL과 localhost 이름을 차단합니다. 이러한 주소로 해석되는 호스트명도 차단합니다. 클라우드 메타데이터 IP 리터럴(169.254.169.254)과 목록에 있는 메타데이터 이름 또는 *.internal/*.local은 켜져 있어도 차단됩니다.',
'st.display.notify_sound.label': "알림 소리",
'st.display.notify_sound.desc': "검토를 기다리는 계획에는 별도의 소리를, 작업이 완료되거나 추가 설명이 필요할 때는 짧은 알림음을 재생합니다. 실행을 취소하면 소리가 나지 않습니다.",
'st.display.completion_confetti.label': '완료 색종이',
diff --git a/src/chrome/src/ui/locales/ms.js b/src/chrome/src/ui/locales/ms.js
index 497352787..a94a048d2 100644
--- a/src/chrome/src/ui/locales/ms.js
+++ b/src/chrome/src/ui/locales/ms.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Rakam jejak (untuk perbandingan model)',
'st.display.tracing.desc_html': 'Simpan setiap larian (permintaan LLM, respons, panggilan alat, tangkapan skrin) ke dalam IndexedDB tempatan supaya anda boleh memeriksa dan membandingkan model secara bersebelahan, termasuk prompt, mesej dan skema alatan penuh bagi setiap permintaan LLM serta sehingga 200 KB bagi setiap hasil alatan. Dibuka dalam tab Jejak yang berasingan. Dimatikan secara lalai kerana menulis kandungan perbualan anda secara setempat dan menggunakan lebih banyak cakera. <a href="traces.html" target="_blank" style="color:var(--accent);">Buka halaman Jejak →</a>',
'st.display.allow_local_network.label': 'Benarkan ejen mengakses rangkaian tempatan',
- 'st.display.allow_local_network.desc': 'Membenarkan alat fetch_url ejen mencapai loopback (127.0.0.1, localhost) dan alamat peribadi/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk pelayan pembangunan tempatan, alat intranet, atau API yang dihos sendiri. Dimatikan secara lalai. Apabila dimatikan, URL yang menggunakan IP peribadi atau loopback secara langsung dan nama localhost disekat. Resolusi DNS tidak diperiksa, jadi nama hos lain masih boleh mencapai alamat tempatan. IP literal metadata awan (169.254.169.254) dan nama metadata yang disenaraikan atau *.internal/*.local kekal disekat walaupun dihidupkan.',
+ 'st.display.allow_local_network.desc': 'Membenarkan alat fetch_url ejen mencapai loopback (127.0.0.1, localhost) dan alamat peribadi/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk pelayan pembangunan tempatan, alat intranet, atau API yang dihos sendiri. Dimatikan secara lalai. Apabila dimatikan, URL yang menggunakan IP peribadi atau loopback secara langsung dan nama localhost disekat. Nama hos yang dileraikan kepada alamat tersebut juga disekat. IP literal metadata awan (169.254.169.254) dan nama metadata yang disenaraikan atau *.internal/*.local kekal disekat walaupun dihidupkan.',
'st.display.notify_sound.label': "Bunyi pemberitahuan",
'st.display.notify_sound.desc': "Mainkan bunyi berbeza untuk pelan yang menunggu semakan dan nada pendek apabila tugas selesai atau memerlukan penjelasan. Tiada bunyi apabila anda membatalkan pelaksanaan.",
'st.display.completion_confetti.label': 'Konfeti selesai',
diff --git a/src/chrome/src/ui/locales/pl.js b/src/chrome/src/ui/locales/pl.js
index df038e784..f29313bcf 100644
--- a/src/chrome/src/ui/locales/pl.js
+++ b/src/chrome/src/ui/locales/pl.js
@@ -609,7 +609,7 @@ export default {
'st.display.strict_secret.label': 'Ścisłe traktowanie sekretów',
'st.display.strict_secret.desc': 'Odmawiaj cytowania poświadczeń (hasła, klucze API, tokeny, kody OTP) w podsumowaniach lub tekście asystenta — nawet gdy o nie wprost poprosisz. Przydatne, jeśli regularnie udostępniasz pliki śladów lub ekran. Domyślnie wyłączone, dzięki czemu agent może powtórzyć dokładną wartość, o którą poprosisz, gdy jej potrzebujesz. Włącz je, gdy chcesz, aby podsumowania `done` pozostały uporządkowane, a poświadczenia nigdy nie były powtarzane.',
'st.display.allow_local_network.label': 'Zezwól agentowi na dostęp do sieci lokalnej',
- 'st.display.allow_local_network.desc': 'Pozwala narzędziu fetch_url agenta sięgać do pętli zwrotnej (127.0.0.1, localhost) i adresów prywatnych/RFC1918 (10.x, 192.168.x, 172.16–31.x). Przydatne dla lokalnych serwerów deweloperskich, narzędzi intranetowych lub samodzielnie hostowanych API. Domyślnie wyłączone. Gdy opcja jest wyłączona, blokowane są URL z wpisanym bezpośrednio prywatnym adresem IP lub adresem pętli zwrotnej oraz nazwy localhost. Rozwiązywanie DNS nie jest sprawdzane, więc inne nazwy hostów mogą nadal prowadzić do adresów lokalnych. Dosłowne adresy IP metadanych chmury (169.254.169.254) i nazwy metadanych z listy lub *.internal/*.local pozostają zablokowane także po włączeniu.',
+ 'st.display.allow_local_network.desc': 'Pozwala narzędziu fetch_url agenta sięgać do pętli zwrotnej (127.0.0.1, localhost) i adresów prywatnych/RFC1918 (10.x, 192.168.x, 172.16–31.x). Przydatne dla lokalnych serwerów deweloperskich, narzędzi intranetowych lub samodzielnie hostowanych API. Domyślnie wyłączone. Gdy opcja jest wyłączona, blokowane są URL z wpisanym bezpośrednio prywatnym adresem IP lub adresem pętli zwrotnej oraz nazwy localhost. Blokowane są też nazwy hostów, które wskazują na takie adresy. Dosłowne adresy IP metadanych chmury (169.254.169.254) i nazwy metadanych z listy lub *.internal/*.local pozostają zablokowane także po włączeniu.',
'st.display.scheduled_tasks.label': 'Zaplanowane zadania',
'st.display.scheduled_tasks.desc': 'Pozwól WebBrain wznawiać odroczoną pracę oraz uruchamiać jednorazowe lub cykliczne zaplanowane zadania przy użyciu alarmów przeglądarki. Domyślnie włączone.',
'st.display.scheduled_confirm.label': 'Potwierdzaj istotne działania w zaplanowanych zadaniach',
diff --git a/src/chrome/src/ui/locales/pt.js b/src/chrome/src/ui/locales/pt.js
index d47f5f26c..2df8c91a3 100644
--- a/src/chrome/src/ui/locales/pt.js
+++ b/src/chrome/src/ui/locales/pt.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': "Tratamento estrito de segredos",
'st.display.strict_secret.desc': "Recuse-se a citar credenciais (senhas, chaves de API, tokens, OTPs) em resumos ou textos de assistente – mesmo quando você as solicitar explicitamente. Útil se você compartilha regularmente arquivos de rastreamento ou compartilhamento de tela. Desativado por padrão para que o agente possa repetir o valor exato que você pedir quando precisar. Ative-o quando quiser manter os resumos `done` organizados e evitar que credenciais sejam repetidas.",
'st.display.allow_local_network.label': "Permitir que o agente acesse a rede local",
- 'st.display.allow_local_network.desc': "Permite que a ferramenta fetch_url do agente alcance loopback (127.0.0.1, localhost) e endereços privados/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desenvolvimento locais, ferramentas de intranet ou APIs auto-hospedadas. Desativado por padrão. Quando desativado, URLs com IPs privados ou de loopback escritos diretamente e nomes localhost são bloqueados. A resolução DNS não é verificada, então outros nomes de host ainda podem alcançar endereços locais. IPs literais de metadados da nuvem (169.254.169.254) e nomes de metadados listados ou *.internal/*.local continuam bloqueados mesmo quando ativado.",
+ 'st.display.allow_local_network.desc': "Permite que a ferramenta fetch_url do agente alcance loopback (127.0.0.1, localhost) e endereços privados/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desenvolvimento locais, ferramentas de intranet ou APIs auto-hospedadas. Desativado por padrão. Quando desativado, URLs com IPs privados ou de loopback escritos diretamente e nomes localhost são bloqueados. Nomes de host que resolvem para esses endereços também são bloqueados. IPs literais de metadados da nuvem (169.254.169.254) e nomes de metadados listados ou *.internal/*.local continuam bloqueados mesmo quando ativado.",
'st.display.scheduled_tasks.label': "Tarefas agendadas",
'st.display.scheduled_tasks.desc': "Permita que WebBrain retome o trabalho adiado e execute tarefas agendadas únicas ou recorrentes usando alarmes do navegador. Ativado por padrão.",
'st.display.scheduled_confirm.label': "Confirme as ações consequentes programadas",
diff --git a/src/chrome/src/ui/locales/ru.js b/src/chrome/src/ui/locales/ru.js
index f342a83d2..3cab8da6c 100644
--- a/src/chrome/src/ui/locales/ru.js
+++ b/src/chrome/src/ui/locales/ru.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Записывать трассы (для сравнения моделей)',
'st.display.tracing.desc_html': 'Сохранять каждый запуск (LLM-запросы, ответы, вызовы инструментов, скриншоты) в локальную IndexedDB, чтобы можно было разбирать и сравнивать модели бок о бок, включая полные промпты, сообщения и схемы инструментов каждого LLM-запроса и до 200 КБ каждого результата инструмента. Открывается в отдельной вкладке «Трассы». По умолчанию выключено, так как записывает содержимое вашего диалога локально и занимает заметно больше места. <a href="traces.html" target="_blank" style="color:var(--accent);">Открыть страницу трасс →</a>',
'st.display.allow_local_network.label': 'Разрешить агенту доступ к локальной сети',
- 'st.display.allow_local_network.desc': 'Разрешает инструменту fetch_url агента обращаться к loopback (127.0.0.1, localhost) и частным адресам RFC1918 (10.x, 192.168.x, 172.16–31.x). Полезно для локальных серверов разработки, интранет-инструментов и self-hosted API. По умолчанию выключено. В этом состоянии блокируются URL с явно записанными частными или loopback IP-адресами и имена localhost. Результат DNS не проверяется, поэтому другие имена хостов могут вести к локальным адресам. IP-адреса метаданных облака, записанные явно (169.254.169.254), и перечисленные имена метаданных или *.internal/*.local остаются заблокированы даже при включении.',
+ 'st.display.allow_local_network.desc': 'Разрешает инструменту fetch_url агента обращаться к loopback (127.0.0.1, localhost) и частным адресам RFC1918 (10.x, 192.168.x, 172.16–31.x). Полезно для локальных серверов разработки, интранет-инструментов и self-hosted API. По умолчанию выключено. В этом состоянии блокируются URL с явно записанными частными или loopback IP-адресами и имена localhost. Имена хостов, которые разрешаются в такие адреса, тоже блокируются. IP-адреса метаданных облака, записанные явно (169.254.169.254), и перечисленные имена метаданных или *.internal/*.local остаются заблокированы даже при включении.',
'st.display.notify_sound.label': "Звуки уведомлений",
'st.display.notify_sound.desc': "Отдельный звук для планов, ожидающих проверки, и короткий сигнал при завершении задачи или запросе уточнения. При отмене запуска звук не воспроизводится.",
'st.display.completion_confetti.label': 'Конфетти при завершении',
diff --git a/src/chrome/src/ui/locales/th.js b/src/chrome/src/ui/locales/th.js
index 09a60f80e..e57754162 100644
--- a/src/chrome/src/ui/locales/th.js
+++ b/src/chrome/src/ui/locales/th.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'บันทึกการติดตาม (เพื่อเปรียบเทียบโมเดล)',
'st.display.tracing.desc_html': 'จัดเก็บทุกการทำงาน (คำขอ LLM, การตอบกลับ, การเรียกใช้เครื่องมือ, ภาพหน้าจอ) ลงใน IndexedDB ในเครื่อง เพื่อให้คุณตรวจสอบและเปรียบเทียบโมเดลแบบเคียงข้างกันได้ รวมถึงพรอมต์ ข้อความ และโครงสร้างเครื่องมือแบบเต็มของแต่ละคำขอ LLM และผลลัพธ์เครื่องมือแต่ละรายการสูงสุด 200 KB จะเปิดในแท็บ Traces แยกต่างหาก ปิดเป็นค่าเริ่มต้นเพราะเขียนเนื้อหาสนทนาของคุณในเครื่องและใช้พื้นที่ดิสก์มากกว่ามาก <a href="traces.html" target="_blank" style="color:var(--accent);">เปิดหน้า Traces →</a>',
'st.display.allow_local_network.label': 'อนุญาตให้เอเจนต์เข้าถึงเครือข่ายภายใน',
- 'st.display.allow_local_network.desc': 'ให้เครื่องมือ fetch_url ของเอเจนต์เข้าถึง loopback (127.0.0.1, localhost) และที่อยู่ส่วนตัว/RFC1918 (10.x, 192.168.x, 172.16–31.x) มีประโยชน์สำหรับเซิร์ฟเวอร์พัฒนาภายใน เครื่องมืออินทราเน็ต หรือ API ที่โฮสต์เอง ปิดเป็นค่าเริ่มต้น เมื่อปิด จะบล็อก URL ที่ระบุ IP ส่วนตัวหรือ loopback โดยตรงและชื่อ localhost ไม่มีการตรวจสอบผลการแปลงชื่อ DNS ดังนั้นชื่อโฮสต์อื่นอาจยังเข้าถึงที่อยู่ภายในได้ IP เมตาดาตาคลาวด์ที่ระบุโดยตรง (169.254.169.254) และชื่อเมตาดาตาในรายการหรือ *.internal/*.local ยังคงถูกบล็อกแม้เปิดไว้',
+ 'st.display.allow_local_network.desc': 'ให้เครื่องมือ fetch_url ของเอเจนต์เข้าถึง loopback (127.0.0.1, localhost) และที่อยู่ส่วนตัว/RFC1918 (10.x, 192.168.x, 172.16–31.x) มีประโยชน์สำหรับเซิร์ฟเวอร์พัฒนาภายใน เครื่องมืออินทราเน็ต หรือ API ที่โฮสต์เอง ปิดเป็นค่าเริ่มต้น เมื่อปิด จะบล็อก URL ที่ระบุ IP ส่วนตัวหรือ loopback โดยตรงและชื่อ localhost ชื่อโฮสต์ที่แปลงเป็นที่อยู่เหล่านี้จะถูกบล็อกด้วย IP เมตาดาตาคลาวด์ที่ระบุโดยตรง (169.254.169.254) และชื่อเมตาดาตาในรายการหรือ *.internal/*.local ยังคงถูกบล็อกแม้เปิดไว้',
'st.display.notify_sound.label': "เสียงแจ้งเตือน",
'st.display.notify_sound.desc': "เล่นเสียงเฉพาะสำหรับแผนที่รอการตรวจสอบ และเสียงสั้น ๆ เมื่องานเสร็จหรือต้องการคำชี้แจง จะไม่มีเสียงเมื่อคุณยกเลิกการทำงาน",
'st.display.completion_confetti.label': 'โปรยกระดาษเมื่อเสร็จ',
diff --git a/src/chrome/src/ui/locales/tl.js b/src/chrome/src/ui/locales/tl.js
index 9855c98c4..84e665fb1 100644
--- a/src/chrome/src/ui/locales/tl.js
+++ b/src/chrome/src/ui/locales/tl.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'I-record ang mga trace (para sa paghahambing ng modelo)',
'st.display.tracing.desc_html': 'I-save ang bawat run (mga LLM request, response, tool call, screenshot) sa lokal na IndexedDB para masuri at maihambing mo ang mga modelo nang magkatabi, kasama ang buong prompt, mensahe, at schema ng tool ng bawat LLM request at hanggang 200 KB ng bawat resulta ng tool. Bumubukas sa hiwalay na Traces tab. Naka-off bilang default dahil isinusulat nito ang nilalaman ng iyong usapan nang lokal at gumagamit ng mas malaking disk. <a href="traces.html" target="_blank" style="color:var(--accent);">Buksan ang Traces page →</a>',
'st.display.allow_local_network.label': 'Pahintulutan ang ahente na ma-access ang lokal na network',
- 'st.display.allow_local_network.desc': 'Hinahayaan ang fetch_url tool ng ahente na maabot ang loopback (127.0.0.1, localhost) at mga private/RFC1918 address (10.x, 192.168.x, 172.16–31.x). Mainam para sa mga lokal na dev server, intranet tool, o self-hosted API. Naka-off bilang default. Kapag naka-off, naka-block ang mga URL na may direktang nakasulat na private o loopback IP at mga pangalang localhost. Hindi sinusuri ang DNS resolution, kaya maaari pa ring makarating sa lokal na address ang ibang hostname. Naka-block pa rin kahit naka-on ang literal na cloud-metadata IP (169.254.169.254) at mga nakalistang metadata o *.internal/*.local hostname.',
+ 'st.display.allow_local_network.desc': 'Hinahayaan ang fetch_url tool ng ahente na maabot ang loopback (127.0.0.1, localhost) at mga private/RFC1918 address (10.x, 192.168.x, 172.16–31.x). Mainam para sa mga lokal na dev server, intranet tool, o self-hosted API. Naka-off bilang default. Kapag naka-off, naka-block ang mga URL na may direktang nakasulat na private o loopback IP at mga pangalang localhost. Naka-block din ang mga hostname na nire-resolve sa ganitong mga address. Naka-block pa rin kahit naka-on ang literal na cloud-metadata IP (169.254.169.254) at mga nakalistang metadata o *.internal/*.local hostname.',
'st.display.notify_sound.label': "Mga tunog ng abiso",
'st.display.notify_sound.desc': "Magpatugtog ng naiibang tunog para sa mga planong naghihintay ng pagsusuri at maikling chime kapag tapos na ang gawain o kailangan ng paglilinaw. Walang tunog kapag kinansela mo ang run.",
'st.display.completion_confetti.label': 'Confetti kapag tapos na',
diff --git a/src/chrome/src/ui/locales/tr.js b/src/chrome/src/ui/locales/tr.js
index 16cedeaa4..94dedbc9a 100644
--- a/src/chrome/src/ui/locales/tr.js
+++ b/src/chrome/src/ui/locales/tr.js
@@ -503,7 +503,7 @@ export default {
'st.display.tracing.label': 'İzleri kaydet (model karşılaştırması için)',
'st.display.tracing.desc_html': "Her çalışmayı (LLM istekleri, yanıtlar, araç çağrıları, ekran görüntüleri) yerel IndexedDB'de saklar, böylece modelleri yan yana inceleyip karşılaştırabilirsin; her LLM isteğinin tam prompt, mesaj ve araç şemaları ile her araç sonucundan en fazla 200 KB da kaydedilir. Ayrı bir İzler sekmesinde açılır. Konuşma içeriğini yerel olarak yazdığı ve çok daha fazla disk kullandığı için varsayılan olarak kapalıdır. <a href=\"traces.html\" target=\"_blank\" style=\"color:var(--accent);\">İzler sayfasını aç →</a>",
'st.display.allow_local_network.label': 'Aracının yerel ağa erişmesine izin ver',
- 'st.display.allow_local_network.desc': 'Aracının fetch_url aracının loopback (127.0.0.1, localhost) ve özel/RFC1918 adreslerine (10.x, 192.168.x, 172.16–31.x) ulaşmasına izin verir. Yerel geliştirme sunucuları, intranet araçları veya kendi sunucundaki API\'lar için kullanışlıdır. Varsayılan olarak kapalıdır. Kapalıyken özel veya loopback IP adresi doğrudan yazılmış URL’ler ve localhost adları engellenir. DNS çözümlemesi denetlenmez; diğer ana makine adları yerel adreslere ulaşabilir. Doğrudan yazılmış bulut meta-veri IP adresleri (169.254.169.254) ile listedeki meta-veri adları veya *.internal/*.local adları açıkken de engellenir.',
+ 'st.display.allow_local_network.desc': 'Aracının fetch_url aracının loopback (127.0.0.1, localhost) ve özel/RFC1918 adreslerine (10.x, 192.168.x, 172.16–31.x) ulaşmasına izin verir. Yerel geliştirme sunucuları, intranet araçları veya kendi sunucundaki API\'lar için kullanışlıdır. Varsayılan olarak kapalıdır. Kapalıyken özel veya loopback IP adresi doğrudan yazılmış URL’ler ve localhost adları engellenir. Bu adreslere çözümlenen ana makine adları da engellenir. Doğrudan yazılmış bulut meta-veri IP adresleri (169.254.169.254) ile listedeki meta-veri adları veya *.internal/*.local adları açıkken de engellenir.',
'st.display.notify_sound.label': "Bildirim sesleri",
'st.display.notify_sound.desc': "İnceleme bekleyen planlar için farklı bir ses, tamamlanan görevler veya açıklama gerektiğinde kısa bir zil sesi çalar. Çalışmayı iptal edersen ses çalınmaz.",
'st.display.completion_confetti.label': 'Tamamlama konfetisi',
diff --git a/src/chrome/src/ui/locales/uk.js b/src/chrome/src/ui/locales/uk.js
index 743c80cd1..29481fdcd 100644
--- a/src/chrome/src/ui/locales/uk.js
+++ b/src/chrome/src/ui/locales/uk.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': 'Записувати траси (для порівняння моделей)',
'st.display.tracing.desc_html': 'Зберігати кожен запуск (LLM-запити, відповіді, виклики інструментів, скриншоти) у локальну IndexedDB, щоб переглядати й порівнювати моделі поряд, включно з повними промптами, повідомленнями та схемами інструментів кожного LLM-запиту і до 200 КБ кожного результату інструмента. Відкривається в окремій вкладці «Траси». Вимкнено за замовчуванням, бо записує вміст вашої розмови локально та займає значно більше диска. <a href="traces.html" target="_blank" style="color:var(--accent);">Відкрити сторінку трас →</a>',
'st.display.allow_local_network.label': 'Дозволити агенту доступ до локальної мережі',
- 'st.display.allow_local_network.desc': 'Дозволяє інструменту fetch_url агента звертатися до loopback (127.0.0.1, localhost) та приватних адрес RFC1918 (10.x, 192.168.x, 172.16–31.x). Корисно для локальних серверів розробки, інтранет-інструментів і self-hosted API. За замовчуванням вимкнено. У цьому стані блокуються URL із безпосередньо записаними приватними або loopback IP-адресами та імена localhost. Результат DNS не перевіряється, тому інші імена хостів можуть вести до локальних адрес. Безпосередньо записані IP-адреси метаданих хмари (169.254.169.254) і перелічені імена метаданих або *.internal/*.local залишаються заблокованими навіть після ввімкнення.',
+ 'st.display.allow_local_network.desc': 'Дозволяє інструменту fetch_url агента звертатися до loopback (127.0.0.1, localhost) та приватних адрес RFC1918 (10.x, 192.168.x, 172.16–31.x). Корисно для локальних серверів розробки, інтранет-інструментів і self-hosted API. За замовчуванням вимкнено. У цьому стані блокуються URL із безпосередньо записаними приватними або loopback IP-адресами та імена localhost. Імена хостів, що вказують на такі адреси, теж блокуються. Безпосередньо записані IP-адреси метаданих хмари (169.254.169.254) і перелічені імена метаданих або *.internal/*.local залишаються заблокованими навіть після ввімкнення.',
'st.display.notify_sound.label': "Звуки сповіщень",
'st.display.notify_sound.desc': "Окремий звук для планів, що очікують на перевірку, і короткий сигнал після завершення завдання або запиту уточнення. Після скасування запуску звук не відтворюється.",
'st.display.completion_confetti.label': 'Конфеті після завершення',
diff --git a/src/chrome/src/ui/locales/vi.js b/src/chrome/src/ui/locales/vi.js
index 8e1b92391..af53ca01a 100644
--- a/src/chrome/src/ui/locales/vi.js
+++ b/src/chrome/src/ui/locales/vi.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': "Xử lý bí mật nghiêm ngặt",
'st.display.strict_secret.desc': "Từ chối trích dẫn thông tin xác thực (mật khẩu, khóa API, mã thông báo, OTP) trong bản tóm tắt hoặc văn bản trợ lý — ngay cả khi bạn yêu cầu chúng một cách rõ ràng. Hữu ích nếu bạn thường xuyên chia sẻ tệp theo dõi hoặc chia sẻ màn hình. Tắt theo mặc định để tác nhân có thể nhắc lại đúng giá trị bạn yêu cầu khi bạn cần. Bật nó khi bạn muốn bản tóm tắt `done` gọn gàng và thông tin xác thực không bao giờ bị lặp lại.",
'st.display.allow_local_network.label': "Cho phép đại lý truy cập mạng cục bộ",
- 'st.display.allow_local_network.desc': "Cho phép công cụ tìm nạp_url của tác nhân tiếp cận vòng lặp ngược (127.0.0.1, localhost) và các địa chỉ riêng tư/RFC1918 (10.x, 192.168.x, 172.16–31.x). Hữu ích cho các máy chủ phát triển cục bộ, công cụ mạng nội bộ hoặc API tự lưu trữ. Tắt theo mặc định. Khi tắt, URL ghi trực tiếp IP riêng hoặc loopback và tên localhost sẽ bị chặn. Không kiểm tra phân giải DNS, nên các tên máy chủ khác vẫn có thể dẫn tới địa chỉ cục bộ. IP trực tiếp của siêu dữ liệu đám mây (169.254.169.254) và tên siêu dữ liệu trong danh sách hoặc *.internal/*.local vẫn bị chặn ngay cả khi bật.",
+ 'st.display.allow_local_network.desc': "Cho phép công cụ tìm nạp_url của tác nhân tiếp cận vòng lặp ngược (127.0.0.1, localhost) và các địa chỉ riêng tư/RFC1918 (10.x, 192.168.x, 172.16–31.x). Hữu ích cho các máy chủ phát triển cục bộ, công cụ mạng nội bộ hoặc API tự lưu trữ. Tắt theo mặc định. Khi tắt, URL ghi trực tiếp IP riêng hoặc loopback và tên localhost sẽ bị chặn. Các tên máy chủ phân giải thành những địa chỉ này cũng bị chặn. IP trực tiếp của siêu dữ liệu đám mây (169.254.169.254) và tên siêu dữ liệu trong danh sách hoặc *.internal/*.local vẫn bị chặn ngay cả khi bật.",
'st.display.scheduled_tasks.label': "Nhiệm vụ theo lịch trình",
'st.display.scheduled_tasks.desc': "Cho phép WebBrain tiếp tục công việc bị trì hoãn và chạy các tác vụ theo lịch trình một lần hoặc định kỳ bằng cách sử dụng cảnh báo của trình duyệt. Bật theo mặc định.",
'st.display.scheduled_confirm.label': "Xác nhận các hành động tiếp theo đã lên lịch",
diff --git a/src/chrome/src/ui/locales/zh.js b/src/chrome/src/ui/locales/zh.js
index cfa119106..4bd2ee3ca 100644
--- a/src/chrome/src/ui/locales/zh.js
+++ b/src/chrome/src/ui/locales/zh.js
@@ -460,7 +460,7 @@ export default {
'st.display.tracing.label': '记录轨迹(用于模型对比)',
'st.display.tracing.desc_html': '将每次运行(LLM 请求、响应、工具调用、截图)持久化到本地 IndexedDB,以便并排查看和对比模型,包括每次 LLM 请求的完整提示词、消息与工具结构,以及每个工具结果最多 200 KB。在独立的轨迹页打开。默认关闭,因为会在本地写入对话内容并占用更多磁盘。<a href="traces.html" target="_blank" style="color:var(--accent);">打开轨迹页 →</a>',
'st.display.allow_local_network.label': '允许代理访问本地网络',
- 'st.display.allow_local_network.desc': '允许代理的 fetch_url 工具访问回环(127.0.0.1、localhost)和私有/RFC1918 地址(10.x、192.168.x、172.16–31.x)。用于本地开发服务器、内网工具或自托管 API。默认关闭。关闭时会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。不检查 DNS 解析,因此其他主机名仍可能连接到本地地址。即使开启,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 *.internal/*.local 主机名仍会被阻止。',
+ 'st.display.allow_local_network.desc': '允许代理的 fetch_url 工具访问回环(127.0.0.1、localhost)和私有/RFC1918 地址(10.x、192.168.x、172.16–31.x)。用于本地开发服务器、内网工具或自托管 API。默认关闭。关闭时会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。解析到这些地址的主机名也会被阻止。即使开启,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 *.internal/*.local 主机名仍会被阻止。',
'st.display.notify_sound.label': "通知提示音",
'st.display.notify_sound.desc': "为等待审核的计划播放不同的提示音,在任务完成或需要澄清时播放短促的铃声。取消运行时不播放声音。",
'st.display.completion_confetti.label': '完成彩纸',
diff --git a/src/firefox/ARCHITECTURE.md b/src/firefox/ARCHITECTURE.md
index 2cd571eab..437de6772 100644
--- a/src/firefox/ARCHITECTURE.md
+++ b/src/firefox/ARCHITECTURE.md
@@ -118,6 +118,7 @@ Notable absences vs Chrome: no `cdp/`, no `offscreen/`, no `recorder/`, no `prov
"menus",
"webNavigation",
"webRequest",
+ "dns",
"storage",
"unlimitedStorage",
"tabs",
@@ -137,6 +138,7 @@ Notably **missing** vs Chrome: `debugger`, `sidePanel`, `scripting`, `offscreen`
- No `offscreen` → no HTTP fetch proxy; direct fetch from background page only
- No `privateNetworkAccess` → localhost LLM servers must send CORS headers themselves
- `webRequest` is used for the same in-memory API shortcut observer as Chrome. The setting is on by default and can be disabled in Settings.
+- `dns` (Firefox only) lets `fetch_url`, `read_page_source` and `research_url` resolve the target hostname and refuse a blocked answer before sending; both builds also check the server address webRequest reports for the response. See Local network blocking in `docs/security-model.md`.
- Uses `sidebar_action` (MV2) instead of `side_panel` (MV3)
- Uses `browser.tabs.executeScript()` / `browser.tabs.sendMessage()` instead of `chrome.scripting.executeScript()`
diff --git a/src/firefox/manifest.json b/src/firefox/manifest.json
index 6292aa9ba..a3e9d97f2 100644
--- a/src/firefox/manifest.json
+++ b/src/firefox/manifest.json
@@ -9,6 +9,7 @@
"menus",
"webNavigation",
"webRequest",
+ "dns",
"storage",
"identity",
"cookies",
diff --git a/src/firefox/src/network/network-tools.js b/src/firefox/src/network/network-tools.js
index 324428c3e..08cff212c 100644
--- a/src/firefox/src/network/network-tools.js
+++ b/src/firefox/src/network/network-tools.js
@@ -297,6 +297,133 @@ export function validateFetchUrl(rawUrl, opts = {}) {
return { ok: true };
}
+// ─── Resolved-address check ─────────────────────────────────────────────
+
+// validateFetchUrl() sees only the URL text, so a public hostname whose DNS
+// answer is loopback, RFC1918, unique-local or link-local (cloud metadata)
+// passes it. Firefox can resolve the name first (the "dns" permission), so a
+// hostname with any blocked answer is refused before anything is sent.
+// fetch() cannot pin that answer, and redirects reach other names, so the
+// tools also read the address the browser actually connected to from
+// webRequest (details.ip) and discard the response when it is blocked.
+// Chrome has no DNS API and relies on the webRequest check alone.
+const RESPONSE_ADDRESS_WAIT_MS = 1500;
+const RESPONSE_ADDRESS_EVENTS = ['onBeforeRedirect', 'onResponseStarted', 'onErrorOccurred'];
+
+/**
+ * Classify a resolved address with the same tiers as validateFetchUrl():
+ * metadata/link-local, CGNAT, multicast and unspecified are always blocked;
+ * loopback, RFC1918 and unique-local only while local-network access is off.
+ * IPv4-mapped IPv6 is decoded and classified as IPv4.
+ */
+export function validateResolvedAddress(address, opts = {}) {
+ let ip = String(address || '').trim().toLowerCase();
+ if (ip.startsWith('[') && ip.endsWith(']')) ip = ip.slice(1, -1);
+ const literal = ip.includes(':') ? `[${ip}]` : ip;
+ let host = '';
+ try { host = new URL(`http://${literal}/`).hostname; } catch (_) {}
+ if (!/^\d+\.\d+\.\d+\.\d+$/.test(host) && !host.startsWith('[')) {
+ return { ok: false, error: `Invalid resolved address: ${address}` };
+ }
+ return validateFetchUrl(`http://${host}/`, opts);
+}
+
+function blockedAddressError(url, reason) {
+ let host = '';
+ try { host = new URL(url).hostname; } catch (_) {}
+ return `${host || url} resolved to a blocked address. ${reason}`;
+}
+
+/**
+ * Resolve the URL's hostname before sending and refuse it when any answer is
+ * blocked: the browser may connect to any of them. A failed lookup is left
+ * to the request itself, since a configured proxy may still reach the host;
+ * the response address check still applies.
+ */
+async function resolvedHostFailure(rawUrl, allowLocal) {
+ if (typeof globalThis.browser?.dns?.resolve !== 'function') return null;
+ let host;
+ try { host = new URL(rawUrl).hostname; } catch (_) { return null; }
+ // IP literals were already classified by validateFetchUrl().
+ if (!host || host.startsWith('[') || /^\d+\.\d+\.\d+\.\d+$/.test(host)) return null;
+ let record;
+ try { record = await globalThis.browser.dns.resolve(host); } catch (_) { return null; }
+ for (const address of record?.addresses || []) {
+ const check = validateResolvedAddress(address, { allowLocalNetwork: allowLocal });
+ if (!check.ok) return blockedAddressError(rawUrl, check.error);
+ }
+ return null;
+}
+
+/**
+ * Record the address each matching webRequest event reports. keyOf(details)
+ * names the request or tab an event belongs to (null to ignore it). Returns
+ * null when webRequest is unavailable.
+ */
+function watchResponseAddresses(filter, keyOf, allowLocal) {
+ const webRequest = globalThis.browser?.webRequest;
+ if (RESPONSE_ADDRESS_EVENTS.some(name => typeof webRequest?.[name]?.addListener !== 'function')) return null;
+ const seen = new Set();
+ const failures = new Map();
+ const waiters = new Set();
+ const listener = (details) => {
+ const key = keyOf(details);
+ if (key == null) return;
+ seen.add(key);
+ // A proxied request reports the proxy's address, not the destination's;
+ // only the DNS check before sending applies to it.
+ const proxied = details.proxyInfo && details.proxyInfo.type !== 'direct';
+ if (details.ip && !proxied && !failures.has(key)) {
+ const check = validateResolvedAddress(details.ip, { allowLocalNetwork: allowLocal });
+ if (!check.ok) failures.set(key, blockedAddressError(details.url, check.error));
+ }
+ for (const wake of waiters) wake();
+ };
+ const added = [];
+ try {
+ for (const name of RESPONSE_ADDRESS_EVENTS) {
+ webRequest[name].addListener(listener, { urls: ['<all_urls>'], ...filter });
+ added.push(name);
+ }
+ } catch (_) {
+ for (const name of added) webRequest[name].removeListener(listener);
+ return null;
+ }
+ return {
+ failure: key => failures.get(key) || null,
+ // fetch() and webRequest events are delivered separately, so fetch() can
+ // resolve before the response's event arrives. Wait briefly for it.
+ async settledFailure(key, timeoutMs = RESPONSE_ADDRESS_WAIT_MS) {
+ if (!seen.has(key)) {
+ await new Promise((resolve) => {
+ const done = () => { clearTimeout(timer); waiters.delete(wake); resolve(); };
+ const wake = () => { if (seen.has(key)) done(); };
+ const timer = setTimeout(done, timeoutMs);
+ waiters.add(wake);
+ });
+ }
+ return failures.get(key) || null;
+ },
+ close() {
+ for (const name of added) {
+ try { webRequest[name].removeListener(listener); } catch (_) {}
+ }
+ },
+ };
+}
+
+// The extension's own background fetch: tab -1, keyed by its URL (webRequest
+// reports URLs without the fragment).
+function watchFetchAddresses(url, allowLocal) {
+ let target;
+ try {
+ const u = new URL(url);
+ u.hash = '';
+ target = u.href;
+ } catch (_) { return null; }
+ return watchResponseAddresses({ tabId: -1 }, d => (d.url === target ? 'fetch' : null), allowLocal);
+}
+
// ─── Same-eTLD+1 cookie policy ──────────────────────────────────────────
/**
@@ -1971,8 +2098,11 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
}
const deadline = networkRequestDeadline(ctx);
+ const addresses = watchFetchAddresses(targetUrl, allowLocal);
let res;
try {
+ const hostFailure = await resolvedHostFailure(targetUrl, allowLocal);
+ if (hostFailure) return { success: false, error: hostFailure };
if (deadline.signal.aborted) throw responseAbortError(deadline.signal);
res = await fetch(targetUrl, {
method: 'GET',
@@ -1981,6 +2111,8 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
signal: deadline.signal,
});
rejectNetworkRedirect(res);
+ const addressFailure = await addresses?.settledFailure('fetch');
+ if (addressFailure) return { success: false, error: addressFailure };
if (res.url && res.url !== targetUrl) {
const v2 = validateFetchUrl(res.url, { allowLocalNetwork: allowLocal });
@@ -2052,6 +2184,7 @@ export async function readPageSource(url, opts = {}, ctx = {}) {
} catch (e) {
return { success: false, error: `read_page_source failed: ${e.message}` };
} finally {
+ addresses?.close();
deadline.dispose();
try { Promise.resolve(res?.body?.cancel()).catch(() => {}); } catch {}
}
@@ -2094,8 +2227,11 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
}
const deadline = networkRequestDeadline(ctx);
+ const addresses = watchFetchAddresses(url, allowLocal);
let res;
try {
+ const hostFailure = await resolvedHostFailure(url, allowLocal);
+ if (hostFailure) return { success: false, error: hostFailure };
if (deadline.signal.aborted) throw responseAbortError(deadline.signal);
res = await fetch(url, {
method: opts.method || 'GET',
@@ -2106,6 +2242,8 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
signal: deadline.signal,
});
rejectNetworkRedirect(res);
+ const addressFailure = await addresses?.settledFailure('fetch');
+ if (addressFailure) return { success: false, error: addressFailure };
if (res.url && res.url !== url) {
const v2 = validateFetchUrl(res.url, { allowLocalNetwork: allowLocal });
@@ -2179,6 +2317,7 @@ export async function fetchUrl(url, opts = {}, ctx = {}) {
} catch (e) {
return { success: false, error: `Fetch failed: ${e.message}` };
} finally {
+ addresses?.close();
deadline.dispose();
try { Promise.resolve(res?.body?.cancel()).catch(() => {}); } catch {}
}
@@ -2209,7 +2348,13 @@ export async function researchUrl(url, opts = {}) {
// substitute (fetch_url still applies this check after a grant).
const urlCheck = validateFetchUrl(url, { allowLocalNetwork: getAllowLocalNetwork() });
if (!urlCheck.ok) return { success: false, error: `URL is blocked: ${urlCheck.error}` };
+ const hostFailure = await resolvedHostFailure(url, getAllowLocalNetwork());
+ if (hostFailure) return { success: false, error: `URL is blocked: ${hostFailure}` };
const timeoutMs = Math.min(opts.timeout || 8000, 30000);
+ // Addresses of the hidden tab's top-level responses, redirect hops
+ // included. The tab id exists only after tabs.create() has started the
+ // navigation, so record main frames by tab from the start.
+ const addresses = watchResponseAddresses({ types: ['main_frame'] }, d => d.tabId, getAllowLocalNetwork());
let createdTab = null;
try {
const createProps = { url, active: false };
@@ -2253,6 +2398,8 @@ export async function researchUrl(url, opts = {}) {
if (!loadedUrlCheck.ok) {
return { success: false, error: `Redirect to blocked URL: ${loadedUrlCheck.error}`, finalUrl: loadedTab?.url || '' };
}
+ const loadedAddress = addresses?.failure(tabId);
+ if (loadedAddress) return { success: false, error: loadedAddress, finalUrl: loadedTab?.url || '' };
const code = `
(() => {
@@ -2283,6 +2430,8 @@ export async function researchUrl(url, opts = {}) {
if (!resultUrlCheck.ok) {
return { success: false, error: `Redirect to blocked URL: ${resultUrlCheck.error}`, finalUrl: result.url || '' };
}
+ const resultAddress = addresses?.failure(tabId);
+ if (resultAddress) return { success: false, error: resultAddress, finalUrl: result.url || '' };
return {
success: true,
@@ -2299,6 +2448,7 @@ export async function researchUrl(url, opts = {}) {
} catch (e) {
return { success: false, error: `research_url failed: ${e.message}` };
} finally {
+ addresses?.close();
if (createdTab?.id != null) {
browser.tabs.remove(createdTab.id).catch(() => {});
}
diff --git a/src/firefox/src/ui/locales/ar.js b/src/firefox/src/ui/locales/ar.js
index 7ba747643..fd268d088 100644
--- a/src/firefox/src/ui/locales/ar.js
+++ b/src/firefox/src/ui/locales/ar.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'تسجيل التتبّعات (لمقارنة النماذج)',
'st.display.tracing.desc_html': 'حفظ كل تشغيل (طلبات LLM، الاستجابات، استدعاءات الأدوات، لقطات الشاشة) في IndexedDB المحلية حتى تتمكّن من فحص النماذج ومقارنتها جنبًا إلى جنب، بما في ذلك المطالبات والرسائل ومخططات الأدوات الكاملة لكل طلب نموذج لغوي وما يصل إلى 200 كيلوبايت من كل نتيجة أداة. يُفتح في علامة تبويب «التتبّعات» منفصلة. مُعطَّل افتراضيًا لأنه يكتب محتوى محادثتك محليًا ويستهلك مساحة أكبر بكثير. <a href="traces.html" target="_blank" style="color:var(--accent);">افتح صفحة التتبّعات →</a>',
'st.display.allow_local_network.label': 'السماح للوكيل بالوصول إلى الشبكة المحلية',
- 'st.display.allow_local_network.desc': 'يسمح لأداة fetch_url للوكيل بالوصول إلى عناوين loopback (127.0.0.1، localhost) وعناوين RFC1918 الخاصة (10.x، 192.168.x، 172.16–31.x). مفيد لخوادم التطوير المحلية، وأدوات الإنترانت، وواجهات API ذاتية الاستضافة. مُعطَّل افتراضيًا. عند تعطيله، تُحظر عناوين IP الخاصة وloopback المكتوبة في URL وأسماء localhost. لا يتم فحص تحليل DNS، لذا قد تصل أسماء أخرى إلى عناوين محلية. تظل عناوين IP الحرفية لبيانات السحابة (169.254.169.254) وأسماء بيانات السحابة المدرجة أو *.internal/*.local محظورة حتى عند التفعيل.',
+ 'st.display.allow_local_network.desc': 'يسمح لأداة fetch_url للوكيل بالوصول إلى عناوين loopback (127.0.0.1، localhost) وعناوين RFC1918 الخاصة (10.x، 192.168.x، 172.16–31.x). مفيد لخوادم التطوير المحلية، وأدوات الإنترانت، وواجهات API ذاتية الاستضافة. مُعطَّل افتراضيًا. عند تعطيله، تُحظر عناوين IP الخاصة وloopback المكتوبة في URL وأسماء localhost. وتُحظر أيضًا أسماء المضيفين التي تُحلَّل إلى هذه العناوين. تظل عناوين IP الحرفية لبيانات السحابة (169.254.169.254) وأسماء بيانات السحابة المدرجة أو *.internal/*.local محظورة حتى عند التفعيل.',
'st.display.notify_sound.label': "أصوات الإشعارات",
'st.display.notify_sound.desc': "تشغيل صوت مميز للخطط التي تنتظر المراجعة ونغمة قصيرة عند إكمال مهمة أو طلب توضيح. لا يصدر صوت عند إلغاء التشغيل.",
'st.display.completion_confetti.label': 'قصاصات احتفال عند الإكمال',
diff --git a/src/firefox/src/ui/locales/bn.js b/src/firefox/src/ui/locales/bn.js
index 6cb61a4f7..e4df94a44 100644
--- a/src/firefox/src/ui/locales/bn.js
+++ b/src/firefox/src/ui/locales/bn.js
@@ -825,7 +825,7 @@ export default {
'st.display.strict_secret.label': "কঠোর গোপন হ্যান্ডলিং",
'st.display.strict_secret.desc': "সারাংশ বা সহকারী টেক্সটে শংসাপত্র (পাসওয়ার্ড, API কী, টোকেন, ওটিপি) উদ্ধৃত করতে অস্বীকার করুন — এমনকি আপনি যখন স্পষ্টভাবে তাদের জন্য জিজ্ঞাসা করেন। আপনি যদি নিয়মিত ট্রেস ফাইল বা স্ক্রিন-শেয়ার করেন তবে দরকারী। ডিফল্টরূপে বন্ধ: এজেন্ট আপনার জিজ্ঞাসা করা নির্দিষ্ট মান, প্রয়োজনে পুনরায় বলতে পারে। `done` সারাংশ পরিপাটি রাখতে এবং শংসাপত্র কখনও পুনরাবৃত্তি না করতে চাইলে এটি চালু করুন।",
'st.display.allow_local_network.label': "এজেন্টকে স্থানীয় নেটওয়ার্ক অ্যাক্সেস করার অনুমতি দিন",
- 'st.display.allow_local_network.desc': "এজেন্টের fetch_url টুলকে লুপব্যাকে (127.0.0.1, localhost) এবং ব্যক্তিগত/RFC1918 ঠিকানায় (10.x, 192.168.x, 172.16–31.x) পৌঁছাতে দেয়। স্থানীয় ডেভ সার্ভার, ইন্ট্রানেট টুল বা স্ব-হোস্টেড API-এর জন্য দরকারী। ডিফল্টরূপে বন্ধ। বন্ধ থাকলে URL-এ সরাসরি লেখা ব্যক্তিগত ও লুপব্যাক IP ঠিকানা এবং localhost নাম ব্লক থাকে। DNS রেজল্যুশন পরীক্ষা করা হয় না, তাই অন্য হোস্টনাম স্থানীয় ঠিকানায় পৌঁছাতে পারে। ক্লাউড-মেটাডেটার সরাসরি IP ঠিকানা (169.254.169.254) এবং তালিকাভুক্ত মেটাডেটা বা *.internal/*.local হোস্টনাম চালু থাকলেও ব্লক থাকে।",
+ 'st.display.allow_local_network.desc': "এজেন্টের fetch_url টুলকে লুপব্যাকে (127.0.0.1, localhost) এবং ব্যক্তিগত/RFC1918 ঠিকানায় (10.x, 192.168.x, 172.16–31.x) পৌঁছাতে দেয়। স্থানীয় ডেভ সার্ভার, ইন্ট্রানেট টুল বা স্ব-হোস্টেড API-এর জন্য দরকারী। ডিফল্টরূপে বন্ধ। বন্ধ থাকলে URL-এ সরাসরি লেখা ব্যক্তিগত ও লুপব্যাক IP ঠিকানা এবং localhost নাম ব্লক থাকে। যে হোস্টনাম এমন ঠিকানায় রেজলভ হয়, সেগুলিও ব্লক থাকে। ক্লাউড-মেটাডেটার সরাসরি IP ঠিকানা (169.254.169.254) এবং তালিকাভুক্ত মেটাডেটা বা *.internal/*.local হোস্টনাম চালু থাকলেও ব্লক থাকে।",
'st.display.scheduled_tasks.label': "নির্ধারিত কাজ",
'st.display.scheduled_tasks.desc': "WebBrain কে পিছিয়ে যাওয়া কাজ পুনরায় শুরু করতে এবং ব্রাউজার অ্যালার্ম ব্যবহার করে ওয়ান-শট বা পুনরাবৃত্ত নির্ধারিত কাজ চালানোর অনুমতি দিন। ডিফল্টরূপে চালু",
'st.display.scheduled_confirm.label': "নির্ধারিত ফলাফলমূলক কর্ম নিশ্চিত করুন",
diff --git a/src/firefox/src/ui/locales/en.js b/src/firefox/src/ui/locales/en.js
index 3031ec611..7a1470031 100644
--- a/src/firefox/src/ui/locales/en.js
+++ b/src/firefox/src/ui/locales/en.js
@@ -831,7 +831,7 @@ export default {
'st.display.strict_secret.label': 'Strict secret handling',
'st.display.strict_secret.desc': 'Refuse to quote credentials (passwords, API keys, tokens, OTPs) in summaries or assistant text — even when you explicitly ask for them. Useful if you regularly share trace files or screen-share. Off by default so the agent can echo the exact value you ask for when you need it. Turn it on when you want `done` summaries kept tidy and credentials never repeated.',
'st.display.allow_local_network.label': 'Allow agent to access local network',
- 'st.display.allow_local_network.desc': 'Lets the agent\'s fetch_url tool reach loopback (127.0.0.1, localhost) and private/RFC1918 addresses (10.x, 192.168.x, 172.16–31.x). Useful for local dev servers, intranet tools, or self-hosted APIs. Off by default. When off, URLs written with private or loopback IP literals and localhost names are blocked. DNS resolution is not checked, so other hostnames may still reach local addresses. Cloud-metadata IP literals (169.254.169.254) and listed metadata or *.internal/*.local hostnames stay blocked even when on.',
+ 'st.display.allow_local_network.desc': 'Lets the agent\'s fetch_url tool reach loopback (127.0.0.1, localhost) and private/RFC1918 addresses (10.x, 192.168.x, 172.16–31.x). Useful for local dev servers, intranet tools, or self-hosted APIs. Off by default. When off, URLs written with private or loopback IP literals and localhost names are blocked. Hostnames that resolve to such addresses are blocked too. Cloud-metadata IP literals (169.254.169.254) and listed metadata or *.internal/*.local hostnames stay blocked even when on.',
'st.display.scheduled_tasks.label': 'Scheduled tasks',
'st.display.scheduled_tasks.desc': 'Allow WebBrain to resume deferred work and run one-shot or recurring scheduled tasks using browser alarms. On by default.',
'st.display.scheduled_confirm.label': 'Confirm scheduled consequential actions',
diff --git a/src/firefox/src/ui/locales/es.js b/src/firefox/src/ui/locales/es.js
index 057cbd3f2..6d5805d43 100644
--- a/src/firefox/src/ui/locales/es.js
+++ b/src/firefox/src/ui/locales/es.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Registrar trazas (para comparar modelos)',
'st.display.tracing.desc_html': 'Guarda cada ejecución (peticiones al LLM, respuestas, llamadas a herramientas, capturas) en IndexedDB local para que puedas inspeccionar y comparar modelos lado a lado, incluidos los prompts, mensajes y esquemas de herramientas completos de cada solicitud LLM y hasta 200 KB de cada resultado de herramienta. Se abre en una pestaña de Trazas aparte. Desactivado por defecto porque escribe el contenido de tu conversación localmente y usa mucho más disco. <a href="traces.html" target="_blank" style="color:var(--accent);">Abrir página de Trazas →</a>',
'st.display.allow_local_network.label': 'Permitir al agente acceder a la red local',
- 'st.display.allow_local_network.desc': 'Permite que la herramienta fetch_url del agente alcance direcciones loopback (127.0.0.1, localhost) y privadas/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desarrollo locales, herramientas de intranet o APIs auto-alojadas. Desactivado por defecto. Al desactivarlo, se bloquean las URL escritas con IP privadas o de loopback y nombres localhost. No se comprueba la resolución DNS, por lo que otros nombres de host pueden alcanzar direcciones locales. Las IP literales de metadatos de la nube (169.254.169.254) y los nombres de metadatos incluidos en la lista o *.internal/*.local siguen bloqueados incluso al activarlo.',
+ 'st.display.allow_local_network.desc': 'Permite que la herramienta fetch_url del agente alcance direcciones loopback (127.0.0.1, localhost) y privadas/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desarrollo locales, herramientas de intranet o APIs auto-alojadas. Desactivado por defecto. Al desactivarlo, se bloquean las URL escritas con IP privadas o de loopback y nombres localhost. También se bloquean los nombres de host que se resuelven a esas direcciones. Las IP literales de metadatos de la nube (169.254.169.254) y los nombres de metadatos incluidos en la lista o *.internal/*.local siguen bloqueados incluso al activarlo.',
'st.display.notify_sound.label': "Sonidos de notificación",
'st.display.notify_sound.desc': "Reproduce un sonido distinto para los planes pendientes de revisión y un tono corto al terminar una tarea o pedir una aclaración. No suena si cancelas la ejecución.",
'st.display.completion_confetti.label': 'Confeti al completar',
diff --git a/src/firefox/src/ui/locales/fa.js b/src/firefox/src/ui/locales/fa.js
index 32f4c5c51..c09199537 100644
--- a/src/firefox/src/ui/locales/fa.js
+++ b/src/firefox/src/ui/locales/fa.js
@@ -825,7 +825,7 @@ export default {
'st.display.strict_secret.label': "برخورد محرمانه دقیق",
'st.display.strict_secret.desc': "از نقل قول اعتبارنامه ها (گذرواژه، کلیدهای API، نشانه ها، OTPها) در خلاصه ها یا متن دستیار خودداری کنید - حتی زمانی که صریحاً آنها را درخواست می کنید. اگر به طور منظم فایل های ردیابی یا اشتراک گذاری صفحه را به اشتراک می گذارید مفید است. به‌طور پیش‌فرض خاموش است تا نماینده بتواند در صورت نیاز مقدار دقیقی را که درخواست می‌کنید بازگو کند. وقتی می‌خواهید خلاصه‌های `done` مرتب بمانند و اعتبارنامه‌ها هرگز تکرار نشوند، آن را روشن کنید.",
'st.display.allow_local_network.label': "به عامل اجازه دسترسی به شبکه محلی را بدهید",
- 'st.display.allow_local_network.desc': "به ابزار fetch_url عامل اجازه می‌دهد به آدرس‌های Loopback (127.0.0.1، localhost) و خصوصی/RFC1918 (10.x، 192.168.x، 172.16–31.x) دسترسی پیدا کند. برای سرورهای توسعه دهنده محلی، ابزارهای اینترانت یا APIهای خود میزبان مفید است. به‌طور پیش‌فرض خاموش است. وقتی خاموش است، URLهایی که در آن‌ها IP خصوصی یا Loopback به‌صورت مستقیم نوشته شده و نام‌های localhost مسدود می‌شوند. نتیجهٔ DNS بررسی نمی‌شود، پس نام‌های میزبان دیگر ممکن است به آدرس‌های محلی برسند. IPهای مستقیم ابردادهٔ ابری (169.254.169.254) و نام‌های فهرست‌شدهٔ ابرداده یا *.internal/*.local حتی در صورت روشن بودن مسدود می‌مانند.",
+ 'st.display.allow_local_network.desc': "به ابزار fetch_url عامل اجازه می‌دهد به آدرس‌های Loopback (127.0.0.1، localhost) و خصوصی/RFC1918 (10.x، 192.168.x، 172.16–31.x) دسترسی پیدا کند. برای سرورهای توسعه دهنده محلی، ابزارهای اینترانت یا APIهای خود میزبان مفید است. به‌طور پیش‌فرض خاموش است. وقتی خاموش است، URLهایی که در آن‌ها IP خصوصی یا Loopback به‌صورت مستقیم نوشته شده و نام‌های localhost مسدود می‌شوند. نام‌های میزبانی که به این آدرس‌ها ترجمه می‌شوند نیز مسدود می‌شوند. IPهای مستقیم ابردادهٔ ابری (169.254.169.254) و نام‌های فهرست‌شدهٔ ابرداده یا *.internal/*.local حتی در صورت روشن بودن مسدود می‌مانند.",
'st.display.scheduled_tasks.label': "وظایف برنامه ریزی شده",
'st.display.scheduled_tasks.desc': "به WebBrain اجازه دهید کار معوق را از سر بگیرد و کارهای برنامه ریزی شده یکباره یا تکراری را با استفاده از آلارم های مرورگر اجرا کند. به طور پیش فرض روشن است.",
'st.display.scheduled_confirm.label': "اقدامات بعدی برنامه ریزی شده را تأیید کنید",
diff --git a/src/firefox/src/ui/locales/fr.js b/src/firefox/src/ui/locales/fr.js
index 202b4de58..523f52a10 100644
--- a/src/firefox/src/ui/locales/fr.js
+++ b/src/firefox/src/ui/locales/fr.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Enregistrer les traces (pour comparer des modèles)',
'st.display.tracing.desc_html': "Conserve chaque exécution (requêtes LLM, réponses, appels d'outils, captures) dans IndexedDB local pour pouvoir inspecter et comparer les modèles côte à côte, y compris les prompts, messages et schémas d'outils complets de chaque requête LLM et jusqu'à 200 Ko de chaque résultat d'outil. S'ouvre dans un onglet Traces distinct. Désactivé par défaut car cela écrit localement le contenu de votre conversation et utilise beaucoup plus d'espace disque. <a href=\"traces.html\" target=\"_blank\" style=\"color:var(--accent);\">Ouvrir la page Traces →</a>",
'st.display.allow_local_network.label': 'Autoriser l\'agent à accéder au réseau local',
- 'st.display.allow_local_network.desc': 'Permet à l\'outil fetch_url de l\'agent d\'atteindre les adresses loopback (127.0.0.1, localhost) et privées/RFC1918 (10.x, 192.168.x, 172.16–31.x). Utile pour les serveurs de dev locaux, outils intranet ou API auto-hébergées. Désactivé par défaut. Lorsqu’il est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. La résolution DNS n’est pas vérifiée : d’autres noms peuvent encore atteindre des adresses locales. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou *.internal/*.local restent bloqués même lorsqu’il est activé.',
+ 'st.display.allow_local_network.desc': 'Permet à l\'outil fetch_url de l\'agent d\'atteindre les adresses loopback (127.0.0.1, localhost) et privées/RFC1918 (10.x, 192.168.x, 172.16–31.x). Utile pour les serveurs de dev locaux, outils intranet ou API auto-hébergées. Désactivé par défaut. Lorsqu’il est désactivé, les URL contenant une adresse IP privée ou de boucle locale écrite directement et les noms localhost sont bloqués. Les noms d’hôte résolus vers ces adresses sont également bloqués. Les adresses IP littérales de métadonnées cloud (169.254.169.254) et les noms de métadonnées répertoriés ou *.internal/*.local restent bloqués même lorsqu’il est activé.',
'st.display.notify_sound.label': "Sons de notification",
'st.display.notify_sound.desc': "Joue un son distinct pour les plans en attente de validation et un court carillon à la fin d’une tâche ou pour demander une précision. Aucun son si vous annulez l’exécution.",
'st.display.completion_confetti.label': 'Confettis de fin',
diff --git a/src/firefox/src/ui/locales/he.js b/src/firefox/src/ui/locales/he.js
index 3e9ffbcb9..7555a7dea 100644
--- a/src/firefox/src/ui/locales/he.js
+++ b/src/firefox/src/ui/locales/he.js
@@ -802,7 +802,7 @@ export default {
"st.display.strict_secret.label": "טיפול סודי קפדני",
"st.display.strict_secret.desc": "מנע ציטוט של פרטי גישה (סיסמאות, מפתחות API, אסימונים וקודים חד-פעמיים) בסיכומים או בתשובות — גם אם ביקשת אותם במפורש. שימושי בעת שיתוף עקבות או מסך. כבוי כברירת מחדל כדי שהסוכן יוכל לחזור על הערך המדויק שביקשת כשתצטרך אותו. הפעל אותו כשאתה רוצה שסיכומי `done` יישארו מסודרים ופרטי גישה לא יחזרו על עצמם.",
"st.display.allow_local_network.label": "אפשר לסוכן לגשת לרשת המקומית",
- "st.display.allow_local_network.desc": "נותן לסוכן fetch_url לולאה חוזרת של כלי הגעה (127.0.0.1, localhost) ו-private/RFC1918 כתובות (10.x, 192.168.x, 172.16–31.x). שימושי עבור שרתי פיתוח מקומיים, כלי אינטראנט או ממשקי API מתארחים בעצמם. כבוי כברירת מחדל. כשהוא כבוי, כתובות URL שבהן נכתבה ישירות כתובת IP פרטית או loopback ושמות localhost נחסמים. פתרון DNS אינו נבדק, ולכן שמות מארח אחרים עדיין עשויים להגיע לכתובות מקומיות. כתובות IP ישירות של מטא־נתוני ענן (169.254.169.254) ושמות מטא־נתונים שברשימה או *.internal/*.local נשארים חסומים גם כשהאפשרות מופעלת.",
+ "st.display.allow_local_network.desc": "נותן לסוכן fetch_url לולאה חוזרת של כלי הגעה (127.0.0.1, localhost) ו-private/RFC1918 כתובות (10.x, 192.168.x, 172.16–31.x). שימושי עבור שרתי פיתוח מקומיים, כלי אינטראנט או ממשקי API מתארחים בעצמם. כבוי כברירת מחדל. כשהוא כבוי, כתובות URL שבהן נכתבה ישירות כתובת IP פרטית או loopback ושמות localhost נחסמים. גם שמות מארח שמתורגמים לכתובות כאלה נחסמים. כתובות IP ישירות של מטא־נתוני ענן (169.254.169.254) ושמות מטא־נתונים שברשימה או *.internal/*.local נשארים חסומים גם כשהאפשרות מופעלת.",
"st.display.scheduled_tasks.label": "משימות מתוזמנות",
"st.display.scheduled_tasks.desc": "לְהַתִיר WebBrain כדי לחדש עבודה דחויה ולהפעיל משימות מתוזמנות חד פעמיות או חוזרות באמצעות אזעקות דפדפן. פועל כברירת מחדל.",
"st.display.scheduled_confirm.label": "אשר פעולות תוצאתיות מתוזמנות",
diff --git a/src/firefox/src/ui/locales/hi.js b/src/firefox/src/ui/locales/hi.js
index 113f5d08b..9ff950cb5 100644
--- a/src/firefox/src/ui/locales/hi.js
+++ b/src/firefox/src/ui/locales/hi.js
@@ -825,7 +825,7 @@ export default {
'st.display.strict_secret.label': "सख्त गुप्त संचालन",
'st.display.strict_secret.desc': "सारांश या सहायक पाठ में क्रेडेंशियल (पासवर्ड, एपीआई कुंजी, टोकन, ओटीपी) उद्धृत करने से इनकार करें - भले ही आप स्पष्ट रूप से उनके लिए पूछें। उपयोगी यदि आप नियमित रूप से ट्रेस फ़ाइलें या स्क्रीन-शेयर साझा करते हैं। डिफ़ॉल्ट रूप से बंद, ताकि एजेंट ज़रूरत पड़ने पर आपके द्वारा पूछा गया सटीक मान दोहरा सके। जब आप चाहते हैं कि `done` सारांश व्यवस्थित रहें और क्रेडेंशियल कभी न दोहराए जाएँ, तो इसे चालू करें।",
'st.display.allow_local_network.label': "एजेंट को स्थानीय नेटवर्क तक पहुंचने की अनुमति दें",
- 'st.display.allow_local_network.desc': "एजेंट के फ़ेच_यूआरएल टूल को लूपबैक (127.0.0.1, localhost) और निजी/RFC1918 पते (10.x, 192.168.x, 172.16–31.x) तक पहुंचने देता है। स्थानीय डेव सर्वर, इंट्रानेट टूल या स्वयं-होस्टेड एपीआई के लिए उपयोगी। डिफ़ॉल्ट रूप से बंद। बंद होने पर सीधे निजी या लूपबैक IP पते वाले URL और localhost नाम अवरुद्ध होते हैं। DNS रिज़ॉल्यूशन की जाँच नहीं होती, इसलिए अन्य होस्टनाम स्थानीय पतों तक पहुँच सकते हैं। क्लाउड-मेटाडेटा के सीधे IP पते (169.254.169.254) और सूचीबद्ध मेटाडेटा या *.internal/*.local होस्टनाम चालू होने पर भी अवरुद्ध रहते हैं।",
+ 'st.display.allow_local_network.desc': "एजेंट के फ़ेच_यूआरएल टूल को लूपबैक (127.0.0.1, localhost) और निजी/RFC1918 पते (10.x, 192.168.x, 172.16–31.x) तक पहुंचने देता है। स्थानीय डेव सर्वर, इंट्रानेट टूल या स्वयं-होस्टेड एपीआई के लिए उपयोगी। डिफ़ॉल्ट रूप से बंद। बंद होने पर सीधे निजी या लूपबैक IP पते वाले URL और localhost नाम अवरुद्ध होते हैं। जो होस्टनाम ऐसे पतों पर रिज़ॉल्व होते हैं, वे भी अवरुद्ध होते हैं। क्लाउड-मेटाडेटा के सीधे IP पते (169.254.169.254) और सूचीबद्ध मेटाडेटा या *.internal/*.local होस्टनाम चालू होने पर भी अवरुद्ध रहते हैं।",
'st.display.scheduled_tasks.label': "निर्धारित कार्य",
'st.display.scheduled_tasks.desc': "WebBrain को स्थगित कार्य को फिर से शुरू करने और ब्राउज़र अलार्म का उपयोग करके एक-शॉट या आवर्ती निर्धारित कार्यों को चलाने की अनुमति दें। डिफ़ॉल्ट रूप से चालू.",
'st.display.scheduled_confirm.label': "निर्धारित परिणामी कार्रवाइयों की पुष्टि करें",
diff --git a/src/firefox/src/ui/locales/id.js b/src/firefox/src/ui/locales/id.js
index 4497cdfbb..2f2978c1c 100644
--- a/src/firefox/src/ui/locales/id.js
+++ b/src/firefox/src/ui/locales/id.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Rekam jejak (untuk perbandingan model)',
'st.display.tracing.desc_html': 'Simpan setiap proses (permintaan LLM, respons, pemanggilan alat, tangkapan layar) ke IndexedDB lokal sehingga Anda dapat memeriksa dan membandingkan model berdampingan, termasuk prompt, pesan, dan skema alat lengkap dari setiap permintaan LLM serta hingga 200 KB setiap hasil alat. Membuka tab Jejak terpisah. Nonaktif secara bawaan karena menulis konten percakapan Anda secara lokal dan memakai disk jauh lebih banyak. <a href="traces.html" target="_blank" style="color:var(--accent);">Buka halaman Jejak →</a>',
'st.display.allow_local_network.label': 'Izinkan agen mengakses jaringan lokal',
- 'st.display.allow_local_network.desc': 'Memungkinkan alat fetch_url agen menjangkau loopback (127.0.0.1, localhost) dan alamat privat/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk server pengembangan lokal, alat intranet, atau API yang di-host sendiri. Nonaktif secara bawaan. Saat nonaktif, URL dengan alamat IP privat atau loopback yang ditulis langsung dan nama localhost diblokir. Resolusi DNS tidak diperiksa, sehingga nama host lain masih dapat menjangkau alamat lokal. IP literal metadata cloud (169.254.169.254) dan nama metadata dalam daftar atau *.internal/*.local tetap diblokir meskipun diaktifkan.',
+ 'st.display.allow_local_network.desc': 'Memungkinkan alat fetch_url agen menjangkau loopback (127.0.0.1, localhost) dan alamat privat/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk server pengembangan lokal, alat intranet, atau API yang di-host sendiri. Nonaktif secara bawaan. Saat nonaktif, URL dengan alamat IP privat atau loopback yang ditulis langsung dan nama localhost diblokir. Nama host yang di-resolve ke alamat tersebut juga diblokir. IP literal metadata cloud (169.254.169.254) dan nama metadata dalam daftar atau *.internal/*.local tetap diblokir meskipun diaktifkan.',
'st.display.notify_sound.label': "Suara notifikasi",
'st.display.notify_sound.desc': "Putar suara khusus untuk rencana yang menunggu peninjauan dan bunyi singkat saat tugas selesai atau memerlukan klarifikasi. Tidak ada suara saat Anda membatalkan proses.",
'st.display.completion_confetti.label': 'Konfeti selesai',
diff --git a/src/firefox/src/ui/locales/ja.js b/src/firefox/src/ui/locales/ja.js
index 409d5553e..cfe390db1 100644
--- a/src/firefox/src/ui/locales/ja.js
+++ b/src/firefox/src/ui/locales/ja.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'トレースを記録(モデル比較用)',
'st.display.tracing.desc_html': 'すべての実行(LLM リクエスト、レスポンス、ツール呼び出し、スクリーンショット)をローカルの IndexedDB に保存し、モデルを並べて検査・比較できるようにします。各 LLM リクエストの完全なプロンプト・メッセージ・ツールスキーマと、各ツール結果の最大 200KB も保存されます。別の「トレース」タブで開きます。会話内容をローカルに書き込み、ディスク消費が大幅に増えるため、既定ではオフです。<a href="traces.html" target="_blank" style="color:var(--accent);">トレースページを開く →</a>',
'st.display.allow_local_network.label': 'エージェントにローカルネットワークへのアクセスを許可',
- 'st.display.allow_local_network.desc': 'エージェントの fetch_url ツールがループバック(127.0.0.1、localhost)やプライベート/RFC1918 アドレス(10.x、192.168.x、172.16–31.x)に届くようになります。ローカル開発サーバー、社内ツール、セルフホスト API に便利です。デフォルトはオフです。オフの場合、プライベート IP やループバック IP を直接記述した URL と localhost のホスト名をブロックします。DNS の名前解決は確認しないため、別のホスト名からローカルアドレスに接続できる場合があります。クラウドメタデータの IP リテラル(169.254.169.254)と、指定のメタデータ名または *.internal/*.local はオンでもブロックされます。',
+ 'st.display.allow_local_network.desc': 'エージェントの fetch_url ツールがループバック(127.0.0.1、localhost)やプライベート/RFC1918 アドレス(10.x、192.168.x、172.16–31.x)に届くようになります。ローカル開発サーバー、社内ツール、セルフホスト API に便利です。デフォルトはオフです。オフの場合、プライベート IP やループバック IP を直接記述した URL と localhost のホスト名をブロックします。これらのアドレスに名前解決されるホスト名もブロックします。クラウドメタデータの IP リテラル(169.254.169.254)と、指定のメタデータ名または *.internal/*.local はオンでもブロックされます。',
'st.display.notify_sound.label': "通知サウンド",
'st.display.notify_sound.desc': "確認待ちのプランには専用のサウンドを、タスクの完了時や確認事項があるときには短いチャイムを鳴らします。実行をキャンセルした場合は鳴りません。",
'st.display.completion_confetti.label': '完了時の紙吹雪',
diff --git a/src/firefox/src/ui/locales/ko.js b/src/firefox/src/ui/locales/ko.js
index 935e72070..95fd87cf6 100644
--- a/src/firefox/src/ui/locales/ko.js
+++ b/src/firefox/src/ui/locales/ko.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': '트레이스 기록 (모델 비교용)',
'st.display.tracing.desc_html': '모든 실행(LLM 요청, 응답, 도구 호출, 스크린샷)을 로컬 IndexedDB에 보관하여 모델을 나란히 검사하고 비교할 수 있게 합니다. 각 LLM 요청의 전체 프롬프트·메시지·도구 스키마와 각 도구 결과를 최대 200KB까지 함께 저장합니다. 별도의 트레이스 탭에서 열립니다. 대화 내용을 로컬에 기록하고 디스크를 훨씬 더 사용하므로 기본적으로 꺼져 있습니다. <a href="traces.html" target="_blank" style="color:var(--accent);">트레이스 페이지 열기 →</a>',
'st.display.allow_local_network.label': '에이전트의 로컬 네트워크 접근 허용',
- 'st.display.allow_local_network.desc': '에이전트의 fetch_url 도구가 루프백(127.0.0.1, localhost)과 사설/RFC1918 주소(10.x, 192.168.x, 172.16–31.x)에 접근할 수 있게 합니다. 로컬 개발 서버, 인트라넷 도구, 자체 호스팅 API에 유용합니다. 기본값은 끔입니다. 꺼져 있으면 사설 또는 루프백 IP를 직접 적은 URL과 localhost 이름을 차단합니다. DNS 해석은 확인하지 않으므로 다른 호스트명은 로컬 주소에 접근할 수 있습니다. 클라우드 메타데이터 IP 리터럴(169.254.169.254)과 목록에 있는 메타데이터 이름 또는 *.internal/*.local은 켜져 있어도 차단됩니다.',
+ 'st.display.allow_local_network.desc': '에이전트의 fetch_url 도구가 루프백(127.0.0.1, localhost)과 사설/RFC1918 주소(10.x, 192.168.x, 172.16–31.x)에 접근할 수 있게 합니다. 로컬 개발 서버, 인트라넷 도구, 자체 호스팅 API에 유용합니다. 기본값은 끔입니다. 꺼져 있으면 사설 또는 루프백 IP를 직접 적은 URL과 localhost 이름을 차단합니다. 이러한 주소로 해석되는 호스트명도 차단합니다. 클라우드 메타데이터 IP 리터럴(169.254.169.254)과 목록에 있는 메타데이터 이름 또는 *.internal/*.local은 켜져 있어도 차단됩니다.',
'st.display.notify_sound.label': "알림 소리",
'st.display.notify_sound.desc': "검토를 기다리는 계획에는 별도의 소리를, 작업이 완료되거나 추가 설명이 필요할 때는 짧은 알림음을 재생합니다. 실행을 취소하면 소리가 나지 않습니다.",
'st.display.completion_confetti.label': '완료 색종이',
diff --git a/src/firefox/src/ui/locales/ms.js b/src/firefox/src/ui/locales/ms.js
index 9c9da29fb..ccdf38003 100644
--- a/src/firefox/src/ui/locales/ms.js
+++ b/src/firefox/src/ui/locales/ms.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Rakam jejak (untuk perbandingan model)',
'st.display.tracing.desc_html': 'Simpan setiap larian (permintaan LLM, respons, panggilan alat, tangkapan skrin) ke dalam IndexedDB tempatan supaya anda boleh memeriksa dan membandingkan model secara bersebelahan, termasuk prompt, mesej dan skema alatan penuh bagi setiap permintaan LLM serta sehingga 200 KB bagi setiap hasil alatan. Dibuka dalam tab Jejak yang berasingan. Dimatikan secara lalai kerana menulis kandungan perbualan anda secara setempat dan menggunakan lebih banyak cakera. <a href="traces.html" target="_blank" style="color:var(--accent);">Buka halaman Jejak →</a>',
'st.display.allow_local_network.label': 'Benarkan ejen mengakses rangkaian tempatan',
- 'st.display.allow_local_network.desc': 'Membenarkan alat fetch_url ejen mencapai loopback (127.0.0.1, localhost) dan alamat peribadi/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk pelayan pembangunan tempatan, alat intranet, atau API yang dihos sendiri. Dimatikan secara lalai. Apabila dimatikan, URL yang menggunakan IP peribadi atau loopback secara langsung dan nama localhost disekat. Resolusi DNS tidak diperiksa, jadi nama hos lain masih boleh mencapai alamat tempatan. IP literal metadata awan (169.254.169.254) dan nama metadata yang disenaraikan atau *.internal/*.local kekal disekat walaupun dihidupkan.',
+ 'st.display.allow_local_network.desc': 'Membenarkan alat fetch_url ejen mencapai loopback (127.0.0.1, localhost) dan alamat peribadi/RFC1918 (10.x, 192.168.x, 172.16–31.x). Berguna untuk pelayan pembangunan tempatan, alat intranet, atau API yang dihos sendiri. Dimatikan secara lalai. Apabila dimatikan, URL yang menggunakan IP peribadi atau loopback secara langsung dan nama localhost disekat. Nama hos yang dileraikan kepada alamat tersebut juga disekat. IP literal metadata awan (169.254.169.254) dan nama metadata yang disenaraikan atau *.internal/*.local kekal disekat walaupun dihidupkan.',
'st.display.notify_sound.label': "Bunyi pemberitahuan",
'st.display.notify_sound.desc': "Mainkan bunyi berbeza untuk pelan yang menunggu semakan dan nada pendek apabila tugas selesai atau memerlukan penjelasan. Tiada bunyi apabila anda membatalkan pelaksanaan.",
'st.display.completion_confetti.label': 'Konfeti selesai',
diff --git a/src/firefox/src/ui/locales/pl.js b/src/firefox/src/ui/locales/pl.js
index 609cc12e4..541e0caa7 100644
--- a/src/firefox/src/ui/locales/pl.js
+++ b/src/firefox/src/ui/locales/pl.js
@@ -600,7 +600,7 @@ export default {
'st.display.strict_secret.label': 'Ścisłe traktowanie sekretów',
'st.display.strict_secret.desc': 'Odmawiaj cytowania poświadczeń (hasła, klucze API, tokeny, kody OTP) w podsumowaniach lub tekście asystenta — nawet gdy o nie wprost poprosisz. Przydatne, jeśli regularnie udostępniasz pliki śladów lub ekran. Domyślnie wyłączone, dzięki czemu agent może powtórzyć dokładną wartość, o którą poprosisz, gdy jej potrzebujesz. Włącz je, gdy chcesz, aby podsumowania `done` pozostały uporządkowane, a poświadczenia nigdy nie były powtarzane.',
'st.display.allow_local_network.label': 'Zezwól agentowi na dostęp do sieci lokalnej',
- 'st.display.allow_local_network.desc': 'Pozwala narzędziu fetch_url agenta sięgać do pętli zwrotnej (127.0.0.1, localhost) i adresów prywatnych/RFC1918 (10.x, 192.168.x, 172.16–31.x). Przydatne dla lokalnych serwerów deweloperskich, narzędzi intranetowych lub samodzielnie hostowanych API. Domyślnie wyłączone. Gdy opcja jest wyłączona, blokowane są URL z wpisanym bezpośrednio prywatnym adresem IP lub adresem pętli zwrotnej oraz nazwy localhost. Rozwiązywanie DNS nie jest sprawdzane, więc inne nazwy hostów mogą nadal prowadzić do adresów lokalnych. Dosłowne adresy IP metadanych chmury (169.254.169.254) i nazwy metadanych z listy lub *.internal/*.local pozostają zablokowane także po włączeniu.',
+ 'st.display.allow_local_network.desc': 'Pozwala narzędziu fetch_url agenta sięgać do pętli zwrotnej (127.0.0.1, localhost) i adresów prywatnych/RFC1918 (10.x, 192.168.x, 172.16–31.x). Przydatne dla lokalnych serwerów deweloperskich, narzędzi intranetowych lub samodzielnie hostowanych API. Domyślnie wyłączone. Gdy opcja jest wyłączona, blokowane są URL z wpisanym bezpośrednio prywatnym adresem IP lub adresem pętli zwrotnej oraz nazwy localhost. Blokowane są też nazwy hostów, które wskazują na takie adresy. Dosłowne adresy IP metadanych chmury (169.254.169.254) i nazwy metadanych z listy lub *.internal/*.local pozostają zablokowane także po włączeniu.',
'st.display.scheduled_tasks.label': 'Zaplanowane zadania',
'st.display.scheduled_tasks.desc': 'Pozwól WebBrain wznawiać odroczoną pracę oraz uruchamiać jednorazowe lub cykliczne zaplanowane zadania przy użyciu alarmów przeglądarki. Domyślnie włączone.',
'st.display.scheduled_confirm.label': 'Potwierdzaj istotne działania w zaplanowanych zadaniach',
diff --git a/src/firefox/src/ui/locales/pt.js b/src/firefox/src/ui/locales/pt.js
index 5d8d96480..a65c2a7f4 100644
--- a/src/firefox/src/ui/locales/pt.js
+++ b/src/firefox/src/ui/locales/pt.js
@@ -825,7 +825,7 @@ export default {
'st.display.strict_secret.label': "Tratamento estrito de segredos",
'st.display.strict_secret.desc': "Recuse-se a citar credenciais (senhas, chaves de API, tokens, OTPs) em resumos ou textos de assistente – mesmo quando você as solicitar explicitamente. Útil se você compartilha regularmente arquivos de rastreamento ou compartilhamento de tela. Desativado por padrão para que o agente possa repetir o valor exato que você pedir quando precisar. Ative-o quando quiser manter os resumos `done` organizados e evitar que credenciais sejam repetidas.",
'st.display.allow_local_network.label': "Permitir que o agente acesse a rede local",
- 'st.display.allow_local_network.desc': "Permite que a ferramenta fetch_url do agente alcance loopback (127.0.0.1, localhost) e endereços privados/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desenvolvimento locais, ferramentas de intranet ou APIs auto-hospedadas. Desativado por padrão. Quando desativado, URLs com IPs privados ou de loopback escritos diretamente e nomes localhost são bloqueados. A resolução DNS não é verificada, então outros nomes de host ainda podem alcançar endereços locais. IPs literais de metadados da nuvem (169.254.169.254) e nomes de metadados listados ou *.internal/*.local continuam bloqueados mesmo quando ativado.",
+ 'st.display.allow_local_network.desc': "Permite que a ferramenta fetch_url do agente alcance loopback (127.0.0.1, localhost) e endereços privados/RFC1918 (10.x, 192.168.x, 172.16–31.x). Útil para servidores de desenvolvimento locais, ferramentas de intranet ou APIs auto-hospedadas. Desativado por padrão. Quando desativado, URLs com IPs privados ou de loopback escritos diretamente e nomes localhost são bloqueados. Nomes de host que resolvem para esses endereços também são bloqueados. IPs literais de metadados da nuvem (169.254.169.254) e nomes de metadados listados ou *.internal/*.local continuam bloqueados mesmo quando ativado.",
'st.display.scheduled_tasks.label': "Tarefas agendadas",
'st.display.scheduled_tasks.desc': "Permita que WebBrain retome o trabalho adiado e execute tarefas agendadas únicas ou recorrentes usando alarmes do navegador. Ativado por padrão.",
'st.display.scheduled_confirm.label': "Confirme as ações consequentes programadas",
diff --git a/src/firefox/src/ui/locales/ru.js b/src/firefox/src/ui/locales/ru.js
index 774610ff3..4e1b8d0a9 100644
--- a/src/firefox/src/ui/locales/ru.js
+++ b/src/firefox/src/ui/locales/ru.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Записывать трассы (для сравнения моделей)',
'st.display.tracing.desc_html': 'Сохранять каждый запуск (LLM-запросы, ответы, вызовы инструментов, скриншоты) в локальную IndexedDB, чтобы можно было разбирать и сравнивать модели бок о бок, включая полные промпты, сообщения и схемы инструментов каждого LLM-запроса и до 200 КБ каждого результата инструмента. Открывается в отдельной вкладке «Трассы». По умолчанию выключено, так как записывает содержимое вашего диалога локально и занимает заметно больше места. <a href="traces.html" target="_blank" style="color:var(--accent);">Открыть страницу трасс →</a>',
'st.display.allow_local_network.label': 'Разрешить агенту доступ к локальной сети',
- 'st.display.allow_local_network.desc': 'Разрешает инструменту fetch_url агента обращаться к loopback (127.0.0.1, localhost) и частным адресам RFC1918 (10.x, 192.168.x, 172.16–31.x). Полезно для локальных серверов разработки, интранет-инструментов и self-hosted API. По умолчанию выключено. В этом состоянии блокируются URL с явно записанными частными или loopback IP-адресами и имена localhost. Результат DNS не проверяется, поэтому другие имена хостов могут вести к локальным адресам. IP-адреса метаданных облака, записанные явно (169.254.169.254), и перечисленные имена метаданных или *.internal/*.local остаются заблокированы даже при включении.',
+ 'st.display.allow_local_network.desc': 'Разрешает инструменту fetch_url агента обращаться к loopback (127.0.0.1, localhost) и частным адресам RFC1918 (10.x, 192.168.x, 172.16–31.x). Полезно для локальных серверов разработки, интранет-инструментов и self-hosted API. По умолчанию выключено. В этом состоянии блокируются URL с явно записанными частными или loopback IP-адресами и имена localhost. Имена хостов, которые разрешаются в такие адреса, тоже блокируются. IP-адреса метаданных облака, записанные явно (169.254.169.254), и перечисленные имена метаданных или *.internal/*.local остаются заблокированы даже при включении.',
'st.display.notify_sound.label': "Звуки уведомлений",
'st.display.notify_sound.desc': "Отдельный звук для планов, ожидающих проверки, и короткий сигнал при завершении задачи или запросе уточнения. При отмене запуска звук не воспроизводится.",
'st.display.completion_confetti.label': 'Конфетти при завершении',
diff --git a/src/firefox/src/ui/locales/th.js b/src/firefox/src/ui/locales/th.js
index 730ccd122..57f9ddd38 100644
--- a/src/firefox/src/ui/locales/th.js
+++ b/src/firefox/src/ui/locales/th.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'บันทึกการติดตาม (เพื่อเปรียบเทียบโมเดล)',
'st.display.tracing.desc_html': 'จัดเก็บทุกการทำงาน (คำขอ LLM, การตอบกลับ, การเรียกใช้เครื่องมือ, ภาพหน้าจอ) ลงใน IndexedDB ในเครื่อง เพื่อให้คุณตรวจสอบและเปรียบเทียบโมเดลแบบเคียงข้างกันได้ รวมถึงพรอมต์ ข้อความ และโครงสร้างเครื่องมือแบบเต็มของแต่ละคำขอ LLM และผลลัพธ์เครื่องมือแต่ละรายการสูงสุด 200 KB จะเปิดในแท็บ Traces แยกต่างหาก ปิดเป็นค่าเริ่มต้นเพราะเขียนเนื้อหาสนทนาของคุณในเครื่องและใช้พื้นที่ดิสก์มากกว่ามาก <a href="traces.html" target="_blank" style="color:var(--accent);">เปิดหน้า Traces →</a>',
'st.display.allow_local_network.label': 'อนุญาตให้เอเจนต์เข้าถึงเครือข่ายภายใน',
- 'st.display.allow_local_network.desc': 'ให้เครื่องมือ fetch_url ของเอเจนต์เข้าถึง loopback (127.0.0.1, localhost) และที่อยู่ส่วนตัว/RFC1918 (10.x, 192.168.x, 172.16–31.x) มีประโยชน์สำหรับเซิร์ฟเวอร์พัฒนาภายใน เครื่องมืออินทราเน็ต หรือ API ที่โฮสต์เอง ปิดเป็นค่าเริ่มต้น เมื่อปิด จะบล็อก URL ที่ระบุ IP ส่วนตัวหรือ loopback โดยตรงและชื่อ localhost ไม่มีการตรวจสอบผลการแปลงชื่อ DNS ดังนั้นชื่อโฮสต์อื่นอาจยังเข้าถึงที่อยู่ภายในได้ IP เมตาดาตาคลาวด์ที่ระบุโดยตรง (169.254.169.254) และชื่อเมตาดาตาในรายการหรือ *.internal/*.local ยังคงถูกบล็อกแม้เปิดไว้',
+ 'st.display.allow_local_network.desc': 'ให้เครื่องมือ fetch_url ของเอเจนต์เข้าถึง loopback (127.0.0.1, localhost) และที่อยู่ส่วนตัว/RFC1918 (10.x, 192.168.x, 172.16–31.x) มีประโยชน์สำหรับเซิร์ฟเวอร์พัฒนาภายใน เครื่องมืออินทราเน็ต หรือ API ที่โฮสต์เอง ปิดเป็นค่าเริ่มต้น เมื่อปิด จะบล็อก URL ที่ระบุ IP ส่วนตัวหรือ loopback โดยตรงและชื่อ localhost ชื่อโฮสต์ที่แปลงเป็นที่อยู่เหล่านี้จะถูกบล็อกด้วย IP เมตาดาตาคลาวด์ที่ระบุโดยตรง (169.254.169.254) และชื่อเมตาดาตาในรายการหรือ *.internal/*.local ยังคงถูกบล็อกแม้เปิดไว้',
'st.display.notify_sound.label': "เสียงแจ้งเตือน",
'st.display.notify_sound.desc': "เล่นเสียงเฉพาะสำหรับแผนที่รอการตรวจสอบ และเสียงสั้น ๆ เมื่องานเสร็จหรือต้องการคำชี้แจง จะไม่มีเสียงเมื่อคุณยกเลิกการทำงาน",
'st.display.completion_confetti.label': 'โปรยกระดาษเมื่อเสร็จ',
diff --git a/src/firefox/src/ui/locales/tl.js b/src/firefox/src/ui/locales/tl.js
index ddeec62ae..ae73e842f 100644
--- a/src/firefox/src/ui/locales/tl.js
+++ b/src/firefox/src/ui/locales/tl.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'I-record ang mga trace (para sa paghahambing ng modelo)',
'st.display.tracing.desc_html': 'I-save ang bawat run (mga LLM request, response, tool call, screenshot) sa lokal na IndexedDB para masuri at maihambing mo ang mga modelo nang magkatabi, kasama ang buong prompt, mensahe, at schema ng tool ng bawat LLM request at hanggang 200 KB ng bawat resulta ng tool. Bumubukas sa hiwalay na Traces tab. Naka-off bilang default dahil isinusulat nito ang nilalaman ng iyong usapan nang lokal at gumagamit ng mas malaking disk. <a href="traces.html" target="_blank" style="color:var(--accent);">Buksan ang Traces page →</a>',
'st.display.allow_local_network.label': 'Pahintulutan ang ahente na ma-access ang lokal na network',
- 'st.display.allow_local_network.desc': 'Hinahayaan ang fetch_url tool ng ahente na maabot ang loopback (127.0.0.1, localhost) at mga private/RFC1918 address (10.x, 192.168.x, 172.16–31.x). Mainam para sa mga lokal na dev server, intranet tool, o self-hosted API. Naka-off bilang default. Kapag naka-off, naka-block ang mga URL na may direktang nakasulat na private o loopback IP at mga pangalang localhost. Hindi sinusuri ang DNS resolution, kaya maaari pa ring makarating sa lokal na address ang ibang hostname. Naka-block pa rin kahit naka-on ang literal na cloud-metadata IP (169.254.169.254) at mga nakalistang metadata o *.internal/*.local hostname.',
+ 'st.display.allow_local_network.desc': 'Hinahayaan ang fetch_url tool ng ahente na maabot ang loopback (127.0.0.1, localhost) at mga private/RFC1918 address (10.x, 192.168.x, 172.16–31.x). Mainam para sa mga lokal na dev server, intranet tool, o self-hosted API. Naka-off bilang default. Kapag naka-off, naka-block ang mga URL na may direktang nakasulat na private o loopback IP at mga pangalang localhost. Naka-block din ang mga hostname na nire-resolve sa ganitong mga address. Naka-block pa rin kahit naka-on ang literal na cloud-metadata IP (169.254.169.254) at mga nakalistang metadata o *.internal/*.local hostname.',
'st.display.notify_sound.label': "Mga tunog ng abiso",
'st.display.notify_sound.desc': "Magpatugtog ng naiibang tunog para sa mga planong naghihintay ng pagsusuri at maikling chime kapag tapos na ang gawain o kailangan ng paglilinaw. Walang tunog kapag kinansela mo ang run.",
'st.display.completion_confetti.label': 'Confetti kapag tapos na',
diff --git a/src/firefox/src/ui/locales/tr.js b/src/firefox/src/ui/locales/tr.js
index a3beaab5b..ade52eb09 100644
--- a/src/firefox/src/ui/locales/tr.js
+++ b/src/firefox/src/ui/locales/tr.js
@@ -495,7 +495,7 @@ export default {
'st.display.tracing.label': 'İzleri kaydet (model karşılaştırması için)',
'st.display.tracing.desc_html': "Her çalışmayı (LLM istekleri, yanıtlar, araç çağrıları, ekran görüntüleri) yerel IndexedDB'de saklar, böylece modelleri yan yana inceleyip karşılaştırabilirsin; her LLM isteğinin tam prompt, mesaj ve araç şemaları ile her araç sonucundan en fazla 200 KB da kaydedilir. Ayrı bir İzler sekmesinde açılır. Konuşma içeriğini yerel olarak yazdığı ve çok daha fazla disk kullandığı için varsayılan olarak kapalıdır. <a href=\"traces.html\" target=\"_blank\" style=\"color:var(--accent);\">İzler sayfasını aç →</a>",
'st.display.allow_local_network.label': 'Aracının yerel ağa erişmesine izin ver',
- 'st.display.allow_local_network.desc': 'Aracının fetch_url aracının loopback (127.0.0.1, localhost) ve özel/RFC1918 adreslerine (10.x, 192.168.x, 172.16–31.x) ulaşmasına izin verir. Yerel geliştirme sunucuları, intranet araçları veya kendi sunucundaki API\'lar için kullanışlıdır. Varsayılan olarak kapalıdır. Kapalıyken özel veya loopback IP adresi doğrudan yazılmış URL’ler ve localhost adları engellenir. DNS çözümlemesi denetlenmez; diğer ana makine adları yerel adreslere ulaşabilir. Doğrudan yazılmış bulut meta-veri IP adresleri (169.254.169.254) ile listedeki meta-veri adları veya *.internal/*.local adları açıkken de engellenir.',
+ 'st.display.allow_local_network.desc': 'Aracının fetch_url aracının loopback (127.0.0.1, localhost) ve özel/RFC1918 adreslerine (10.x, 192.168.x, 172.16–31.x) ulaşmasına izin verir. Yerel geliştirme sunucuları, intranet araçları veya kendi sunucundaki API\'lar için kullanışlıdır. Varsayılan olarak kapalıdır. Kapalıyken özel veya loopback IP adresi doğrudan yazılmış URL’ler ve localhost adları engellenir. Bu adreslere çözümlenen ana makine adları da engellenir. Doğrudan yazılmış bulut meta-veri IP adresleri (169.254.169.254) ile listedeki meta-veri adları veya *.internal/*.local adları açıkken de engellenir.',
'st.display.notify_sound.label': "Bildirim sesleri",
'st.display.notify_sound.desc': "İnceleme bekleyen planlar için farklı bir ses, tamamlanan görevler veya açıklama gerektiğinde kısa bir zil sesi çalar. Çalışmayı iptal edersen ses çalınmaz.",
'st.display.completion_confetti.label': 'Tamamlama konfetisi',
diff --git a/src/firefox/src/ui/locales/uk.js b/src/firefox/src/ui/locales/uk.js
index 9c4b3b0f9..80e65ffbb 100644
--- a/src/firefox/src/ui/locales/uk.js
+++ b/src/firefox/src/ui/locales/uk.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': 'Записувати траси (для порівняння моделей)',
'st.display.tracing.desc_html': 'Зберігати кожен запуск (LLM-запити, відповіді, виклики інструментів, скриншоти) у локальну IndexedDB, щоб переглядати й порівнювати моделі поряд, включно з повними промптами, повідомленнями та схемами інструментів кожного LLM-запиту і до 200 КБ кожного результату інструмента. Відкривається в окремій вкладці «Траси». Вимкнено за замовчуванням, бо записує вміст вашої розмови локально та займає значно більше диска. <a href="traces.html" target="_blank" style="color:var(--accent);">Відкрити сторінку трас →</a>',
'st.display.allow_local_network.label': 'Дозволити агенту доступ до локальної мережі',
- 'st.display.allow_local_network.desc': 'Дозволяє інструменту fetch_url агента звертатися до loopback (127.0.0.1, localhost) та приватних адрес RFC1918 (10.x, 192.168.x, 172.16–31.x). Корисно для локальних серверів розробки, інтранет-інструментів і self-hosted API. За замовчуванням вимкнено. У цьому стані блокуються URL із безпосередньо записаними приватними або loopback IP-адресами та імена localhost. Результат DNS не перевіряється, тому інші імена хостів можуть вести до локальних адрес. Безпосередньо записані IP-адреси метаданих хмари (169.254.169.254) і перелічені імена метаданих або *.internal/*.local залишаються заблокованими навіть після ввімкнення.',
+ 'st.display.allow_local_network.desc': 'Дозволяє інструменту fetch_url агента звертатися до loopback (127.0.0.1, localhost) та приватних адрес RFC1918 (10.x, 192.168.x, 172.16–31.x). Корисно для локальних серверів розробки, інтранет-інструментів і self-hosted API. За замовчуванням вимкнено. У цьому стані блокуються URL із безпосередньо записаними приватними або loopback IP-адресами та імена localhost. Імена хостів, що вказують на такі адреси, теж блокуються. Безпосередньо записані IP-адреси метаданих хмари (169.254.169.254) і перелічені імена метаданих або *.internal/*.local залишаються заблокованими навіть після ввімкнення.',
'st.display.notify_sound.label': "Звуки сповіщень",
'st.display.notify_sound.desc': "Окремий звук для планів, що очікують на перевірку, і короткий сигнал після завершення завдання або запиту уточнення. Після скасування запуску звук не відтворюється.",
'st.display.completion_confetti.label': 'Конфеті після завершення',
diff --git a/src/firefox/src/ui/locales/vi.js b/src/firefox/src/ui/locales/vi.js
index b5a8f959c..1277eb7f2 100644
--- a/src/firefox/src/ui/locales/vi.js
+++ b/src/firefox/src/ui/locales/vi.js
@@ -825,7 +825,7 @@ export default {
'st.display.strict_secret.label': "Xử lý bí mật nghiêm ngặt",
'st.display.strict_secret.desc': "Từ chối trích dẫn thông tin xác thực (mật khẩu, khóa API, mã thông báo, OTP) trong bản tóm tắt hoặc văn bản trợ lý — ngay cả khi bạn yêu cầu chúng một cách rõ ràng. Hữu ích nếu bạn thường xuyên chia sẻ tệp theo dõi hoặc chia sẻ màn hình. Tắt theo mặc định để tác nhân có thể nhắc lại đúng giá trị bạn yêu cầu khi bạn cần. Bật nó khi bạn muốn bản tóm tắt `done` gọn gàng và thông tin xác thực không bao giờ bị lặp lại.",
'st.display.allow_local_network.label': "Cho phép đại lý truy cập mạng cục bộ",
- 'st.display.allow_local_network.desc': "Cho phép công cụ tìm nạp_url của tác nhân tiếp cận vòng lặp ngược (127.0.0.1, localhost) và các địa chỉ riêng tư/RFC1918 (10.x, 192.168.x, 172.16–31.x). Hữu ích cho các máy chủ phát triển cục bộ, công cụ mạng nội bộ hoặc API tự lưu trữ. Tắt theo mặc định. Khi tắt, URL ghi trực tiếp IP riêng hoặc loopback và tên localhost sẽ bị chặn. Không kiểm tra phân giải DNS, nên các tên máy chủ khác vẫn có thể dẫn tới địa chỉ cục bộ. IP trực tiếp của siêu dữ liệu đám mây (169.254.169.254) và tên siêu dữ liệu trong danh sách hoặc *.internal/*.local vẫn bị chặn ngay cả khi bật.",
+ 'st.display.allow_local_network.desc': "Cho phép công cụ tìm nạp_url của tác nhân tiếp cận vòng lặp ngược (127.0.0.1, localhost) và các địa chỉ riêng tư/RFC1918 (10.x, 192.168.x, 172.16–31.x). Hữu ích cho các máy chủ phát triển cục bộ, công cụ mạng nội bộ hoặc API tự lưu trữ. Tắt theo mặc định. Khi tắt, URL ghi trực tiếp IP riêng hoặc loopback và tên localhost sẽ bị chặn. Các tên máy chủ phân giải thành những địa chỉ này cũng bị chặn. IP trực tiếp của siêu dữ liệu đám mây (169.254.169.254) và tên siêu dữ liệu trong danh sách hoặc *.internal/*.local vẫn bị chặn ngay cả khi bật.",
'st.display.scheduled_tasks.label': "Nhiệm vụ theo lịch trình",
'st.display.scheduled_tasks.desc': "Cho phép WebBrain tiếp tục công việc bị trì hoãn và chạy các tác vụ theo lịch trình một lần hoặc định kỳ bằng cách sử dụng cảnh báo của trình duyệt. Bật theo mặc định.",
'st.display.scheduled_confirm.label': "Xác nhận các hành động tiếp theo đã lên lịch",
diff --git a/src/firefox/src/ui/locales/zh.js b/src/firefox/src/ui/locales/zh.js
index e06767ffa..69f7dabe4 100644
--- a/src/firefox/src/ui/locales/zh.js
+++ b/src/firefox/src/ui/locales/zh.js
@@ -452,7 +452,7 @@ export default {
'st.display.tracing.label': '记录轨迹(用于模型对比)',
'st.display.tracing.desc_html': '将每次运行(LLM 请求、响应、工具调用、截图)持久化到本地 IndexedDB,以便并排查看和对比模型,包括每次 LLM 请求的完整提示词、消息与工具结构,以及每个工具结果最多 200 KB。在独立的轨迹页打开。默认关闭,因为会在本地写入对话内容并占用更多磁盘。<a href="traces.html" target="_blank" style="color:var(--accent);">打开轨迹页 →</a>',
'st.display.allow_local_network.label': '允许代理访问本地网络',
- 'st.display.allow_local_network.desc': '允许代理的 fetch_url 工具访问回环(127.0.0.1、localhost)和私有/RFC1918 地址(10.x、192.168.x、172.16–31.x)。用于本地开发服务器、内网工具或自托管 API。默认关闭。关闭时会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。不检查 DNS 解析,因此其他主机名仍可能连接到本地地址。即使开启,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 *.internal/*.local 主机名仍会被阻止。',
+ 'st.display.allow_local_network.desc': '允许代理的 fetch_url 工具访问回环(127.0.0.1、localhost)和私有/RFC1918 地址(10.x、192.168.x、172.16–31.x)。用于本地开发服务器、内网工具或自托管 API。默认关闭。关闭时会阻止直接写有私有或回环 IP 地址的 URL 以及 localhost 主机名。解析到这些地址的主机名也会被阻止。即使开启,云元数据的 IP 字面量(169.254.169.254)以及列表中的元数据主机名或 *.internal/*.local 主机名仍会被阻止。',
'st.display.notify_sound.label': "通知提示音",
'st.display.notify_sound.desc': "为等待审核的计划播放不同的提示音,在任务完成或需要澄清时播放短促的铃声。取消运行时不播放声音。",
'st.display.completion_confetti.label': '完成彩纸',
diff --git a/test/quality/resolved-address-mv3.mjs b/test/quality/resolved-address-mv3.mjs
new file mode 100644
index 000000000..d87b70b81
--- /dev/null
+++ b/test/quality/resolved-address-mv3.mjs
@@ -0,0 +1,126 @@
+import assert from 'node:assert/strict';
+import { spawn } from 'node:child_process';
+import fs from 'node:fs/promises';
+import http from 'node:http';
+import os from 'node:os';
+import path from 'node:path';
+import { chromium } from 'playwright';
+
+// Chrome has no DNS API for extensions, so fetch_url, read_page_source and
+// research_url rely on webRequest reporting details.ip for the extension's
+// own service-worker fetch and its hidden tab. This runs the real Chrome
+// network tools in a disposable browser whose resolver maps a public-looking
+// name onto this loopback server, the DNS answer the URL text cannot reveal.
+const root = path.resolve(process.env.WEBBRAIN_TEST_ROOT || '.');
+const out = await fs.mkdtemp(path.join(os.tmpdir(), 'webbrain-resolved-address-'));
+const extension = path.join(out, 'extension');
+const profile = path.join(out, 'profile');
+const copied = new Set();
+async function copy(relative) {
+ if (copied.has(relative)) return;
+ copied.add(relative);
+ const bytes = await fs.readFile(path.join(root, 'src/chrome', relative));
+ const dest = path.join(extension, relative);
+ await fs.mkdir(path.dirname(dest), { recursive: true });
+ await fs.writeFile(dest, bytes);
+ for (const m of bytes.toString().matchAll(/^import\s+(?:[\s\S]*?)\sfrom\s+['"]([^'"]+)['"];?/gm)) {
+ await copy(path.posix.normalize(path.posix.join(path.posix.dirname(relative), m[1])));
+ }
+}
+await copy('src/network/network-tools.js');
+await fs.writeFile(path.join(extension, 'manifest.json'), JSON.stringify({
+ manifest_version: 3, name: 'Resolved address fixture', version: '1.0',
+ permissions: ['storage', 'tabs', 'scripting', 'webRequest'], host_permissions: ['<all_urls>'],
+ background: { service_worker: 'src/background.js', type: 'module' },
+}));
+await fs.writeFile(path.join(extension, 'src/background.js'),
+ "import * as network from './network/network-tools.js'; globalThis.network = network;");
+
+const secret = 'LOOPBACK-ADMIN-SECRET';
+const hits = [];
+let port;
+const server = http.createServer((req, res) => {
+ hits.push(req.url);
+ if (req.url === '/redirect') {
+ res.writeHead(302, { Location: `http://public.rebind.test:${port}/admin` });
+ return res.end();
+ }
+ res.writeHead(200, { 'Content-Type': 'text/html' });
+ res.end(`<!doctype html><title>Admin</title><main>${secret}</main>`);
+});
+await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
+port = server.address().port;
+
+let browser;
+let chrome;
+const rows = [];
+try {
+ chrome = spawn(chromium.executablePath(), [
+ '--headless=new', '--no-sandbox', '--no-first-run', '--no-default-browser-check',
+ '--disable-background-networking', '--no-proxy-server', `--user-data-dir=${profile}`,
+ '--remote-debugging-port=0', `--disable-extensions-except=${extension}`, `--load-extension=${extension}`,
+ '--host-resolver-rules=MAP public.rebind.test 127.0.0.1, MAP * ~NOTFOUND, EXCLUDE localhost, EXCLUDE 127.0.0.1',
+ 'about:blank',
+ ], { windowsHide: true, stdio: 'ignore' });
+ let endpoint;
+ for (let n = 0; n < 100 && !endpoint; n++) {
+ try {
+ const [p, u] = (await fs.readFile(path.join(profile, 'DevToolsActivePort'), 'utf8')).trim().split(/\r?\n/);
+ endpoint = `ws://127.0.0.1:${p}${u}`;
+ } catch { await new Promise(r => setTimeout(r, 100)); }
+ }
+ assert.ok(endpoint, 'disposable browser endpoint');
+ browser = await chromium.connectOverCDP(endpoint);
+ const context = browser.contexts()[0];
+ const worker = context.serviceWorkers().find(w => w.url().endsWith('/src/background.js'))
+ || await context.waitForEvent('serviceworker', { predicate: w => w.url().endsWith('/src/background.js') });
+ for (let n = 0; n < 100 && !(await worker.evaluate(() => Boolean(globalThis.network))); n++) {
+ await new Promise(r => setTimeout(r, 100));
+ }
+
+ const admin = `http://public.rebind.test:${port}/admin`;
+ const run = (tool, url) => worker.evaluate(({ tool, url }) => (
+ tool === 'fetch_url' ? network.fetchUrl(url)
+ : tool === 'read_page_source' ? network.readPageSource(url)
+ : network.researchUrl(url, { timeout: 10000 })
+ ), { tool, url });
+ const openTabs = () => worker.evaluate(() => chrome.tabs.query({}).then(tabs => tabs.length));
+ const tabsBefore = await openTabs();
+
+ for (const [tool, url] of [
+ ['fetch_url', admin],
+ ['read_page_source', admin],
+ ['research_url', admin],
+ ['research_url', `http://public.rebind.test:${port}/redirect`],
+ ]) {
+ const before = hits.length;
+ const result = await run(tool, url);
+ rows.push({ tool, url, allowLocalNetwork: false, success: result.success, error: result.error, requests: hits.slice(before) });
+ assert.equal(result.success, false, `${tool} ${url}: a name resolving to loopback must be blocked`);
+ assert.match(result.error, /^public\.rebind\.test resolved to a blocked address\. Blocked loopback IPv4: 127\.0\.0\.1/);
+ assert.doesNotMatch(JSON.stringify(result), new RegExp(secret), `${tool}: loopback content must not be returned`);
+ }
+ assert.equal(await openTabs(), tabsBefore, 'research_url must close its hidden tab');
+
+ // The user's local-network opt-in relaxes the resolved address as it does
+ // a loopback literal.
+ await worker.evaluate(() => chrome.storage.local.set({ agentAllowLocalNetwork: true }));
+ for (let n = 0; n < 50 && !(await worker.evaluate(() => network.getAllowLocalNetwork())); n++) {
+ await new Promise(r => setTimeout(r, 50));
+ }
+ for (const tool of ['fetch_url', 'read_page_source', 'research_url']) {
+ const result = await run(tool, admin);
+ rows.push({ tool, url: admin, allowLocalNetwork: true, success: result.success, error: result.error });
+ assert.equal(result.success, true, `${tool}: local-network access should permit loopback (${result.error || ''})`);
+ assert.match(JSON.stringify(result), new RegExp(secret), `${tool}: permitted content should be returned`);
+ }
+ console.log(JSON.stringify({ passed: true, chrome: browser.version(), rows }, null, 2));
+} catch (error) {
+ console.log(JSON.stringify({ passed: false, error: String(error.stack || error), rows }, null, 2));
+ process.exitCode = 1;
+} finally {
+ await browser?.close().catch(() => {});
+ if (chrome && !chrome.killed) chrome.kill();
+ await new Promise(resolve => server.close(resolve));
+ await fs.rm(out, { recursive: true, force: true, maxRetries: 5, retryDelay: 200 }).catch(() => {});
+}
diff --git a/test/run.js b/test/run.js
index 62cf7d479..62b821f4a 100644
--- a/test/run.js
+++ b/test/run.js
@@ -401,10 +401,10 @@ const { transcribeAudio } = await import(
// network-tools.js references chrome.* inside a try/catch at module load, so
// it imports cleanly under Node — the storage init silently no-ops and
// validateFetchUrl / registrableDomain are pure functions.
-const { validateFetchUrl, registrableDomain, filenameFromContentDisposition: filenameFromContentDispositionCh, fetchUrl: fetchUrlCh, researchUrl: researchUrlCh, downloadFiles: downloadFilesCh, downloadResourceFromPage: downloadResourceFromPageCh, executeHttpSkillTool: executeHttpSkillToolCh } = await import(
+const { validateFetchUrl, validateResolvedAddress: validateResolvedAddressCh, registrableDomain, filenameFromContentDisposition: filenameFromContentDispositionCh, fetchUrl: fetchUrlCh, readPageSource: readPageSourceCh, researchUrl: researchUrlCh, downloadFiles: downloadFilesCh, downloadResourceFromPage: downloadResourceFromPageCh, executeHttpSkillTool: executeHttpSkillToolCh } = await import(
'file://' + path.join(ROOT, 'src/chrome/src/network/network-tools.js').replace(/\\/g, '/')
);
-const { validateFetchUrl: validateFetchUrlFx, registrableDomain: registrableDomainFx, filenameFromContentDisposition: filenameFromContentDispositionFx, fetchUrl: fetchUrlFx, readPageSource: readPageSourceFx, researchUrl: researchUrlFx, downloadFiles: downloadFilesFx, downloadResourceFromPage: downloadResourceFromPageFx, executeHttpSkillTool: executeHttpSkillToolFx } = await import(
+const { validateFetchUrl: validateFetchUrlFx, validateResolvedAddress: validateResolvedAddressFx, registrableDomain: registrableDomainFx, filenameFromContentDisposition: filenameFromContentDispositionFx, fetchUrl: fetchUrlFx, readPageSource: readPageSourceFx, researchUrl: researchUrlFx, downloadFiles: downloadFilesFx, downloadResourceFromPage: downloadResourceFromPageFx, executeHttpSkillTool: executeHttpSkillToolFx } = await import(
'file://' + path.join(ROOT, 'src/firefox/src/network/network-tools.js').replace(/\\/g, '/')
);
const { firefoxRestrictedDomainForUrl, firefoxRestrictedDomainFailure, firefoxHostPermissionFailure } = await import(
@@ -22762,6 +22762,264 @@ test('research_url rejects blocked redirect targets before returning hidden-tab
}
});
+test('resolved addresses use the same tiers as URL literals in both ports', () => {
+ const cases = [
+ ['127.0.0.1', false, false], ['127.0.0.1', true, true],
+ ['10.0.0.5', false, false], ['10.0.0.5', true, true],
+ ['172.16.0.1', false, false], ['192.168.1.1', false, false], ['192.168.1.1', true, true],
+ ['169.254.169.254', true, false], ['100.64.0.1', true, false],
+ ['0.0.0.0', true, false], ['224.0.0.1', true, false],
+ ['::1', false, false], ['::1', true, true], ['[::1]', false, false],
+ ['fd00::1', false, false], ['fd00::1', true, true], ['fe80::1', true, false],
+ ['::ffff:127.0.0.1', false, false], ['::ffff:7f00:1', false, false],
+ ['::ffff:169.254.169.254', true, false], ['::ffff:8.8.8.8', false, true],
+ ['93.184.216.34', false, true], ['2606:4700::6810:84e5', false, true],
+ ['', true, false], ['example.com', true, false],
+ ];
+ for (const [label, validate] of [['chrome', validateResolvedAddressCh], ['firefox', validateResolvedAddressFx]]) {
+ for (const [address, allowLocal, ok] of cases) {
+ assert.equal(validate(address, { allowLocalNetwork: allowLocal }).ok, ok,
+ `${label}: ${address || '(empty)'} (allowLocal=${allowLocal}) should ${ok ? 'pass' : 'be blocked'}`);
+ }
+ }
+});
+
+// webRequest stand-in for the resolved-address checks. Events respect the
+// tabId/types filter the production listener registers with.
+function makeAddressWebRequest() {
+ const listeners = {};
+ const api = {};
+ for (const name of ['onBeforeRedirect', 'onResponseStarted', 'onErrorOccurred']) {
+ listeners[name] = new Map();
+ api[name] = {
+ addListener: (fn, filter) => listeners[name].set(fn, filter || {}),
+ removeListener: fn => listeners[name].delete(fn),
+ };
+ }
+ return {
+ api,
+ emit(name, details) {
+ for (const [fn, filter] of [...listeners[name]]) {
+ if (filter.tabId != null && filter.tabId !== details.tabId) continue;
+ if (filter.types && !filter.types.includes(details.type)) continue;
+ fn(details);
+ }
+ },
+ count: () => Object.values(listeners).reduce((sum, map) => sum + map.size, 0),
+ };
+}
+
+test('fetch_url and read_page_source discard responses from a blocked resolved address', async () => {
+ const previousFetch = globalThis.fetch;
+ const previousChrome = globalThis.chrome;
+ const previousBrowser = globalThis.browser;
+ const secret = 'INTERNAL-ADMIN-SECRET';
+ try {
+ for (const [label, apiName, fetchUrl, readPageSource] of [
+ ['chrome', 'chrome', fetchUrlCh, readPageSourceCh],
+ ['firefox', 'browser', fetchUrlFx, readPageSourceFx],
+ ]) {
+ for (const tool of ['fetch_url', 'read_page_source']) {
+ for (const [ip, proxyInfo, blocked] of [
+ ['127.0.0.1', null, true],
+ ['::ffff:a9fe:a9fe', null, true],
+ ['10.1.2.3', null, true],
+ ['93.184.216.34', null, false],
+ // Firefox reports the proxy's address for proxied requests; only its
+ // DNS check before sending applies there.
+ ...(apiName === 'browser' ? [['127.0.0.1', { type: 'http', host: '127.0.0.1', port: 8080 }, false]] : []),
+ ]) {
+ const webRequest = makeAddressWebRequest();
+ globalThis[apiName] = { webRequest: webRequest.api };
+ const url = 'https://rebind.example/admin#section';
+ let fetchCalls = 0;
+ globalThis.fetch = async (rawUrl) => {
+ fetchCalls++;
+ // The webRequest event can arrive after fetch() resolves.
+ setTimeout(() => webRequest.emit('onResponseStarted', {
+ url: 'https://rebind.example/admin', tabId: -1, type: 'xmlhttprequest', ip, proxyInfo,
+ }), 5);
+ return {
+ status: 200,
+ url: String(rawUrl).replace(/#.*$/, ''),
+ headers: new Headers({ 'content-type': 'text/html' }),
+ text: async () => `<html><title>admin</title><body>${secret}</body></html>`,
+ };
+ };
+ const result = tool === 'fetch_url' ? await fetchUrl(url) : await readPageSource(url);
+ const name = `${label}/${tool}/${ip}${proxyInfo ? '/proxied' : ''}`;
+ assert.equal(fetchCalls, 1, `${name}: request should be sent once`);
+ assert.equal(webRequest.count(), 0, `${name}: webRequest listeners must be removed`);
+ if (blocked) {
+ assert.equal(result.success, false, `${name}: blocked address must fail`);
+ assert.match(result.error || '', /^rebind\.example resolved to a blocked address\. Blocked /, `${name}: unexpected error`);
+ assert.doesNotMatch(JSON.stringify(result), new RegExp(secret), `${name}: body must be discarded`);
+ } else {
+ assert.equal(result.success, true, `${name}: public address must pass (${result.error || ''})`);
+ assert.match(JSON.stringify(result), new RegExp(secret), `${name}: body should be returned`);
+ }
+ }
+ }
+ }
+ } finally {
+ globalThis.fetch = previousFetch;
+ if (previousChrome === undefined) delete globalThis.chrome;
+ else globalThis.chrome = previousChrome;
+ if (previousBrowser === undefined) delete globalThis.browser;
+ else globalThis.browser = previousBrowser;
+ }
+});
+
+test('Firefox network readers refuse hostnames that resolve to blocked addresses before sending', async () => {
+ const previousFetch = globalThis.fetch;
+ const previousBrowser = globalThis.browser;
+ try {
+ for (const [addresses, blocked] of [
+ [['93.184.216.34', '10.0.0.7'], true],
+ [['2606:4700::6810:84e5', 'fd12::1'], true],
+ [['169.254.169.254'], true],
+ [['93.184.216.34', '2606:4700::6810:84e5'], false],
+ [new Error('NS_ERROR_UNKNOWN_HOST'), false],
+ ]) {
+ let fetchCalls = 0;
+ let tabsCreated = 0;
+ const resolved = [];
+ globalThis.fetch = async (rawUrl) => {
+ fetchCalls++;
+ return {
+ status: 200,
+ url: String(rawUrl),
+ headers: new Headers({ 'content-type': 'text/html' }),
+ text: async () => '<html><title>ok</title><body>public body</body></html>',
+ };
+ };
+ globalThis.browser = {
+ dns: {
+ async resolve(host) {
+ resolved.push(host);
+ if (addresses instanceof Error) throw addresses;
+ return { addresses, isTRR: false };
+ },
+ },
+ tabs: {
+ async create() { tabsCreated++; throw new Error('stop after the pre-check'); },
+ async remove() {},
+ },
+ };
+ const name = addresses instanceof Error ? 'lookup failure' : addresses.join(',');
+ const results = [
+ await fetchUrlFx('https://rebind.example/data'),
+ await readPageSourceFx('https://rebind.example/data'),
+ await researchUrlFx('https://rebind.example/data'),
+ ];
+ assert.deepEqual(resolved, ['rebind.example', 'rebind.example', 'rebind.example'], `${name}: each tool should resolve the hostname`);
+ if (blocked) {
+ for (const result of results) {
+ assert.equal(result.success, false, `${name}: must be refused`);
+ assert.match(result.error || '', /rebind\.example resolved to a blocked address\. Blocked /, `${name}: unexpected error`);
+ }
+ assert.equal(fetchCalls, 0, `${name}: nothing may be sent`);
+ assert.equal(tabsCreated, 0, `${name}: no hidden tab may be opened`);
+ } else {
+ assert.equal(results[0].success, true, `${name}: fetch_url should proceed (${results[0].error || ''})`);
+ assert.equal(results[1].success, true, `${name}: read_page_source should proceed (${results[1].error || ''})`);
+ assert.equal(fetchCalls, 2, `${name}: both fetches should be sent`);
+ assert.equal(tabsCreated, 1, `${name}: research_url should open its hidden tab`);
+ }
+ }
+
+ // IP literals are classified by the URL check and are never looked up.
+ const resolved = [];
+ globalThis.browser = { dns: { async resolve(host) { resolved.push(host); return { addresses: [] }; } } };
+ globalThis.fetch = async (rawUrl) => ({
+ status: 200, url: String(rawUrl), headers: new Headers({ 'content-type': 'text/plain' }), text: async () => 'ok',
+ });
+ await fetchUrlFx('https://93.184.216.34/');
+ await fetchUrlFx('https://[2606:4700::6810:84e5]/');
+ assert.deepEqual(resolved, []);
+ } finally {
+ globalThis.fetch = previousFetch;
+ if (previousBrowser === undefined) delete globalThis.browser;
+ else globalThis.browser = previousBrowser;
+ }
+});
+
+test('research_url discards a hidden tab whose top-level response came from a blocked address', async () => {
+ const previousChrome = globalThis.chrome;
+ const previousBrowser = globalThis.browser;
+ const previousSetTimeout = globalThis.setTimeout;
+ const nativeSetTimeout = previousSetTimeout;
+ // Skip the intentional 800 ms SPA hydration pause, as the redirect test does.
+ globalThis.setTimeout = (fn, ms, ...args) => nativeSetTimeout(fn, ms === 800 ? 0 : ms, ...args);
+ const publicUrl = 'https://public.example/start';
+ try {
+ for (const [label, researchUrl, apiName] of [
+ ['chrome', researchUrlCh, 'chrome'],
+ ['firefox', researchUrlFx, 'browser'],
+ ]) {
+ for (const scenario of ['response', 'redirect-hop', 'during-extraction', 'other-tab', 'public']) {
+ const webRequest = makeAddressWebRequest();
+ let executeCalls = 0;
+ let removeCalls = 0;
+ const mainFrame = (name, tabId, ip, url = publicUrl) =>
+ webRequest.emit(name, { url, tabId, type: 'main_frame', ip, proxyInfo: null });
+ const tabs = {
+ async create() {
+ // Navigation events start before tabs.create() resolves.
+ if (scenario === 'redirect-hop') mainFrame('onBeforeRedirect', 77, '192.168.0.10', 'https://hop.example/');
+ if (scenario === 'other-tab') mainFrame('onResponseStarted', 12, '127.0.0.1');
+ mainFrame('onResponseStarted', 77, scenario === 'response' ? '127.0.0.1' : '93.184.216.34');
+ return { id: 77, url: publicUrl };
+ },
+ async get() { return { id: 77, url: publicUrl }; },
+ async remove() { removeCalls++; },
+ onUpdated: {
+ addListener(fn) { nativeSetTimeout(() => fn(77, { status: 'complete' }), 0); },
+ removeListener() {},
+ },
+ };
+ const pageResult = { title: 'page', url: publicUrl, text: 'hidden tab text', originalLength: 15, links: [] };
+ const extract = () => {
+ executeCalls++;
+ if (scenario === 'during-extraction') mainFrame('onResponseStarted', 77, '169.254.169.254', 'https://public.example/next');
+ };
+ if (apiName === 'chrome') {
+ globalThis.chrome = {
+ tabs,
+ webRequest: webRequest.api,
+ scripting: { async executeScript() { extract(); return [{ result: pageResult }]; } },
+ };
+ } else {
+ globalThis.browser = {
+ webRequest: webRequest.api,
+ tabs: { ...tabs, async executeScript() { extract(); return [pageResult]; } },
+ };
+ }
+
+ const result = await researchUrl(publicUrl, { timeout: 1000 });
+ const name = `${label}/${scenario}`;
+ assert.equal(removeCalls, 1, `${name}: hidden tab should always be closed`);
+ assert.equal(webRequest.count(), 0, `${name}: webRequest listeners must be removed`);
+ if (scenario === 'public' || scenario === 'other-tab') {
+ assert.equal(result.success, true, `${name}: public address must pass (${result.error || ''})`);
+ assert.equal(result.text, 'hidden tab text');
+ continue;
+ }
+ assert.equal(result.success, false, `${name}: blocked address must fail`);
+ assert.match(result.error || '', /resolved to a blocked address\. Blocked /, `${name}: unexpected error`);
+ assert.equal(result.text, undefined, `${name}: page text must not be returned`);
+ assert.equal(executeCalls, scenario === 'during-extraction' ? 1 : 0, `${name}: extraction timing mismatch`);
+ }
+ }
+ } finally {
+ globalThis.setTimeout = previousSetTimeout;
+ if (previousChrome === undefined) delete globalThis.chrome;
+ else globalThis.chrome = previousChrome;
+ if (previousBrowser === undefined) delete globalThis.browser;
+ else globalThis.browser = previousBrowser;
+ }
+});
+
test('firefox port validator agrees with chrome on a sample of cases', () => {
// Sanity check that the two ports stay in sync. Pick one case from each
// category — full coverage runs against the chrome copy above.