Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
---
title: Security and data boundaries
description: Understand the data flow between local projects, SSH remote projects, model requests, credentials, MCP, plugins, and execution permissions.
---
Vetta centers work on local projects, but “runs locally” does not mean that all content stays on the device. Model providers, MCP, and plugins may send task data to configured external services. Understand each boundary before using it.
## Data flow overview
<DataFlow aria-label="Vetta data flow boundaries">
<div><strong>Local project</strong><span>Project files, sessions, knowledge sources, and configuration</span></div>
<b>→</b>
<div><strong>Context assembly</strong><span>Task, citations, tool results, and capability instructions</span></div>
<b>→</b>
<div><strong>Selected model service</strong><span>The context required for this invocation</span></div>
</DataFlow>
Local tools may continue to read or modify files. MCP, plugins, webhooks, and IM channels can create separate external requests.
## Responsibility by boundary
| Boundary | Data it may see | Your check |
| --- | --- | --- |
| Model provider | Prompt, citations, history, tool results, and images | Provider, base URL, model, and privacy terms |
| Local tools | Project files, command output, and processes | Sandbox or full access, target path, and command |
| Projects in the same space | Names, paths, and file contents of other local projects in the same workspace | Which projects the space holds, and whether "Conversations can see projects in this space" is on |
| SSH remote projects | Project files, command output, and processes on the remote host | Where the host came from, the login account's permissions, and the commands the Agent runs |
| MCP | Tool arguments and external results, OAuth or token metadata | Source, transport, and auto-approval scope |
| Plugin | Manifest-declared UI, file, network, or Agent capabilities | Source, permissions, version, and enabled state |
| Knowledge base | Imported sources, processed results, and retrieved excerpts | Processing model, import scope, and deletion semantics |
| Webhook / IM | Notification content, conversation, or attachment metadata | Destination, channel credentials, and sharing scope |
| Paired phone | Session text, attachments, the desktop picture, and pointer or keyboard input | Give the QR code, connection code, and password only to the intended phone, and remove phones you no longer use. The relay forwards ciphertext only |
## Credential handling
- Enter credentials only in dedicated model, MCP, SSH host, IM, or webhook configuration UI.
- Do not put keys, tokens, cookies, or authorization codes in tasks, project files, skills, logs, or issue reports.
- References such as `env:MY_API_KEY` store only the variable name; the environment that starts Vetta must still protect the value.
- When an SSH host uses password login with a saved password, or you tick "Remember it" while connecting, the password or passphrase is encrypted in this device's secure storage and filled in on the next connection; if you do not save it, you are asked each time. GitHub access tokens for marketplace sources are likewise kept only in this device's secure storage and never uploaded.
- Inspect diagnostic exports and sessions before sharing them. Do not assume every third-party tool output is automatically redacted.
## Execution permissions
Restricted sandbox mode limits file and process access to the current project and other allowed locations. Full access permits broader system operations. If a platform cannot provide sandboxing, Vetta explains why; do not treat “sandbox unavailable” as equivalent protection.
A permission prompt only means that the host is asking whether to perform an action. Confirm the target path, command, network address, and reversibility, and do not assume the request itself is trustworthy.
## Projects in the same space
Sidebar workspaces turn on **Conversations can see projects in this space** by default (the main workspace has no such switch). With it on, sessions in the space, including a team's lead and members, know which other local projects share the space and can read their files without asking each time; changes still need your approval, and sensitive paths stay protected.
This is not an isolation boundary. Turning the switch off only stops telling the session and brings back per-read confirmation; command-line tools reading paths outside the project were never governed by this switch. Keep material that must stay separate out of a space shared with other projects. Archived projects and SSH remote projects are never included. The switch can be changed at any time in the workspace's edit dialog.
## SSH remote projects
A remote project's files exist only on the remote host, and commands and file reads and writes run there under your login account. The Agent, model requests, session history, MCP servers, and plugins stay on this computer, so remote content the Agent reads still enters the model context.
Remote projects have no sandbox: a sandbox can only constrain processes on this computer. What the Agent can do remotely depends on that login account's permissions on the host; for production hosts, prefer a restricted account. Removing a host record does not delete remote files.
## Installing external abilities
Skills, plugins, MCP servers, and marketplace sources you add yourself are untrusted inputs. Install only from trusted sources, inspect updates, and grant the smallest permission set that meets the goal. Disable to keep an installation; remove to uninstall it.
<Callout type="warn" title="Local-first is not a zero-disclosure promise">
Project files normally remain local, but content that is referenced and enters model context is sent to the configured model endpoint. Before processing sensitive material, confirm that the provider and organization policy allow this data flow.
</Callout>