This page describes the mechanisms as they run in production. It is written for the engineer who has to sign off on putting a box in the field, not for a brochure.
A device is registered by its hardware serial from the dashboard, which issues a provisioning key pair. The installer uses that pair once to bootstrap: the platform creates an X.509 certificate on AWS IoT Core with a policy scoped to the device's own serial, and hands the device an encrypted certificate bundle. From then on the device talks MQTT over TLS with its own certificate; telemetry, tracks and commands travel on topics under horus/<serial>/ that only that certificate may use.
The management API the device calls over HTTPS is authenticated with an HMAC, computed with the device's API secret over the timestamp, method, path, body hash and a nonce. A request whose timestamp is more than five minutes off, or whose nonce has been seen before, is rejected, so a captured request cannot be replayed.
| Layer | Mechanism | What it stops |
|---|---|---|
| Manifest | Ed25519 signature over the canonical manifest JSON; public keys are pinned on the device and verification refuses to run if no key is present | A forged release, a release from anyone but us |
| Bundle | SHA-256 of the bundle checked against the signed manifest | A tampered or truncated download |
| Confidentiality | Bundle encrypted with AES-256-GCM; the content key is wrapped for each device with RSA-OAEP using that device's own key | One device's bundle being replayed to another; reading the payload in transit or from storage |
| Install | Atomic switch to the new release; the last three releases stay on disk; a failed start rolls back | A bricked device after a bad release |
| Platform | One bundle per target platform (Jetson JetPack 5, Pi 5 + Hailo, x86-64); resolution fails closed, so a device with no bundle for its platform gets no update rather than the wrong one | A JetPack bundle landing on a Pi |
Download URLs are presigned and short-lived. The public keys and the latest-release endpoint are the only unauthenticated parts of the update path, because a fresh device has no credentials yet; the bundle contents are signed, so an intercepted response cannot forge a release.
At first boot the agent seals a fingerprint of the hardware it runs on and the platform pins it. On every check-in the platform compares the presented fingerprint with the pinned one: an exact anchor match passes; a weaker match on platform plus machine-id or MAC overlap is accepted as low assurance and logged; anything else is a mismatch. A cloned card on another board is reported, and refused when enforcement is switched on. Moving a device to new hardware is an explicit deprovision and re-provision by an operator, which clears the pin.
Every per-item step in the device's upload and detection loops is exception-guarded, critical threads are supervised, and their liveness rides on the heartbeat. The platform side watches heartbeat transitions and backlog age and alerts on them, so a silent device is noticed by the platform, not only by the customer. Local data is deleted only after the platform has durably confirmed receipt; the confirm endpoint fails closed.
The application runs in Heroku's EU region; uploads, models and firmware are stored in AWS eu-central-1; device messaging is AWS IoT Core. Account deletion is a scheduled purge that includes IoT data (certificates, policies, things), not a soft delete. A data processing agreement is published at /legal/dpa.
If you find a weakness in the agent, the update path or the platform, write to the contact address in our Terms of Service with the details and give us a reasonable time to fix it before publishing. We acknowledge reports, we do not pursue good-faith researchers, and we credit you if you want.
Not on this page on purpose: accuracy numbers for any model, customer names, and any statement that the product makes you comply with the Cyber Resilience Act or the AI Act. Those are not ours to claim.