Skip to content
Appearance

Follows your device’s appearance.

Security & Trust Model

This page specifies the RunVero Deployment Trust Model (runvero.trust-model/v1, version 2026-11-14). It explains what RunVero enforces across embedded, self-hosted, and managed Cloud deployments, what remains trusted in each environment, where policy boundaries stop, and how to report security vulnerabilities without needing private repository access.

Every RunVero execution crosses up to nine logical components. Which organization controls each component depends on how you deploy RunVero:

Component Role Embedded (runvero_host) Self-Hosted (runvero serve) Managed (RunVero Cloud)
1. Guest Tool (wasm32-wasip2) Untrusted LLM-generated code or third-party tool executing inside Wasmtime Untrusted Untrusted Untrusted
2. Host Sandbox (runvero-host) Wasmtime Component Model engine, fuel meter, epoch ticker, StoreLimits, WASI hooks Application process Customer gateway host RunVero Cloud worker
3. Gateway & Authenticator Bearer API key hashing (rv_live_* / rv_test_*), tenant quotas, narrow-only request ceilings, X-RunVero-Task-Grant verification Caller application Customer gateway host RunVero Cloud API plane
4. Worker & Warm Pool Single-use Store checkout, post-run store destruction, memory ceiling enforcement Caller application Customer gateway host RunVero Cloud worker pool
5. Credential Broker & Vault Per-execution rvsec_... placeholders, signing-only HMAC keys, placement checks, response redaction Caller memory Customer env/files/vault RunVero Cloud KMS envelope vault
6. Audit Sink & Signer Append-only hash chain (AuditLogSink) and asymmetric DSSE runvero.execution-attestation/v1 signatures Caller process Customer signing key RunVero Cloud signing key
7. OCI Registry & Cache Digest-verified .wasm pulls, cosign / Sigstore / Notation signature checks, content-addressed cache Customer / registry Customer / registry RunVero managed catalog + tenant uploads
8. Artifact Store & Consumer Virtual /input, /tmp, /output quotas and downstream code reading tool outputs Caller application Caller / operator RunVero Cloud temporary S3 store + caller
9. Host OS / VM Operator Kernel, hypervisor, container runtime, hardware clock, root filesystem, network perimeter Application operator Customer infra team RunVero Labs (AWS)
  1. Instruction Fuel & Epoch Deadlines: Every call runs under a deterministic Wasmtime instruction budget (fuel) and an independent epoch-interruption deadline (timeout_ms) that cancels both compute loops and blocked host I/O (Deterministic Fuel).
  2. Linear Memory & Payload Ceilings: Guest linear memory and table growth are capped per store (memory_mb, default 64 MiB on runvero run), alongside request-body, response-body (8 MiB default), and outbound request-count (64 default) limits. Warm-pool instances are single-use: every executed, trapped, cancelled, or timed-out store is discarded rather than recycled dirty.
  3. Default-Deny Networking & Resolve-then-Connect SSRF Guard: Raw sockets and ambient guest DNS are disabled. Outbound HTTP requires explicit scheme://host:port rules. The host resolves DNS once, rejects loopback, RFC 1918 private, link-local, CGNAT, and cloud-metadata (169.254.169.254) addresses unless private networks are explicitly enabled by the operator, and connects directly to the vetted socket address to prevent DNS-rebinding TOCTOU attacks.
  4. Task-Scoped Action Authorization: Operators and host applications can require signed runvero.action-policy/v1 task grants (X-RunVero-Task-Grant) and single-use runvero.action-approval/v1 approvals (X-RunVero-Action-Approval), constraining HTTP methods, canonicalized URL paths, resource identifiers, query/JSON-body fields (such as allowed recipients), and cumulative call/upload budgets before any upstream socket is opened.
  5. Action-Bound Credential Brokering: Secrets are exposed to guests only as per-execution opaque placeholders (rvsec_...) or kept strictly host-side as signing-only HMAC keys (Credential Protection). The host verifies destination bindings, explicit request placement (Authorization / custom header, query parameter, JSON pointer, or signing-only), task-grant allowed_credentials, and revocation state before injecting values on the wire.
  6. Verified Component Supply Chain: OCI pulls validate manifest and layer SHA-256 digests, media types, and byte budgets, re-verifying cached blobs before execution, and support cosign PEM keys (with key-fingerprint revocation), offline Sigstore bundles (Fulcio + Rekor), and strict Notation trust policies.
  7. Bounded Virtual Filesystem: File access is disabled unless opted in. When enabled, guests see only quota-bounded virtual /input (read-only), /tmp, and /output trees with flat, path-traversal-safe filenames—never ambient host directories.

3. Explicit Limitations & Operator Responsibilities

Section titled “3. Explicit Limitations & Operator Responsibilities”

Destination allowlists (--allow-host / allowed_hosts) control where a guest may connect, not what it sends there. Without a task-scoped action grant, a prompt-injected guest permitted to reach https://api.example.com:443 can invoke any endpoint on that origin or transmit guest-visible input data to it. Use task action grants and single-use approvals whenever a tool reaches multi-endpoint APIs (such as GitHub, Slack, email, or ticketing systems).

Credential Placement, Caching, and Redaction Limits

Section titled “Credential Placement, Caching, and Redaction Limits”
  • Legacy vs. placement-enforced secrets: Destination-only bindings without --secret-placement (or --require-secret-placement) allow a placeholder to be substituted anywhere in a request to its bound host. Production deployments should set explicit placements (bearer, header:<name>, query:<param>, body:<pointer>, or signing-only).
  • Cloud revocation cache window: RunVero Cloud encrypts tenant secrets at rest using AWS KMS envelope encryption. Workers cache decrypted secret metadata for up to 30 seconds; rotating or deleting a secret in the console takes effect across all warm workers after that cache window expires.
  • Redaction is defense-in-depth, not information-flow control: The host scrubs exact configured secret strings (4 bytes or longer) and common credential prefixes from stdout, errors, response bodies, and logs. If a guest had direct access to a raw secret and Base64-encoded, compressed, split, or hashed it, string redaction cannot reliably detect the transformed output—which is why secrets are withheld behind host placeholders or signing-only policies in the first place.

Flags such as --allow-all-hosts, --allow-private-networks, --allow-unverified, --insecure-registry, and --outside-manifest intentionally weaken default-deny boundaries for local debugging or controlled internal networks. Never enable them for untrusted agent inputs in production.

Safe Consumption of Guest Outputs & Generated Files

Section titled “Safe Consumption of Guest Outputs & Generated Files”

Treat every string, JSON value, Markdown snippet, spreadsheet, or binary artifact produced by a guest tool as untrusted external input:

  • Validate tool outputs against expected schemas and byte limits before passing them to downstream parsers, shells, SQL queries, or rendering engines.
  • Serve downloaded artifacts from isolated origins or with Content-Disposition: attachment and X-Content-Type-Options: nosniff; never render guest-generated HTML or SVG inline in an authenticated application origin.

Execution Attestations, Audit Logs, and Replay Boundaries

Section titled “Execution Attestations, Audit Logs, and Replay Boundaries”
  • What signatures prove: Portable DSSE + in-toto execution attestations (runvero.execution-attestation/v1) prove that the holder of the signing private key signed a statement binding the component digest, canonical policy digest, caller/grant references, bounded event counts, and outcome.
  • What signatures do NOT prove: Cryptographic signatures do not prove host integrity if the machine running Wasmtime or holding --audit-signing-key is compromised; they do not prevent a self-hosted operator from omitting an entire unexported log stream unless anchored to external storage (such as S3 Object Lock or caller-held idempotency receipts); and external_effect_confirmation is always unconfirmed_by_host because only the downstream service can confirm whether an external write committed.
  • Bounded telemetry & replay exclusions: Per-execution audit arrays cap retained entries (32 egress denials, 64 secret dispatches, 64 action decisions) and disclose exact dropped_count / truncated flags when exceeded. Execution replay (--record / runvero replay) is off by default, never re-sends network traffic, and excludes wall-clock timeout races, multi-memory components, and non-deterministic host extensions from exact fuel comparison.

Host Compromise & When to Add Process / MicroVM Isolation

Section titled “Host Compromise & When to Add Process / MicroVM Isolation”

Wasmtime isolates WebAssembly components inside a memory-safe Rust host process, which is substantially lighter than booting a Linux guest kernel per call. However, all sandboxes inside one OS process share that host process and kernel:

  • A vulnerability in Wasmtime’s JIT/runtime, host WASI hooks, or the underlying OS kernel—or root compromise of the host—exposes in-process memory (including active secret vaults and signing keys).
  • Recommended hardening: Run runvero serve as an unprivileged user (runAsNonRoot: true), with a read-only root filesystem, dropped Linux capabilities, strict egress NetworkPolicy / security groups, and KMS-backed or restricted (0600) key files (Self-Hosting & Deploy).
  • When to add process or VM boundaries: Separate high-sensitivity tenants, different security classifications, or untrusted native helper workloads into dedicated OS processes or hardware-virtualized microVMs (such as AWS Nitro / Firecracker worker nodes) around the RunVero worker process.

If you believe you have found a security vulnerability in RunVero Core, runvero.dev, or RunVero Cloud, please report it privately before public disclosure:

Please include:

  1. The affected component (runvero CLI/host, runvero.dev console/docs, or RunVero Cloud API) and version or URL.
  2. Minimal reproduction steps or proof-of-concept input (do not test against other tenants’ data on RunVero Cloud).
  3. The boundary crossed and potential impact.

Response targets:

  • Acknowledgement: within 48 hours of receipt.
  • Initial triage & severity assessment: within 7 calendar days.
  • Coordinated disclosure: we work with reporters on a mutually agreed remediation and advisory timeline and do not pursue legal action against good-faith security research that respects tenant privacy and service availability.