fix(#7): pin busybox by digest, kernel downloads use the filtered agent
busybox:musl was a mutable tag re-resolved daily for the binary that runs as PID 1 in every VM. Kernel/GitHub downloads now go through the same public-only resolver as registries.
This commit is contained in:
@@ -73,6 +73,8 @@ The VM is the boundary. The guest (including a prompt-injected agent or a malici
|
||||
(token realms and redirects included, IPv6 forms like NAT64/6to4 too). A registry counts as local only by name:
|
||||
`localhost` or a private IP literal (`192.168.1.5:5000`). LAN registries addressed by a DNS name are refused; use the IP.
|
||||
All downloads (registries, kernel) time out after 30 s without progress (connect or any single read).
|
||||
- **Guest base**: the static busybox (PID 1 in every VM) is pulled pinned by digest. The kernel comes from the Kata release
|
||||
over the same public-addresses-only client and is sha256-checked against the release's published digest.
|
||||
- **pi config**: allowlisted items only. Symlinks are followed only into `~/.pi/agent` or `~/.agents/skills`, with no cycles
|
||||
and no special files, capped at 256 MB.
|
||||
- **exec**: sessions run as root before dropping to the user, so the guest helper accepts them only from the host's vsock CID,
|
||||
|
||||
Reference in New Issue
Block a user