Help hold the walls

A security-first project needs adversarial eyes as much as feature hands.

Rust development

Workers, channel adapters, and the macOS sandbox-parity work. The codebase is a 27-crate workspace with a strict no-unsandboxed-spawn rule.

Security review

Red-team the sandbox policies, the threat model, the egress proxy. Finding a hole is a contribution, not a nuisance.

Docs & testing

The onboarding manual, cross-distro testing, macOS coverage. If a setup step surprised you, that’s a bug in the docs.

Ideas & issues

Design discussions and issue triage happen in the open on GitHub. Issues โ†’

Build it in three commands

git clone https://github.com/hherb/kastellan
cd kastellan && cargo build --workspace
cargo test --workspace

Ubuntu 24.04+ needs one extra step โ€” an AppArmor profile so bubblewrap can create user namespaces (sudo scripts/linux/install-bwrap-apparmor-profile.sh). macOS works out of the box. Without that profile, sandbox tests print [SKIP] and still report green โ€” so run scripts/run-e2e-gate.sh --list to see the gated tiers that demand their fixtures. Release builds go through one script, bash scripts/build-release.sh, so every consumer sees the same bytes.

House rules

Start with the repo:

github.com/hherb/kastellan