Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
chore(vault): gate sandbox integrity enforcement behind a flag (pre-launch iteration) (#832)
Call Whitea6463fe37b3b
diff --git a/ui/src/lib/vaultSandboxClient.ts b/ui/src/lib/vaultSandboxClient.tsindex 3372128ba..ff45c129c 100644--- a/ui/src/lib/vaultSandboxClient.ts+++ b/ui/src/lib/vaultSandboxClient.ts@@ -8,6 +8,7 @@ import type {import type { BlindBox, ProtectedRecordEnvelope, SignatureResult, SignatureScheme } from './vaultCrypto';import {VAULT_SANDBOX_EXPECTED_BUILD_HASH,+ VAULT_SANDBOX_INTEGRITY_ENFORCED,VAULT_SANDBOX_IFRAME_URL,VAULT_SANDBOX_IFRAME_RESOURCE_PATH,VAULT_SANDBOX_MANIFEST_PATH,@@ -233,7 +234,9 @@ export class VaultSandboxClient {}static async create(): Promise<VaultSandboxClient> {- await verifyVaultSandboxIntegrity();+ // Gated during pre-launch iteration — see VAULT_SANDBOX_INTEGRITY_ENFORCED. When off, the+ // parent still origin-isolates the sandbox; it just doesn't fail-closed on a manifest mismatch.+ if (VAULT_SANDBOX_INTEGRITY_ENFORCED) await verifyVaultSandboxIntegrity();const iframe = document.createElement('iframe');iframe.title = 'Avibe protected vault sandbox';iframe.allow = 'publickey-credentials-get; publickey-credentials-create; clipboard-write';diff --git a/ui/src/lib/vaultSandboxManifest.ts b/ui/src/lib/vaultSandboxManifest.tsindex f8532d9de..c8f7dbb50 100644--- a/ui/src/lib/vaultSandboxManifest.ts+++ b/ui/src/lib/vaultSandboxManifest.ts@@ -2,6 +2,15 @@ export const VAULT_SANDBOX_ORIGIN = 'https://sandbox.avibe.bot';export const VAULT_SANDBOX_VERSION = '0.1.0';export const VAULT_SANDBOX_EXPECTED_BUILD_HASH = 'dev';+// DEFERRED (pre-launch iteration): while sandbox.avibe.bot is still being iterated, the parent+// does NOT fail-closed on a pinned-manifest mismatch — otherwise every sandbox deploy would+// require re-pinning VAULT_SANDBOX_PINNED_MANIFEST before the app could load. Cross-origin+// isolation still holds regardless (that comes from the origin split, not the pin).+// FIRM PRE-LAUNCH GATE: set this back to `true` — with a freshly re-pinned manifest + an+// immutable versioned iframe URL — before real users store protected secrets. Until then a+// sandbox deploy-pipeline compromise would not be detected by the parent.+export const VAULT_SANDBOX_INTEGRITY_ENFORCED = false;+export type VaultSandboxPinnedManifest = {algorithm: 'sha256';resources: Record<string, string>;