Security
A client that downloads scripts and runs them should make a DevOps engineer nervous. This page says exactly what ours runs, where, and how you can check it.
W H E R E
Only inside containers and kind clusters the game creates, all named dm-*.
W H A T
One mission at a time: its setup and check scripts, from a bundle signed by our server.
W H E N
While you play. Quitting removes every environment it built.
What the client runs, and where
Each mission has a small bundle: a description, a setup script that builds the broken state, and a check script that reads it. The client:
- builds the track environment as Docker containers or a kind cluster, always named
dm-*(for exampledm-linux,kind-dm-k8s); - runs the mission's setup and check scripts against that environment;
- opens your shell in the mission sandbox, where you work with the real tools;
- removes every
dm-*container and cluster when you quit (or now, withdm stop). Images and caches stay so the next start is faster.
It never touches containers, clusters or kube contexts it did not create. While a cluster track runs, its cluster is added to ~/.kube/config as kind-dm-<track>; your current context is never changed and the entry is removed on quit (set DM_NO_KUBE_SYNC=1 to turn this off).
Host execution: today and next
Today, the Linux, Kubernetes, Helm, Argo CD and AWS tracks already run inside Docker. The Bash, Git, Python and Terraform tracks run their mission scripts in a sandbox folder on your machine (by default under /tmp/devopsmissions), with your user's permissions.
In a later release, every track moves into a single dm-player image (bash, git, Python, Terraform, AWS CLI, kubectl, helm, argocd). Mission scripts will then never run on your host at all, and Docker becomes the only requirement.
Signed content
- Every bundle the server sends carries a SHA-256 checksum and an Ed25519 signature over the exact bytes.
- The client pins the server's public key the first time you sign in and refuses any bundle whose checksum or signature does not match. A tampered download is never extracted or run.
- The current public key is published by the API at
/metaso you can compare it.
Your account and tokens
- Signing in uses a device code you approve in the browser, like
gh auth login. Your password is never typed into the terminal. - The client stores an access token (valid 1 hour) and a refresh token (30 days, replaced on every use) in
~/.devopsmissions/auth.jsonwith mode0600. - The server stores only hashes of tokens, and passwords hashed with Argon2. Up to 3 computers can be signed in; you can revoke any of them from your account.
What we send and keep
- When you validate, the client sends pass/fail, the check messages, the last lines of their output and the time taken. It does not upload your files, shell history or environment.
- Mission scripts carry an invisible per-account build mark (
# dm-build: ...) so leaked content can be traced to an account. It contains no personal data. - To stop bulk copying, an account can open 40 new missions a day and 15 an hour.
- Every request from
dmnames the client version, operating system, CPU type and Python version (for example0.1.0-aee75373; darwin; arm64; py3.12), so we can tell you when an update is available. Nothing else about your machine is sent. - Error reports: when a mission fails to set up,
dm doctorfinds a problem or the game hits an unexpected error,dmsends an anonymous report: the kind of error, the first 500 characters of its message (your home folder replaced by~, e-mail addresses and tokens removed), the mission, the client details above and the Docker version. Never environment variables, tokens or file contents, and no account or device is attached. Reports are kept for 90 days. They are on by default; turn them off withdm telemetry offorDM_TELEMETRY=0(dm telemetry statusshows the setting).
Details on personal data are in the privacy policy.
Reporting a vulnerability
Found a security problem in the client, the site or the API? Please tell us privately before you publish it: write to [email protected] (a placeholder until the final domain is set). We will reply within a few days and credit you if you like.