Commit graph

5 commits

Author SHA1 Message Date
Evgeny Boger
45c208ce31 run: clarify --auto-publish help text + bump vendor/microsandbox
The previous help text claimed "Loopback-only guest binds are NOT
forwarded" — but the agentd-side forwarder added in 18d2c75 does
in fact forward them. Operators reading --help reasonably
expected 127.0.0.1-only guest services to stay private; in
practice agent-vm exposes them on host 127.0.0.1 (every other
process on the host's loopback can reach them).

Updated text describes what actually happens and adds an explicit
security note pointing users at the per-port --publish flag when
they DO want loopback to stay private inside the guest.

Vendor bump picks up the upstream fixes (b7cb641):
  - LoopbackForward family-aware bridge (IPv6 loopback works)
  - Mode-flip reconcile (dev-server bind-address changes)
  - Accept-loop exponential backoff (no EMFILE busy-spin)
  - IdCounter clamp (no slot-boundary id wrap)
  - UDS supervisor (auto-publish recovers from transient errors)
  - spawn_listener_one binds before registering the AbortHandle
  - FLAG_SESSION_START removed from LoopbackForward* RPCs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 13:41:28 +00:00
Evgeny Boger
cb4be40448 Phase 0: scaffold microsandbox-based rewrite
Start a from-scratch rewrite of agent-vm on top of microsandbox. The original
Bash/Python tree is removed on this branch and continues to live on main until
the rewrite reaches v1.

This phase only sets up the build:

- PLAN.md and ARCHITECTURE.md document the phased roadmap and the
  design-decision log; ARCHITECTURE grows after each phase.
- microsandbox added as a git submodule at vendor/microsandbox so the Phase 3
  SecretValue::File extension can branch the fork in place.
- Cargo workspace at the root with crates/agent-vm/ as the binary crate.
- Hello-world main.rs that boots an alpine sandbox via the microsandbox SDK
  to prove the wiring is correct end-to-end (cargo check passes).
2026-05-17 17:05:07 +03:00
Илья
342883af31
Merge pull request #4 from wirenboard/fix/minimal-setup
fix missing gh utility for minimal setup
2026-03-03 23:29:17 +03:00
Evgeny Boger
7478e8c7cf Add security hardening for VM sessions
Snapshot security-sensitive files before each VM session and check for
unauthorized modifications afterward. Mount .git/hooks and .git/config
as read-only at the Lima level to prevent the VM from tampering with
host-side git hooks or config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 15:13:01 +03:00
Sylvain Zimmer
f865122778
first commit 2026-01-28 01:15:09 +01:00