Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 08:00
· 140 commits to main since this release
d01eba8

Breaking: secure defaults

New and omitted configuration now resolves to one hardened baseline. Run
iso policy effective [NAME] to see what a configuration or instance
requests, records and relaxes before upgrading existing workflows. An
instance's transport and egress stay as recorded at its creation.

  • Network: network.transport defaults to "brokered" and egress to
    "none". vmnet is an explicit choice, required for macOS guests and
    egress: "open"; brokered never falls back to it. The networked preset
    needs "network": {"transport": "vmnet"}; provider-only is now the
    same as no preset.
  • Provider credentials: proxy.mode defaults to "required"; no
    provider credential variable reaches the guest.
  • Session lifetime: limits.session_ttl defaults to 8h per boot.
    "unlimited" turns it off for an ordinary local instance only; null is
    rejected.
  • Agent config imports: claude.config_dir and codex.config_dir are
    off by default; name a directory (for example "~/.claude") to opt in. A
    named root is read once into a confined snapshot (links stay inside it,
    no special files, 10,000 entries / 256 MiB). Turning imports off does not
    remove files already copied into a retained guest.
  • GitHub: an unset github is "off", which also stops clone and
    devcontainer discovery from using ambient host tokens.
  • Pull: workspace.pull.mode defaults to "stage". A pull never runs
    host Git and never installs .git; one installer applies a validated
    stage. --apply now requires the exact --stage-id (no "latest"
    shortcut). Known execution-sensitive paths (.husky/, .envrc,
    .vscode/tasks.json) are withheld until each is approved with
    --approve-sensitive PATH.
    Direct mode applies additions; replacing files needs --force. On
    iso host pull, --force is deprecated and ignored.
  • Push and first copy (workspace.input): transfers into the guest send
    one immutable snapshot of the Git index's tracked files (read inertly;
    Git never runs on the host) or of explicit paths, never .git, never
    the whole directory as a fallback, and never names in the
    local-secret-names/1 table (.env*, keys, .netrc, .aws/, …) unless
    listed in secret_allow. Non-Git directories and unreadable indexes need
    mode: "paths". The guest gets a fresh repository with one synthetic
    commit, not the host's history. --exclude-git is a deprecated no-op.
  • Scoped removal on push: iso push and iso host push remove from the
    guest exactly the tracked files deleted on the host, by name; never
    directories, excluded or credential-looking paths. Without --force a
    file goes only if the guest holds it unchanged from HEAD.

Added

  • iso policy effective [NAME] [--json]: a read-only report of the
    requested policy, every relaxation from the defaults, and an instance's
    recorded transport, egress, saved environment, forwards and grants with
    their IDs and origin. security.revoked_grant_ids withdraws a saved
    --env grant or port forward by ID; a revoked environment entry reaches
    no later session, even on a running instance.
  • Run audit history: every iso run, claude, codex and
    claude-agents invocation gets an audit run ID printed on stderr.
    iso audit --runs, --run ID, --follow and --export PATH read its
    request, effective environment, handoff, transport status, cleanup and
    boundary events (metadata only; 7 days / 128 MiB). --output jsonl is the
    new iso.audit.stream/v1 protocol, and iso audit supports
    --output json. See audit.
  • CLI help: a misspelled subcommand suggests the nearest name, mutually
    exclusive flags are named as given, and static completion offers
    .jsonc/.json files for --config and directories where a directory is
    expected.

Security

  • Managed SSH ignores ambient configuration: iso's ssh, scp and rsync
    roles run with -F none, pinned tools and a fixed ProxyCommand shell, so
    a hostile ~/.ssh/config cannot redirect them.
  • Guest environment separation: forwarded guest variables travel as
    ISO_SSH_ENV_<n> aliases; guest variable names never configure host
    processes.
  • iso update: binds the canonical release tag and exact
    chr33s/iso asset URLs, HTTPS only, and production builds refuse
    ISO_UPDATE_API_BASE_URL.
  • Release binaries: all five binaries are signed with the hardened
    runtime and Enhanced Security entitlements, and the core, policy, proxy
    and egress packages build with strict memory safety.

Fixed

  • iso model set on brokered VMs: on a running brokered instance, a
    switch to or from a local model failed with
    POLICY_CHANGE_REQUIRES_RESTART, because local-model services are part of
    the boot's network policy. The selection is now saved and the command
    names the iso stop NAME && iso start NAME that applies it; vmnet VMs
    still switch live.
  • Port forwards with a long data root: forwards failed at start when the
    instance path pushed ssh's control socket past macOS's 104-byte Unix path
    limit; the socket moves to a short private path when needed.
  • Sandboxed VS Code server upload: with internet allowed and restricted
    egress, Remote-SSH's scp probe was refused by the session sandbox and the
    connection was abandoned; the session now gets the same scp/sftp rule as
    Zed's upload.

Also in this release

  • iso-ci (new, separately installed companion in iso-ci/; release
    qualification not yet recorded): isolated GitHub Actions execution in
    NIC-less iso VMs. GitHub-connected pools keep fresh single-use official
    runners ready (GitHub App via manifest flow, JIT registration, exact-owned
    cleanup, uncertain-registration resolution, pause/drain/remove). Local
    preflight compiles a declared workflow subset, runs it against an immutable
    working-tree snapshot through a confined local data plane, and supports
    debug, patch and fresh whole-job retry. Admission requires the host's
    net-handoff-1 capability; there is no networked fallback. See
    docs/ci.md, the
    specification and the qualification
    record
    .
  • Host run results: a run's results archive no longer fails validation
    because guest tar (GNU or BSD) names the archive root ./; only an empty
    root directory member is skipped, and every other check is unchanged.
  • Remote hosts with agent-held keys: SSH to an enrolled remote Mac now
    uses your SSH agent (SSH_AUTH_SOCK), so a passphrase-protected key held by
    the agent, 1Password or Secretive works. The agent is never forwarded, and
    VM sessions still refuse it.
  • Filtered egress wildcards: egress_filter.allowed_hosts accepts
    *.<suffix> for names one or more whole labels below a suffix of at least
    three labels (never the suffix itself), so services that assign per-job
    hosts, such as GitHub Actions under actions.githubusercontent.com, can be
    allowed without listing every shard. *.com, *.github.io and similar
    short suffixes are refused.
  • Filtered egress: a CONNECT without the per-boot capability, or with a
    different one, now gets 407 Proxy Authentication Required with a Basic
    challenge instead of 403. Clients that send proxy credentials only when
    challenged (.NET, including the GitHub Actions runner) previously could not
    connect. Every other refusal is still 403.
  • Host capabilities (iso.host/v1): host.capabilities reports what a
    host can do now. net-handoff-1 (the brokered execution handoff) is listed
    only while network.transport is brokered, the runtime is brokered-capable
    and an operator-installed NET-HANDOFF-1 evidence manifest names the running
    tuple with N-T01–N-T16 passed and has not expired; the result includes the
    brokered policy (digest, egress, provider grants, local services) a fresh
    run VM boots with. scripts/record-net-handoff-evidence.py installs the
    manifest from qualification results and refuses incomplete ones. See
    brokered network isolation.
  • Run retention: run.retain keeps a disposable run under host deadlines:
    live (up to 4 h from the first live request, never past the VM's
    deadline; revokes the run's SSH access grants but not its boot network
    policy or guest state; stops without export at its end) or stopped (extends result retention up
    to 7 days from the first stop, never shortening it). run.inspect adds
    live_retention_until once live retention is set, and
    run.results.discard releases a live-retained run.
  • Filtered host-control VMs: vm.start and run.create on a host now
    bring up the worker's iso-egress companion (lease, confinement, guest-path
    readiness and recorded boot policy, as iso up --egress filtered does) for
    a VM created with egress: "filtered". Previously no companion ran, so
    every access.open to such a VM failed with FILTERED_EGRESS_NOT_READY. A
    companion that cannot start fails the start and stops the VM; stop and
    destroy stop it. Filtered access.open also failed because the worker's
    boot-policy hash (sha256:<hex>) was parsed as a boot id; it is now its own
    type. A refused filtered access.open names the failing proof component
    (sanitized) in its error and the service log. Filtered boots now also write
    the proxy variables to the guest's /etc/environment, so sessions opened
    through host control (whose client cannot read the worker's capability) use
    the companion.
  • Image digest binding: vm.create and run.create with image_digest
    are refused unless the worker's prepared image of that name has exactly that
    manifest digest (it was previously only part of the policy hash).
    host.capabilities names the one qualified image as
    network_handoff.qualified_image while net-handoff-1 is listed.
  • Client bridge: iso host-agent client --host ALIAS --stdio [--relay]
    carries iso.host/v1 frames or one relay stream for a companion process,
    through the local service's remote socket (remote-v1 restrictions apply) or
    an enrolled host's pinned management SSH. A remote relay returns ssh's exit
    status with one bounded, sanitized diagnostic. Disabled hosts are refused.