SAFETY.md: update checks only on a button press, web search asks once per chat in Manual, starter list refused

This commit is contained in:
Niko1221 committed 2026-10-19 19:54:54 +02:00
1 parent f523a94227
commit 3d0a79ca23
1 file changed
+16 -11
+16 -11
View File
@@ -17,7 +17,7 @@ you trust can check it. Where Strata does less than you might hope, the page say
and installs and updates (a first model install also fetches llama.cpp's preparation scripts).
- **Downloads are checked.** Updates come from a signed feed. Every model file has a fixed SHA-256 and size, and an install
stops if the pinned version of a file is gone (the details are [below](#how-downloads-are-checked)).
- **The coding agent asks before it changes anything** in its default mode. It does not ask before it searches the web.
- **In its default mode the coding agent asks before it changes anything**, and once per chat before its first web search or web page.
- **The code is open.** Anyone can read it, and security problems go to [SECURITY.md](../SECURITY.md).
## Does Strata phone home?
@@ -44,10 +44,10 @@ Like any download, each connection below shows the other side your IP address an
| --- | --- | --- |
| Model files, the picture reader, the speed-up layer (MTP) | huggingface.co, or the mirror in `HF_ENDPOINT` if you set one | When you install a model |
| The same files from ModelScope, for PCs that cannot reach Hugging Face | modelscope.cn | Only if you ask for it (`--source modelscope`). Strata never switches to it by itself |
| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine**, or run `strata update`. Opening **Settings, Engine** in the app also reads the feed to see whether an update exists |
| App updates | `latest.json` on the same GitHub Releases, through Tauri's updater | When you press **Check for updates** or **Update Strata**, and when you open **Settings, Engine** |
| Engine, Terminal and Control updates | The signed feed on GitHub Releases of Niko1221/Strata | When you install an engine, press **Update engine** or **Check for updates**, or run `strata update`. Opening **Settings, Engine** does not connect: it shows the result of your last check |
| App updates | `latest.json` on the same GitHub Releases, through Tauri's updater | When you press **Check for updates** or **Update Strata** |
| llama.cpp source code (a fixed commit) | github.com/ggml-org/llama.cpp | During a model install, if it is not on your PC yet. Strata uses only its model-preparation scripts |
| Web search and web pages | DuckDuckGo, with Bing as the second source; or Exa, Perplexity or DeepSeek if you save a key for them. Any page the agent is asked to open goes to that page's site | When the agent uses its search or "open web pages" tool |
| Web search and web pages | DuckDuckGo, with Bing as the second source; or Exa, Perplexity or DeepSeek if you save a key for them. Any page the agent is asked to open goes to that page's site | When the agent uses its search or "open web pages" tool. In Manual mode it asks you first, once per chat |
| Outside model services | The service you add (OpenAI, Anthropic, OpenRouter, a server on your network and others) | Only for chats with that model, and only after you add its key |
| Cloudflare tunnel | Cloudflare, through the `cloudflared` program | Only while you have the tunnel on, and it will not start without an API key |
| Tailscale, local network | Not Strata's traffic. Strata only reads Tailscale's status and shows the address | Only if you choose that access in `strata launch` |
@@ -58,8 +58,9 @@ Like any download, each connection below shows the other side your IP address an
That is the full list found in the code. Some details:
- **Nothing checks for updates in the background.** The app does not check when it starts. The checks in the table run when
you open Settings, Engine, press a button or run a command. The Terminal fetches an engine by itself only when none is
- **Nothing checks for updates in the background.** The app does not check when it starts, and not when you open Settings,
Engine either: that screen shows the result of your last check, or nothing if you have not checked. The checks in the table
run when you press a button or run a command. With no connection, the check says so and nothing else happens. The Terminal fetches an engine by itself only when none is
installed, and `strata launch` asks first.
- **Starting and serving never download.** `strata serve` and the app's load button fetch nothing. The app sets
`STRATA_PACKAGED=1` and `STRATA_NO_ACQUIRE=1` for its parts (`apps/desktop/src-tauri/src/main.rs`), and the downloaders
@@ -126,8 +127,8 @@ size stops it before the download starts.
it has changed fails the check. A file without a pin is checked against the hash ModelScope publishes, and setup warns
when it publishes none.
- The app installs these models by running the same setup, so it has the same checks. The app's host also keeps a short
starter list of its own (`apps/host/server/real-model-catalog.mjs`). Its download path takes files from the repository's
current `main` branch and checks only that they have about the expected size. The 0.2.0 app screens do not use it.
starter list of its own (`apps/host/server/real-model-catalog.mjs`). It is for display only. The host refuses to download
from it, because its files have no hash, and says that models come from the Models screen.
(`setup.py`: `REPO_PINS`, `download`, `verify_sha256`; `tools/mtp_fetch.py`; `apps/host/server/image-models.mjs`.)
**Engine in the source route.** `setup.py` checks the engine zip against the SHA-256 that GitHub's API publishes for that
@@ -164,9 +165,13 @@ In **Manual**:
you connect. In the browser tool, opening a page, clicking and typing ask.
- **These do not ask:** reading files, listing and searching folders, and look-only commands such as `ls`, `cat` and
`git status`. A command with a redirect, a chain (`;`, `&&`), a variable or anything else the check does not recognise asks.
- **Web search and opening web pages do not ask.** They are on by default and can be switched off in Settings, Tools. The
model picks the search words and the address, so words from your conversation can end up in a search or a web address
(`strata-gate.mjs` lists both as read-only).
- **Web search and opening web pages ask once per chat.** The first one in a chat shows a card with the search words and the
service they go to, or with the address of the page. **Approve** covers the rest of that chat. **Deny** tells the assistant
you did not allow the web, and it carries on without it. Plan and Bypass do not ask. The model picks the search words and
the address, so words from your conversation can end up in a search or a web address, which is why the first one asks.
In Settings, Tools you can switch the web tools off, or turn on **Let the assistant search the web without asking**, which
is off by default. A scheduled task in Manual mode cannot answer the card, so its web call is refused unless that switch is
on (`strata-gate.mjs`).
- **The chat folder is only where the agent starts.** Manual mode does not confine it there. What you
approve can touch anything your user account can touch, so read the card before you press Approve.
- **Your keys stay out of its commands.** The agent's shell does not get environment variables whose names contain KEY, TOKEN,