Office of the CTO · Oct 26, 2026

Coding agents get a perimeter on one RHEL host

OpenCode and OpenClaw run inside an OpenShell sandbox, reach models through a Praxis gateway, and ship as a bootc image.

Experimental RHEL 9 OpenShell Praxis bootc
Pavel Anni · Office of the CTO · Red Hat
The problem

A coding agent reads your files, runs commands, and calls a model

Those abilities make a harness useful. They also raise four questions the harness does not answer by itself.

The gap

In an ordinary container the app holds the real key

Ordinary container

Everything sits inside the app

  • The real model key lives in the app process
  • The app can write to its own directory
  • The app can read a marker outside its directory
OpenShell sandbox

The perimeter sits around the app

  • The app gets an opaque placeholder, and OpenShell swaps in the real key for one authorized endpoint
  • The app directory is read-only
  • The marker outside the allowed paths is unreadable
Source: docs/examples/streamlit-security
The approach

Every request follows one path: harness, sandbox, gateway, model

Harness

OpenCode / OpenClaw

Prompts, model selection, tool calls

→
Execution boundary

OpenShell sandbox

Filesystem, network, and process policy

→
Model gateway

Praxis

Routing, key custody, shared limits

→
Upstream

Approved model

Private vLLM host or external provider

Sandbox policy can limit the harness to the gateway while Praxis selects the approved upstream.

How it works

Each concern has exactly one owner

OpenShell

Workspace and tools

Declared writable paths, read-only paths, approved binaries, and network destinations.

Praxis

Model routing

One gateway endpoint for the harness, with a local or external upstream behind it.

Praxis or provider profile

Provider credentials

Keys stay out of ordinary harness configuration.

bootc

Host consistency

The reviewed host environment and pinned workload references ship as one OS image.

The result
0
provider keys held by the harness or the sandbox on the integrated Praxis paths
Source: README, How It Works
The proof

Three attack scenarios stop at the same perimeter

API key theft

Planted key

The key is discoverable. Attempts to spend it outside the approved gateway are blocked and audited.

Document exfiltration

Malicious skill

The skill tries several ways to send a document to an attacker destination. The boundary blocks each one.

Model escalation

Unapproved model

The gateway catalog refuses the model before any credential is used.

Source: docs/examples
Deployment

One bootc image repeats the host

What you can do

Agents keep working after your laptop disconnects

The sandbox receives no GitHub token and has no GitHub write access.

Source: docs/examples/opencode-pr-queue
Limits

Treat it as an experiment on a disposable host

Next steps

Start with the Streamlit demo, then pick a scenario

  1. Read the architecture overview to see which component owns which concern.
  2. Run the Streamlit before-and-after on a dedicated RHEL 9 x86_64 host.
  3. Try a security scenario from the examples index.

Thank You

Pavel Anni
Office of the CTO · Red Hat
panni@redhat.com
1 / 12