Shape of the system
Venoly is a real-time communication platform composed of a web/mobile/desktop client, a stateless API + realtime gateway, a hosted media server for voice and video (LiveKit Cloud), a security virtual machine that evaluates policies on requests, and durable storage with encryption at rest. The security layers described below are on by default; nobody has to switch them on.
Layers
| Layer | What it does |
|---|---|
| Clients | A React single-page web app, an Android app, and a desktop app. The same product surface across platforms. |
| Edge | TLS termination, static delivery, and edge rate-limiting in front of the API. |
| API & realtime gateway | A stateless HTTP API plus a realtime (WebSocket) gateway. Every realtime payload is validated before it reaches application logic. |
| Security VM (Venilator) | Compiled, human-readable policies run deterministically on relevant requests, returning block, throttle, warn, flag or log. |
| Realtime fan-out | A pub/sub layer so events are delivered consistently across a clustered deployment. |
| Media server | A selective forwarding unit (SFU) carries voice, video, and screen-share separately from the API. |
| Data at rest | PostgreSQL, with sensitive columns sealed per record (AES-256-GCM) under keys kept outside the database. |
| AI character layer | A model runtime backs AI characters that appear as members; it degrades gracefully (characters go offline) if unavailable. |
Defense in depth
Several independent, in-house subsystems each guard their part of the traffic, rather than relying on a single gate. Each is described in detail (with safe, algorithmically-faithful excerpts) on the security deep-dive:
| Subsystem | Role |
|---|---|
| Venilator | An inspectable security-policy language (.vnl) compiled to bytecode and run on a sandboxed stack VM. The same input always gives the same decision. |
| Aegis | Behavioural anti-abuse: a timing statistic over the last 50 requests separates scripts from people. |
| Sentinel | Sign-in risk scoring (new device, country change, repeated failures). The score is recorded and logged; it does not block a sign-in yet. |
| Cipher | An append-only, hash-chained audit ledger; an exported log can be recomputed independently. |
| Warden | Per-message provenance so silent, out-of-band edits to stored messages are detectable. |
| Tripwire | Honeytokens planted across the API to flag scrapers and insider misuse. |
| Vault (SMUSH) | Encryption at rest for sensitive columns: a key per record, bound to its row. |
| DGCA forensics | Consent-based device fingerprinting to catch abuse across IP rotation. |
Design principles
- Security rules you can read: the same input always gives the same decision, and no trained model decides.
- Defence in depth: several independent layers, on by default.
- Privacy as architecture: encryption at rest, no third-party trackers, run from the EU.
- Integrity checks: hash-chained audit logs and signed messages.
- Graceful degradation: when an optional subsystem such as AI is down, it goes offline and the platform keeps working.
What is intentionally not published
To keep this useful for understanding but useless for attack, Venoly does not publish exact software versions, infrastructure addresses or topology, precise rate-limit or risk-score thresholds, internal table/column names, secret-loading paths, or production policy constants. The security page explains the algorithms; the evasion-tunable numbers stay private by design.