|
| 1 | +{% extends "base.html" %} |
| 2 | +{% block title %}Why is this safe? — SecAI OS{% endblock %} |
| 3 | +{% block page_title %}Why is this safe?{% endblock %} |
| 4 | + |
| 5 | +{% block content %} |
| 6 | +<div style="max-width:720px"> |
| 7 | + |
| 8 | + <div style="background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem"> |
| 9 | + <h3 style="margin-bottom:0.5rem;color:var(--success)">Your data stays on this device</h3> |
| 10 | + <p style="color:var(--text-secondary);line-height:1.6"> |
| 11 | + SecAI OS runs all AI inference locally — on your hardware, using your GPU. |
| 12 | + No prompts, responses, or model data are sent to any cloud service. |
| 13 | + The network firewall blocks all outbound connections by default. |
| 14 | + </p> |
| 15 | + </div> |
| 16 | + |
| 17 | + <div style="background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem"> |
| 18 | + <h3 style="margin-bottom:0.5rem">What's running right now</h3> |
| 19 | + <p style="color:var(--text-secondary);line-height:1.6;margin-bottom:0.75rem"> |
| 20 | + Your appliance is running in the <strong id="ws-profile">offline_private</strong> profile. |
| 21 | + </p> |
| 22 | + <ul style="color:var(--text-secondary);line-height:1.8;padding-left:1.25rem"> |
| 23 | + <li id="ws-network">Network: <strong>blocked</strong> — no data leaves this device</li> |
| 24 | + <li>Vault: encrypted with AES-256 (LUKS2 + Argon2id)</li> |
| 25 | + <li>Models: verified through a 7-stage quarantine pipeline before use</li> |
| 26 | + <li>Services: sandboxed with seccomp-BPF, Landlock, and systemd hardening</li> |
| 27 | + <li>Audit: tamper-evident hash-chained logs record all security events</li> |
| 28 | + </ul> |
| 29 | + </div> |
| 30 | + |
| 31 | + <div style="background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem"> |
| 32 | + <h3 style="margin-bottom:0.5rem">What happens if something goes wrong</h3> |
| 33 | + <ul style="color:var(--text-secondary);line-height:1.8;padding-left:1.25rem"> |
| 34 | + <li><strong>Tampered model detected:</strong> automatically quarantined and removed</li> |
| 35 | + <li><strong>Integrity check fails:</strong> system degrades to safe mode, alerts you</li> |
| 36 | + <li><strong>Suspicious activity:</strong> agent frozen, airlock disabled, vault re-locked automatically</li> |
| 37 | + <li><strong>Bad update:</strong> Greenboot rolls back to the last known-good state</li> |
| 38 | + <li><strong>Worst case:</strong> 3-level emergency panic — lock, wipe keys, or full wipe</li> |
| 39 | + </ul> |
| 40 | + </div> |
| 41 | + |
| 42 | + <div style="background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem"> |
| 43 | + <h3 style="margin-bottom:0.5rem">No telemetry</h3> |
| 44 | + <p style="color:var(--text-secondary);line-height:1.6"> |
| 45 | + SecAI OS does not collect any telemetry. No usage analytics, no crash reports, |
| 46 | + no phone-home, no heartbeat. The only network activity is what you explicitly |
| 47 | + enable by switching to the "research" or "full lab" profile — and even then, |
| 48 | + all traffic is Tor-routed with PII stripping. |
| 49 | + </p> |
| 50 | + </div> |
| 51 | + |
| 52 | + <div style="background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem"> |
| 53 | + <h3 style="margin-bottom:0.5rem">How to verify</h3> |
| 54 | + <p style="color:var(--text-secondary);line-height:1.6;margin-bottom:0.5rem"> |
| 55 | + You don't have to take our word for it: |
| 56 | + </p> |
| 57 | + <ul style="color:var(--text-secondary);line-height:1.8;padding-left:1.25rem"> |
| 58 | + <li>The <a href="/security" style="color:var(--accent)">Security dashboard</a> shows real-time verification status</li> |
| 59 | + <li>Audit logs are hash-chained — any tampering breaks the chain visibly</li> |
| 60 | + <li>The OS image is cosign-signed with SLSA3 provenance attestation</li> |
| 61 | + <li>Every model passes 7 stages of automated verification before use</li> |
| 62 | + <li><a href="/security" style="color:var(--accent)">Export a forensic bundle</a> for independent verification</li> |
| 63 | + </ul> |
| 64 | + </div> |
| 65 | + |
| 66 | + <p style="color:var(--text-muted);font-size:0.85rem;text-align:center;margin-top:1rem"> |
| 67 | + For the full technical security model, see the <a href="/security" style="color:var(--accent)">Security dashboard</a>. |
| 68 | + </p> |
| 69 | +</div> |
| 70 | + |
| 71 | +<script nonce="{{ csp_nonce }}"> |
| 72 | +(async function() { |
| 73 | + try { |
| 74 | + var resp = await fetch('/api/profile'); |
| 75 | + var data = await resp.json(); |
| 76 | + var p = data.active || 'offline_private'; |
| 77 | + document.getElementById('ws-profile').textContent = p.replace(/_/g, ' '); |
| 78 | + var netEl = document.getElementById('ws-network'); |
| 79 | + if (p === 'offline_private') { |
| 80 | + netEl.innerHTML = 'Network: <strong>blocked</strong> — no data leaves this device'; |
| 81 | + } else if (p === 'research') { |
| 82 | + netEl.innerHTML = 'Network: <strong>Tor only</strong> — queries are anonymized through Tor'; |
| 83 | + } else if (p === 'full_lab') { |
| 84 | + netEl.innerHTML = 'Network: <strong>filtered</strong> — outbound traffic goes through the airlock'; |
| 85 | + } |
| 86 | + } catch(e) { /* non-critical */ } |
| 87 | +})(); |
| 88 | +</script> |
| 89 | +{% endblock %} |
0 commit comments