BLA
BLA (Blind LLM Agents) is the open-source Blue Defense MCP and CLI built to protect software artifacts against automated AI reverse-engineering workflows.
Hardened Podman container runner with gate server and shield integration
SecurityPython · ShellGitHub @terok-aiOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
hardening for podman containers
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
The hardened-Podman runtime — terok-sandbox launches per-task containers with a credential vault,
a gated git server, and an egress firewall.Read the full README ↗The hardened-Podman runtime — terok-sandbox launches per-task containers with a credential vault, a gated git server, and an egress firewall.
services.clearance: mute starts each task with those prompts silenced, and off leaves the clearance arm out entirely; either way the shield still refuses every blocked connection, and records the refused destinations in its audit log while shield.audit is on (the default).
A change applies at the next start of the task: create, recreate, or a terok restart.terok-sandbox setup installs the shield +
supervisor OCI hooks and provisions the encrypted credentials DB;
terok-sandbox uninstall reverses it.terok-sandbox is the boundary layer. Above it, single-task callers (terok-executor) and multi-task orchestrators (terok) treat the sandbox as a black-box "give me a hardened container." Below it, it composes terok-shield for egress filtering and terok-clearance for the operator-in-the-loop verdict path.
from terok_sandbox import (
# Lifecycle
Sandbox,
SandboxConfig,
RunSpec,
VolumeSpec,
Sharing,
# Runtime backends
PodmanRuntime,
KrunRuntime,
NullRuntime,
ContainerRuntime,
# Vault + credentials
CredentialDB,
SSHManager,
NoPassphraseError,
WrongPassphraseError,
# Gate
GateServer,
GitGate,
mint_gate_token,
# Shield adapter
ShieldManager,
ShieldHooks,
check_environment,
# Per-container wiring / setup state
write_sidecar,
remove_container_state,
sandbox_uninstall,
check_setup,
)
The full export list lives in
src/terok_sandbox/__init__.py.
| Command | Purpose |
|---|---|
terok-sandbox setup | Install shield + supervisor OCI hooks, provision the credentials DB; idempotent |
terok-sandbox uninstall | Reverse of setup |
terok-sandbox prepare / run / cleanup | Wire a user-owned container into the sandbox services |
terok-sandbox doctor | Run host-side sandbox health checks |
terok-sandbox vault … | Vault status / unlock / lock / passphrase-tier management |
terok-sandbox gate … | Git gate inspection (gate path <project>) |
terok-sandbox shield … | Shield hooks install / status / direct control |
terok-sandbox ssh … | Per-scope SSH key management in the credentials DB |
terok-sandbox credentials encrypt-db | Encrypt (migrate) a plaintext credentials DB |
terok-sandbox ssh add myscope
terok-sandbox ssh add myscope -c gitlab-deploy
terok-sandbox ssh list --scope myscope
terok-sandbox ssh pub myscope
terok-sandbox ssh default myscope 2
terok-sandbox ssh pub myscope --key-id 2
ssh add always creates another key. Without -c / --comment, its name is
the next unused myscope-N; an interactive terminal prompts to accept or
override that suggestion. Imports preserve their original comment unless
-c / --comment overrides it.
The first assigned key becomes the scope's default. Adding or renaming keys
does not change it. ssh list marks the default with *; ssh default
selects another assigned key to offer first through the SSH agent socket.
ssh pub prints every assigned public key, one per line with the default
first, or just the key selected by --key-id. ssh add --force replaces
the scope's existing keys with a fresh default.
systemd-creds vault passphrase tier (gate / vault / clearance run inside the per-container supervisor, no systemd units)nft binary) — provided by terok-shield's runtimepip install terok-sandbox
For most users this dependency is pulled in transitively by
terok-executor or terok. Install it directly only when building
a custom orchestrator on top of the sandbox API.
Apache-2.0 — see LICENSES/Apache-2.0.txt.