# Tinfoil Container

A tinfoil terminal backend: Ulpi's terminal, file and code tools run inside your own Tinfoil Container, an attested enclave.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: counterposition
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

A tinfoil terminal backend: Ulpi's terminal, file and code tools run inside your own Tinfoil Container, an attested enclave, reached over the Tinfoil CLI's attested SSH tunnel. Select it with terminal.backend: tinfoil and terminal.tinfoil_container.

Dangerous-command approval stays on, and the plugin never creates, starts, stops or bills containers. Disclosure — every tool call runs the user's installed tinfoil CLI (tinfoil ssh) and OpenSSH client as subprocesses; the CLI contacts Tinfoil's control plane to look the container up, then the enclave.

The plugin passes TINFOIL_API_KEY, read through Ulpi's secret scope, to the CLI as the tunnel key, and the admin key when set (TINFOIL_ADMIN_KEY, or an admin\_ key in TINFOIL_API_KEY, which the CLI also accepts); beyond those the CLI and ssh get only an allowlist of Ulpi's environment (PATH, home, temp, user, locale, SSH agent socket, certificate and HTTP proxy settings, the CLI's TINFOIL_CONTROLPLANE_URL and TINFOIL_CONFIG, Windows system directories). It never reads the CLI's saved login, and strips TINFOIL_API_KEY, TINFOIL_TUNNEL_API_KEY and TINFOIL_ADMIN_KEY from the environment of commands the agent runs.

An SSH control socket under the system temp directory (ulpi-tinfoil/) keeps the verified connection open for five idle minutes. A pre_tool_call hook rewrites a leading \~ in the path argument of read_file, write_file, patch and search_files to the container's home directory, only while terminal.backend is tinfoil, because Ulpi otherwise expands it to the host's home.

No telemetry.

## What you need first

- Needs a Tinfoil organization with Containers enabled; the public template https://github.com/counterposition/ulpi-tinfoil-workspace sets up a suitable workspace.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [titanos-mcp](https://www.ulpi.io/en/marketplace/plugins/titanos-mcp): Connect Ulpi to Titanos marketplace, Amazon, listings, Ads, and product research tools.
- [tmux-live](https://www.ulpi.io/en/marketplace/plugins/tmux-live): Live tmux tab for the Ulpi web dashboard: pick a pane, watch it in ANSI colour, type into it when needed, and terminate the process, pane or session.
- [token家政婦](https://www.ulpi.io/en/marketplace/plugins/token): Source-grounded 5W1H task cards and advisory prompt-preparation workflow for Ulpi.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
