Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exec capability

Some nodes act on the machine Tappet runs on rather than on remote APIs. They are grouped as exec-class nodes:

NodeWhat it can do
Execute Command (core.execute_command)Run a shell command on the host
Read/Write Files from Disk (core.read_write_file)Read and write files the Tappet process can access
SSH (proto.ssh)Run commands on remote hosts with stored keys
MCP client over stdioStart a local process and talk to it as an MCP server
Python Code (planned)Run Python in an isolated runner

Anyone who can edit a workflow with these nodes effectively has a shell on the host (or on the SSH targets). They are therefore disabled by default.

Enabling

SettingEffect
TAPPET_ALLOW_EXEC=trueExec-class nodes may be enabled. Without it, they are refused everywhere.
Project setting Allow exec-class nodesEnables them for one project. Only instance admins can change it.
TAPPET_MULTI_TENANT=trueExec-class nodes stay disabled even with TAPPET_ALLOW_EXEC=true, unless the instance owner explicitly overrides it for a project.

When exec is not allowed:

  • Importing a workflow with an exec-class node succeeds, and the node is marked EXEC_CAPABILITY_DISABLED in the diagnostics report.
  • The editor shows the node as unavailable and explains why.
  • Running it fails with a policy error before anything is executed.

Running exec-class nodes safely

If you enable them:

  • Run Tappet as a dedicated, unprivileged user (the systemd unit in deploy/systemd creates a dynamic user; the container image runs as non-root).
  • Keep the root file system read-only and give the process only the directories it needs. The hardened systemd unit and the Helm chart do this; adjust ReadWritePaths or volume mounts to add a working directory for files.
  • Enable exec only for the projects that need it, and keep their membership small.
  • For SSH, use keys restricted on the target (command=, from= options in authorized_keys).
  • Review the audit log for workflow changes in those projects.

Why not sandbox commands instead

A sandbox that is safe for arbitrary shell commands depends heavily on the host (namespaces, seccomp, file system layout) and gives a false sense of safety when misconfigured. Tappet keeps the default simple: off, with an explicit per-project opt-in. For isolation, run a separate Tappet instance for workloads that need exec, in its own container or VM.