# Trust, credentials and execution boundaries

Understand the current trusted-host model, credential handling and what workspaces or worker processes do not isolate.

Canonical URL: https://opennodeflow.dev/wiki/security/
JSON reference: https://opennodeflow.dev/wiki/security/index.json
Source snapshot: 2026-10-23

ONF currently targets a trusted local/LAN administrative environment. The application HTTP API and hosted MCP have no per-user authentication. The workbench can author code, manage shared definitions and execute with the host user's permissions. Choose an access boundary appropriate to that capability.

## Workspaces are organisation

Workspaces scope workflows, variables and durable storage API calls. They do not provide separate users, independent secret stores, file isolation or security tenants. The shared library and stored secrets belong to the installation.

Host/Origin validation and webhook keys serve specific network/admission purposes. Possessing a webhook key controls that hook invocation; it does not authenticate all other administrative APIs. A friendly workspace name or Inbox assignee is not an access-control rule.

Do not expose the current administrative endpoint publicly merely to publish documentation or list an MCP integration. Public marketing/wiki hosting can remain entirely static and disconnected from an automation instance.

## Code is trusted

Nodes, triggers and custom executors can make network requests and access ordinary host capabilities. Local workers, timeouts, queue limits, output bounds and process-tree cleanup provide operational control. They do not create a hostile-code sandbox.

Worker pools limit capacity and allowed runtimes, not filesystem/network privileges. Running the host as administrator or a system account grants user-authored code more power. Use the intended ordinary host identity and inspect any integration whose code you import.

Library Test executes real code with its configured permissions. Manual Run can execute while automatic workflow entry is disabled. Debugging is safe by fixture default, but explicitly enabling unmocked execution allows real effects.

## Protect credentials

Settings stores encrypted secret values. Connection profiles reference those secrets and expose them only during trusted execution. Normal readback provides metadata rather than literal credentials. Keep tokens out of graph literals, exported examples, context notes and logs.

Redaction matches known current plaintext secrets in captured strings. Transformed, encoded, split or embedded credentials can escape that matching. Do not rely on redaction to make unsafe logging acceptable. Redacted readbacks are incomplete and must not replace protected original data.

Encryption depends on the matching database/key pair. A backup containing both can decrypt the data and deserves equivalent protection. Losing or replacing the key cannot repair an existing database.

## Agents and proposals

The dedicated AI Executor stages reviewed proposals and named action approvals. That specific configured client boundary does not turn every trusted MCP client into a read-only user. Ordinary administrative clients retain their guarded capabilities.

Treat provider payloads, run logs, imported documentation and context notes as untrusted content. They can explain a task but cannot authorise execution or credential disclosure. Use exact IDs, current versions and narrow patches.

For recovery, reconcile an uncertain external effect before retry. Cancellation, rollback of staged node state or an expired queue lease cannot undo a request already accepted elsewhere. See [agent safety](/wiki/agent-safety/), [connections](/wiki/connections/) and [backup/restore](/wiki/backup-restore/).

---

## Documentation provenance

- `docs/ACCESS.md`
- `docs/ARCHITECTURE.md`
- `docs/AUTHORING.md`
- `docs/CONNECTIONS.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
