Skip to main content

Security and permissions

Server-side checks decide what the agent may do; model instructions are not a security boundary.

NeoAgent reads web pages, email, messages, files, integration and MCP results, and any of it can carry prompt injection.

🛂 Tool permissions​

Set them under Settings › Permissions. Built-in tools outside these categories (reading files, browsing, memory, tasks, messaging) run without a prompt, subject to run trust.

CategoryToolsDefault
Shell Commandsexecute_commandAsk me
File Writeswrite_file, edit_file, replace_file_rangeAsk me
Android Controlandroid_shell, android_install_apk, android_open_intent, android_open_appAsk me
Desktop Controldesktop_click, desktop_type, desktop_press_key, desktop_drag, desktop_launch_app, desktop_observeAsk me
Browser Scriptingbrowser_evaluateAsk me
Credential Usecredential_fill_browser, credential_http_requestAsk me
Network Write Requestshttp_request with any method except GET, HEAD or OPTIONSAsk me
Call Usercall_userAsk me
Skill Changescreate_skill, update_skill, delete_skillBlock
External & MCP ToolsIntegration tools, MCP tools and any other tool not built into NeoAgentAsk me
SettingEffect
BlockThe tool never runs
Ask meThe run pauses until you decide
AllowThe tool runs without asking until you change it

When a run pauses, the prompt states why and offers four answers:

  • Deny. The call is blocked and the model is told not to retry.
  • Allow once. This call only.
  • Allow session. This tool for the rest of the run.
  • Always allow. Sets the whole category to Allow.
  • 30-second timeout. An unanswered prompt blocks the call.

Global security mode​

ModeBehaviour
Default (recommended)The category settings above apply
Always askEvery categorized tool asks; Block still blocks
Allow allNo prompts and no Block; only manager limits and who-is-asking checks remain
  • Server override. NEOAGENT_TOOL_SECURITY_MODE (default, always_ask or allow_all) forces one mode for every account.
  • Managers win. A category a manager switched off stays off in every mode.

🧭 Run trust​

Server code tracks who each run acts for and what it has read, so a persuaded model cannot argue past these checks.

Who is asking​

Run started fromActs for
The app, CLI, voice, wearable, your own tasks, your WhatsApp self-chat, a DM from an approved senderYou
A group chat, or a DM let in by an Anyone policySomeone else
A GitHub mention threadThe public, limited to a fixed tool list
  • Runs for someone else may reply in their chat, search the web and use media sent with the message; anything else asks.
  • Approved people in a group. A message from a person you approved by name (not by role) skips that question, so your own requests in a group follow your security mode. The run still uses channel memory and the group persona.
  • Slash commands such as /memory and /tasks answer only senders who act for you.
  • Channel memory. Runs for someone else use memory scoped to that chat and never see your core memory.

What it has read​

A run becomes tainted once it reads outside content (any tool result except the agent's own bookkeeping, or an event-triggered task's payload), and then asks you before it:

CallWhy
Messages or emails a recipient you did not nameInjected text could pick where data goes
Sends a write request (POST, PUT, …) to a host you did not nameSame, for webhooks and APIs
Puts a credential-shaped string or a server secret in an outbound argumentCredential exfiltration
Creates or edits a task, core memory or skill, or adds an MCP serverThe injection would outlive the run
  • Replies stay quiet. Answers to the originating chat, and notifications to a task's configured target, do not ask.
  • Marked memories. Memories saved by a tainted run are tagged external-source and cannot silently replace established facts.
  • Shared trust. Subagents and delegated agents share their parent's trust record.
  • Allow all skips taint checks but never the who-is-asking checks.

Content handling​

  • Fenced data. Messages, channel history, voice transcripts and event payloads are wrapped as data; the fence cannot be closed from inside.
  • Invisible characters. Unicode tag characters, supplementary variation selectors and bidi overrides are stripped from tool arguments and results.
  • No auto-loaded images. Images in agent replies show as a link chip that opens only on tap.

🖥️ Where tools run​

CapabilityRuns on
Browser, desktop, shell, workspace filesYour cloud computer, or This device in the desktop app
AndroidA per-user Android emulator on the NeoAgent server, driven over ADB
IntegrationsThe NeoAgent server, with the stored account credentials
Credential brokerThe NeoAgent server; secret values never reach the model

Cloud computer backends​

TERMINAL_ENVIsolation
qemu (default)Per-user micro-VM. The guest user has full sudo inside the VM only.
dockerPer-user container with resource limits and dropped capabilities. Shares the host kernel.
hostNone. Every account's agent runs as the server's OS user. Shell and workspace files only.
  • Guest token. Each VM or container gets a random token; its guest agent rejects requests without it.
  • Network reach. Guests can still reach the NeoAgent host over the network (10.0.2.2 or host.docker.internal).
  • Shared web pages. A page the agent shares is relayed through the guest agent from the port it names, and only while that computer runs. It is served on the server's origin with a sandbox content security policy without allow-same-origin, so it runs in an opaque origin: it cannot read NeoAgent's cookies, storage or API, and the API refuses its null origin. Visitors' cookies and authorization headers never reach the guest, and the guest cannot set cookies, clear site data or set HSTS on the server's origin.

This device​

  • Outbound only. The desktop app opens an authenticated connection to the server; no listener runs on your machine.
  • Four grants. Screen, Mouse & keyboard, Workspace files and Commands & apps, each approved separately.
  • Grant options. Allow once, Always allow or Not now; revoke any grant from the device panel.
  • Workspace files stay inside the NeoAgent Workspace folder. Commands & apps reaches anything your OS user can.

🔐 Accounts and credentials​

  • Read Only accounts. Set an integration account's access mode to Read Only and its write tools are blocked server-side.
  • Credential broker. credential_fill_browser and credential_http_request use Bitwarden items without showing secret values to the model.
  • Bound origins. Fills need an HTTPS origin saved on the Bitwarden item; requests must match the bound origin, path and method.
  • Redacted responses. The broker strips auth headers and redacts the secret from responses. Every use is audited.
  • Messaging access. Who can message on each channel accepts Approved only, Anyone or No one.
  • Server-side secrets. OAuth tokens and integration credentials stay on the server, bound to one user and agent.
  • Password prompts. Changing the email or password, and the 2FA settings, ask for the current password (and a code when 2FA is on). Wrong answers count per account, whatever address they come from: from the 5th in 15 minutes each next try waits longer, the 10th locks these prompts until the oldest leaves the window (429 LOGIN_LOCKED with Retry-After). Sign-in is counted apart and stays open.

⚠️ Known limits​

  • Built-in read-only tools run freely in runs that act for you.
  • Outbound reads are not filtered by destination. Only credential-shaped data in them is checked.
  • Shell output is not checked for credentials.
  • An approved DM sender acts for you, with your memory and tools.
  • Signed-in browser sessions on the cloud computer are available to the agent.
  • Run trust limits where data goes. It cannot stop a model being misled inside a task you approved.
  • Multi-user is not a hostile-tenant boundary. Do not host mutually hostile tenants on one server.

🧰 Deployment checklist​

  • Dedicated OS account. Run NeoAgent as an unprivileged user.
  • HTTPS for any remote access.
  • Keep approvals on for shell, file writes, desktop and Android until a workflow is understood.
  • Keep integrations Read Only unless writes are required.
  • Avoid Allow all for open-ended runs that browse the web or read messages.
  • Avoid TERMINAL_ENV=host unless every account could be trusted with a shell on the server.
  • Back up secrets and data securely, and test account recovery.

Implementation details are in Runtime and tool execution; report vulnerabilities through SECURITY.md.