LAST UPDATED NOVEMBER 16, 2026
Security & readable code
An app that uses your camera has to earn trust with how it's built, not with promises. Here is exactly how Alyvia works, written for the security-minded.
Architecture
- One engine, two shells. The browser demo and the desktop app run the same file,
coach-engine.js. It takes a<video>element showing your webcam and calls MediaPipe's Face Landmarker and Pose Landmarker (Apache 2.0, by Google) through WebAssembly, using your graphics chip where possible. If you switch on phone and water tracking, it also runs MediaPipe's Object Detector with EfficientDet-Lite0, on the processor, about every 1.5 seconds. All three models are pinned by SHA-256. The 30-second check on the homepage also runs MediaPipe's Gesture Recognizer and the Object Detector in your browser tab, so it can notice hands and things in the room; it keeps nothing once the camera turns off. - Numbers, not pictures. The models return landmark coordinates. The engine reduces them to a handful of values (head pitch and roll, a head-height ratio, the distance between your eyes in the frame, blink and brow scores) and keeps a few minutes of them in memory to spot patterns. Frames are never encoded, saved or sent. The few times a picture is drawn anywhere, it is into memory and overwritten on the next look: with the shoulder-surfer alert on, a quarter of the frame at a time, so smaller faces can be found; and a tiny grey copy of the frame (32 by 24 pixels) to tell how bright the room is, to tell “still standing there” from “gone”, and, with a standing desk, to notice the room behind you changing.
- Privacy guard. The window tells the app's main process only two things: “you walked away” and “someone is looking” (yes or no). The walk-away lock calls Windows' own
LockWorkStation, the same as Windows+L, so Alyvia can lock your computer but never unlock it. There is no face-recognition model: other people are counted, never identified. - Your baseline. Calibration records the median of those values while you sit the way you want to sit, and is only kept if it was a steady picture of you: your whole face in view, holding still. Every check compares you with that, not with a population average.
- No network where the camera is. The desktop app's main process cancels every HTTP(S) and WebSocket request its windows make, and its pages carry a Content Security Policy with no remote origins. Models, the runtime and Alyvia's voice lines ship inside the app. Two requests leave from the main process, each in its own small, readable file: a daily update check (a plain request for alyvia.ai/desktop/latest.json, can be turned off), and, only if you switch it on, anonymous daily totals (counts and a random id, shown to you in full before you agree). Your license is not one of them: a key is a signed text that the app checks on your computer, so it needs no activation and works with no internet.
- Calls, read locally. To pause during calls, the app reads Windows' own record of which apps are using the camera or microphone, in the current user's registry. Nothing is sent, and only app names are kept, while the call lasts.
- Local storage only. Settings and daily totals (minutes sat, nudges shown, share of time with good posture by hour, and counts of yawns, pickups, sips, stretches and screen locks) live in JSON files in your user folder, next to a short log of things that went wrong (a camera that had to be restarted, a window that had to be reloaded). No images, no landmarks.
What we protect against
- A breach at Alyvia. We hold nothing about your camera, so there's nothing to leak.
- Silent upload in a future update. The app installs as readable code, not a compiled blob, so the network block and everything else can be compared from one release to the next.
- Being used to watch someone else. No remote access, no dashboards, no employer licenses, and our terms forbid using Alyvia on other people.
- Leaving your desk unlocked, or a stranger reading over your shoulder. The optional privacy guard locks your computer when you walk away and covers your screen while someone is looking.
- Forgetting it's on. A tray icon shows Alyvia's state, your camera light shows when it's active, it pauses on screen lock, and pausing takes one click.
Out of scope: malware that already controls your computer can read your camera with or without Alyvia.
Verify it yourself
- Open the live demo, then your browser's developer tools, Network tab. After the models load, start the camera and watch: no requests carry images or numbers.
- In the desktop app, run a firewall or a tool like Little Snitch, GlassWire or Wireshark. The only connections you'll see are the two listed above: the once-a-day version check (to www.alyvia.ai) and, only if you switched it on, the anonymous daily totals. Neither carries anything the camera saw, and the app never connects to check your license.
- Read the code you run. The app installs as plain JavaScript files (in its
resources/appfolder), and the engine is the very file your browser loads in the demo: coach-engine.js. Our code isn't compiled or obfuscated; the AI runtime is Google's open-source MediaPipe, pinned by checksum.
Source code
Alyvia's engine and desktop app are delivered as readable source code, as described above, and their license lets you read and audit them and report problems, but not resell them. The repository where we develop them isn't public yet; security researchers can ask us for access at info@alyvia.ai.
Reporting a vulnerability
Email info@alyvia.ai with “Security” in the subject. We'll reply within three working days, keep you updated, and credit you if you'd like.