Desktop automation
Desktop automation can involve credentials, session files, screenshots, browser profiles, and local documents. Treat it as sensitive by default.
Pattern
Section titled “Pattern”- Build a Nix image with the automation runtime and tools.
- Copy only the files needed for the task into the guest.
- Use explicit network allowlists.
- Keep credentials as references or short-lived grants.
- Snapshot only when you intend to preserve session state.
Security boundaries
Section titled “Security boundaries”- Do not mount broad host directories.
- Do not persist browser profiles unless retention is intentional.
- Treat screenshots and recordings as sensitive artifacts.
- Use audit IDs to connect automation runs to policy decisions.
Status
Section titled “Status”This is a product pattern. The SDK helpers for high-level desktop sessions are planned; use CLI/runtime primitives and explicit images today.