gvx runs untrusted Linux binaries and parses untrusted container images and volume files within one host process. Enforcing strict privilege boundaries prevents guest code or malformed artifacts from escaping into the host OS.
Hardware page tables, a memory-safe Go kernel, pinned directory handles, and OS-native host self-lockdown form concentric defense layers. Any defect that bypasses one of those layers on a supported target qualifies as a security vulnerability.
This policy defines the enforced boundaries, supported versions, provenance checks, and private disclosure procedure.
A security vulnerability is any defect enabling a guest program, image, volume, or control peer to cross one boundary below. See docs/components/hostlockdown.md and docs/architecture.md for containment details.
| Boundary | Enforced Invariant |
|---|---|
| Guest to host | Under whpx, hvf, and Linux systrap, guests cannot run host syscalls, read host memory, or spawn processes. Untrusted Windows code requires whpx. |
| Host lockdown | After hostlockdown.Apply() succeeds, the process cannot spawn children, open unbound paths, or bind unauthorized sockets. |
| Workspace and bind mounts | hostfs opens no host file outside the mounted directory or single regular file. |
| Untrusted input | Malformed OCI layers, EROFS files, ext4lite volumes, checkpoint bundles, or registry replies fail without memory corruption or outside writes. |
| Network isolation | -net=wg forwards guest packets solely through WireGuard; -net=none blocks external host network access. |
| Control shim | containerd-shim-gvx-v2 never signals a PID from metadata and never removes containerd-owned files. |
| Release archives | Every release archive carries a SLSA v1 provenance bundle from .github/workflows/release.yml. Reject archives failing verification. |
GPU renderer (-gpu=venus, -gpu=virgl) |
Guest data cannot spawn processes, write host files, or open network sockets in gvx-gpu-renderer. Renderer faults never corrupt Sentry memory. |
Before executing a downloaded release archive, verify its Sigstore provenance bundle with the GitHub CLI (gh). Grab the desired release tag from GitHub Releases for VERSION.
- Download the archive and its
.sigstore.jsonbundle from GitHub Releases. - Run
gh attestation verifyagainst the exact repository, workflow, and tag reference.
VERSION=<release-tag>
ARCHIVE="rungvx-${VERSION}-darwin-arm64.tar.gz"
gh attestation verify "${ARCHIVE}" \
--bundle "rungvx-${VERSION}.sigstore.json" \
--repo gfire-sigs/gvx \
--signer-workflow gfire-sigs/gvx/.github/workflows/release.yml \
--source-ref "refs/tags/${VERSION}" \
--deny-self-hosted-runnersThe following behaviors are deliberate design limits rather than security defects:
- On Windows,
--backend=autofails closed withoutwhpxunless-allow-unconfined-systraporConfig.AllowUnconfinedSystrapopts intosystrap. - Windows
systrapuses user-mode binary rewriting, a Low-integrity token, and a Job Object; it lacks a kernel syscall trap. - On Android, host directory mounts leave
Status.UnboundFileOpenBlockedfalse because Zygote'suntrusted_appseccomp policy traps Landlock syscalls. - Passing
-lockdown=falsedisables host self-lockdown for debugging. - Under
-net=nat,-p, and--auto-publish, guests can reach host endpoints and loopback listeners explicitly exposed to them. - Opt-in
-gpu=venusand-gpu=virgllaunch a confined C worker callingvirglrenderer, KosmicKrisp/Metal, or Apple OpenGL. Host driver bugs stay reachable inside that worker. - The host kernel does not bound GPU renderer memory. An internal watchdog exits above the configured limit, though a compromised renderer can bypass it.
- A guest sending malformed GPU commands stops its own renderer permanently without automatic restart.
gvx is under active pre-release development. Security fixes land on main and ship in the next tagged release only.
| Version | Supported |
|---|---|
main branch |
Yes |
| Latest tagged release | Yes |
| Earlier releases | No |
Report suspected vulnerabilities privately through GitHub Security Advisories.
Warning
Do not disclose a vulnerability in a public issue, pull request, or discussion. Public disclosure exposes users before a remediation exists.
- Open https://github.com/gfire-sigs/gvx/security/advisories/new.
- Include the complete output of
rungvx version -V. - State the host OS, CPU architecture, and execution backend (
hvf,whpx, orsystrap). - Attach the minimal guest binary, OCI image, or volume file reproducing the defect.
- Identify which boundary from Section 1 the defect violates.
Maintainers respond in the private advisory thread and coordinate disclosure with the fix. Report defects reproducing in unmodified upstream gVisor through the gVisor security policy.