Scan your whole stack
From OX Research Newsroom
Are you using mystack-rig?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.7.4
mystack-rig was last scanned on 28 Nov 2026 at version 1.7.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.7.4 LATEST | 28 Nov 2026 | No rules fired |
| 1.7.3 | 27 Nov 2026 | No rules fired |
| 1.7.2 | 27 Nov 2026 | No rules fired |
| 1.7.1 | 25 Nov 2026 | Not shown |
| 1.7.0 | 25 Nov 2026 | Not shown |
Findings for v1.7.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.7.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Secure, fast, cost-efficient ephemeral remotes with full local parity—so coding agents and humans can develop and e2e-test for real.
pip install mystack-rig
rig init
rig create
Run rig from your machine, CI/CD, or a control plane: it provisions cloud VMs you can create and dispose anytime, and you work on /workspace via agent TTY or editor. SSH/HTTPS reaches VMs through the firewall; HTTPS reaches the provider. The CLI stores env state in S3-compatible object storage.
| Provider | host.provider |
Status |
|---|---|---|
| Hetzner Cloud | hetzner (default) |
Supported (VMs, firewall, snapshots, S3-compatible object storage) |
| AWS | aws |
Coming next |
| GCP | gcp |
Coming next |
rig create reads host.provider. Omit it and the provider is Hetzner. --provider overrides the file. aws and gcp are accepted as names and refused until those clouds can provision.
State storage (environment records, outputs) is separate from the VM provider and can be any of:
| Storage | Selected by | Status |
|---|---|---|
| Hetzner Object Storage | default endpoint (https://fsn1.your-objectstorage.com) |
Supported |
| Cloudflare R2 | state_endpoint_url = https://<account-id>.r2.cloudflarestorage.com |
Supported |
See State backend for the settings.
Chosen at rig init (agent.enabled in rig.yml, same multi-select as git projects: numbers, names, or all). Every selected agent is installed and configured on the VM. When more than one is selected, init asks which is the default for rig attach (agent.default). Pass --agent to open another one.
| Agent | agent.default |
API key |
|---|---|---|
| OpenCode | opencode (default) |
Optional. One agent: coding_agent_api_key. Several agents: opencode_api_key. Enter skips and uses free Zen models |
| Claude Code | claude |
One agent: coding_agent_api_key (Anthropic). Several agents: claude_api_key |
| Cursor CLI | cursor |
One agent: coding_agent_api_key (CURSOR_API_KEY). Several agents: cursor_api_key |
Each selected agent is asked for its own key. Scaffolds land under .rig/.opencode/, .rig/.claude/, and .rig/.cursor/ (plus shared AGENTS.md). MCP servers are declared once in .rig/mcp.json (below). Independent of editor (local IDE for rig dev).
Declare an MCP server once in .rig/mcp.json and every enabled agent gets it. The file uses Claude's .mcp.json schema, and values may reference MCP variables as ${NAME} or ${NAME:-default}:
{
"mcpServers": {
"awx": {
"command": "python3",
"args": ["-u", "/home/dev/awx-mcp-stdio.py"],
"env": { "AWX_MCP_API_KEY": "${AWX_MCP_API_KEY}" }
},
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": { "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}" }
}
}
}
rig mcp add awx --env AWX_MCP_API_KEY -- python3 -u /home/dev/awx-mcp-stdio.py
rig mcp add context7 --url https://mcp.context7.com/mcp --header 'CONTEXT7_API_KEY=${CONTEXT7_API_KEY}'
rig mcp list # servers, and whether each variable resolves
rig mcp check # same, exit 1 on any problem (also lists ignored legacy files)
rig mcp remove awx
--env KEY means KEY=${KEY}; --env KEY=value stores a literal. add prompts for each ${NAME} that has no default and no value yet, and vaults it (shared vars.yml; --personal for vars.<identity>.yml).AWX_MCP_API_KEY finds awx_mcp_api_key. Two variables that differ only by case are an error. Values come from the vars files, inventory and extra vars, not from play-level vars:.~/.claude.json (mcpServers), ~/.cursor/mcp.json and opencode.json (mcp) on the Environment. A server with the same name is replaced; servers you added by hand there are kept. Secrets are written into those files (mode 0600)..rig/mcp.json fails the Stage.type, command, args, env, url, headers) are dropped with a warning.rig mcp add/remove only edit local files. Push to a running Environment with rig apply --authorize; remove leaves the old entry on Environments that already have it until they are recreated.--approve-mcps, so servers rig installs never prompt.command at that path..rig/.claude|.cursor|.opencode/mcp.json files from earlier versions are no longer deployed. If one still declares servers, rig apply/create and rig mcp check warn; move them to .rig/mcp.json.rig attach runs the agent as a live agent: a process kept running on the Environment inside its own tmux session (tmux -L rig, with a config rig ships, so it never touches a tmux you use yourself). Closing the terminal or losing the connection only detaches; the agent keeps working, and the next rig attach joins it.
rig attach # start the live agent, or join the running one
# leave: close the terminal, or detach with Ctrl+b d. Ctrl+C still goes to the agent.
rig attach --restart # replace it with a fresh process (resumes the same conversation)
rig attach --no-persist # old behaviour: the agent ends with the SSH session
rig attach joins the first (both terminals see the same screen). Resume flags (-c, --resume, --session) apply only when a live agent is started; joining ignores them with a warning.rig attach joins whichever live agent is running. --agent picks another.rig inspect lists live agents. rig apply and rig delete warn when there are any: a live agent keeps the credentials and MCP config it started with until rig attach --restart, and deleting the Environment ends it.rig attach recovers the resume id from that log.rig execStart an agent on a task and leave:
rig exec "fix the failing tests in /workspace/api"
rig exec @task.md # prompt from a file
echo "review the diff" | rig exec - # prompt from stdin
rig exec --name dev-ab12cd34 --agent claude "..."
rig exec starts the live agent with the prompt, prints how to attach, and returns. It never creates an Environment and never waits.
--permission-mode bypassPermissions for Claude Code, --force for Cursor, --auto for OpenCode), because an unattended agent that stops at a prompt just sits there. Claude Code refuses bypass mode as root unless it is told it runs in a sandbox, so rig sets IS_SANDBOX=1 for that run (harmless for the non-root workspace user), and authorize pre-accepts Claude's first-use warning dialog (skipDangerousModePermissionPrompt), whose default answer is "exit". The Environment has internet access, your tokens and root, so an agent reading untrusted text could be talked into acting on it. Use --no-auto-approve to supervise the run; it then pauses at each approval until you attach.rig exec queues the prompt into it for Claude Code, which runs it after the current turn. rig does this only when Claude's hooks report it idle or working, never while it waits at an approval dialog (typing there would answer the dialog). If it is waiting, the state is unknown, or the agent is OpenCode or Cursor (queue behaviour not yet verified), rig exec refuses with the reason; --restart replaces the live agent instead. A queued prompt runs under the existing agent's permission mode.rig exec prints its output and fails.The prompt reaches the VM on stdin and a private temporary file that is deleted when the agent starts, never on a command line.
rig-agent-state, rig-agent-queue) and Claude Code's state hooks are deployed by authorize.yml, so changing them never rebuilds the cached image. The hooks are merged into ~/.claude/settings.json next to any hooks you added.idle, working, waiting or ended in /run/rig/agents/claude.state; rig-agent-queue reads it before pasting.rig attach or rig exec replaces it./var/log/rig/rig-<agent>.log (the previous run's log is kept as .prev).rig dev opens the remote /workspace. Default is local editor + Remote-SSH; --browser uses code-server on the VM.
| Mode | Clients |
|---|---|
| Remote-SSH (default) | VS Code (code), VS Code Insiders (code-insiders), Cursor (cursor), VSCodium (codium) |
Browser (--browser) |
code-server (password: vaulted vscode_browser_password) |
Chosen at rig init (editor.enabled in rig.yml, same multi-select as git projects: numbers, names, or all). When more than one is selected, init asks which is the default for rig dev (editor.default). Pass --editor to open another enabled one. These are local clients: nothing extra is installed on the VM, and each IDE downloads its own remote server the first time it connects. Browser login: rig vars decrypt vscode_browser_password.
rig init looks for Dev Containers in the Repos you select and, when it finds any, asks whether to enable support (default yes). It records the answer in rig.yml and doesn't ask again. To enable it by hand, set editor.devcontainers: true; then rig dev looks for Dev Containers in your Repos on the VM (each Repo's root and its immediate subfolders: .devcontainer/devcontainer.json, .devcontainer.json, .devcontainer/<name>/devcontainer.json). One match opens straight away, several give a numbered prompt, none opens the plain folder.
rig dev --target api or --target api:backend skips the prompt; --select forces it. The last choice per Environment is remembered in /tmp/.rig/targets/.--browser. Agents still run on the VM, not in the container..rig/configure.yml. Existing Workspaces must add it themselves, and existing Environments must be re-created:- name: Install Docker for Dev Containers
include_role:
name: geerlingguy.docker
when: install_docker | default(false)
See ADR 0005.
Rig doesn't make you work as root. Provision creates one non-root account, dev by default, with passwordless sudo and (once Docker is installed) the docker group. It is the account rig attach, rig exec, rig dev, the SSH alias, agents, code-server and Dev Containers all use, so VS Code remaps the container user's uid to match it and /workspace is writable from the container. Ansible still connects as root. Authorize copies root's authorized_keys to the user on every create.
Change the name in rig.yml (not root; a valid Linux user name):
host:
user: dev
Agent config (~/.claude, ~/.cursor, ~/.config/opencode), the git token file and the git author live in that user's home. code_server_user is no longer used. Playbooks get rig_user and rig_home. Existing Workspaces: provision.yml and authorize.yml are regenerated, but your materialize.yml is not: add become_user: "{{ rig_user }}" to its clone task and owner/group: "{{ rig_user }}" to the /workspace task. Existing Environments predate the user and must be re-created. See ADR 0006.
rig init writes commit-friendly files into the current directory (including a subdirectory of a git repo):
rig.yml # workspace manifest (vm, agent, playbooks, repos)
.gitignore # adds .rig/collections, roles, inventory (via init)
.rig/
provision.yml # managed; create base environment (cached)
configure.yml # user; image/service customizations (cached)
authorize.yml # managed; inject credentials (never snapshotted)
materialize.yml # user; populate /workspace after authorize
finalize.yml # user; destruction hooks before managed destroy
destroy.yml # managed; teardown system resources before VM delete
vars.yml # Shared Ansible vars (vaulted with shared data key)
vars.<identity>.yml # Personal secrets + master-key wraps (committed)
requirements.yml # Galaxy collections/roles
local_roles/ # committed Ansible roles (searched first)
AGENTS.md # agent instructions
.opencode/ | .claude/ | .cursor/ # agent config
mcp.json # user; MCP servers for every agent (see `rig mcp`)
inventory.yml # generated at create/apply (gitignored)
collections/ roles/ # Galaxy installs (gitignored) Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.