You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Host → guest vsock endpoint | AF_VSOCK listening socket (`VDADDR_CID_ANY` bind, service port) | Any peer that reaches vsock endpoint can open a connection and attempt protocol traffic unless source-validated. |
| Host working directory mapping |`acquire(project_dir)` path derivation to `guest_project_path`| Inputs derived from host path passed to pool API; malformed paths can become relative path expressions. |
22
+
| gRPC user default behavior |`user` field omitted (`None`) in execution requests |`None` currently means guest default user; implementation behavior depends on host caller. |
23
+
| Guest process lifecycle | Process spawn + stdin/signal/teardown paths | Long-lived process handles can be abused if request identity/privilege isn't constrained. |
24
+
25
+
## Findings and Closure
26
+
27
+
| ID | Finding | Severity | Decision | Evidence |
28
+
|---|---|---|---|---|
29
+
| F-01 | Non-host peers can connect to guest listener because accept path only checks no source identity | High | Remediated |`crates/vz-guest-agent/src/listener.rs`: `source_cid` extraction and host-only acceptance logic in `accept()`. Non-host CIDs are closed and logged. |
30
+
| F-02 | Sandbox session default exec path does not set an explicit non-root user, causing root execution when peer request omits `user`| High | Remediated |`crates/vz-sandbox/src/session.rs`: `DEFAULT_EXEC_USER = "dev"` and `resolve_exec_user(None) -> "dev"` used for default execution and `exec_streaming`. |
31
+
| F-03 | Default-user policy is not explicitly asserted by tests | Medium | Remediated |`crates/vz-sandbox/src/session.rs`: `resolve_exec_user_*` unit tests validate default and explicit override behavior. |
32
+
| F-04 | Guest listener allows non-host CID and does not exercise explicit host allowlist in unit tests | Medium | Remediated |`crates/vz-guest-agent/src/listener.rs`: `is_host_peer` unit test and host CID helper. |
0 commit comments