Security
Your phone talks to your SpaceApp, and no one in between can read it
Nous is built so that the conversation with your agents stays between your phone and the SpaceApp you run. Here is exactly how, and what is not done yet.
End-to-end encryption
Every message is encrypted with the Noise Protocol Framework, using X25519 for key agreement, ChaCha20-Poly1305 for encryption and BLAKE2s for hashing. The keys are made on your phone and on your SpaceApp.
- Pairing. In SpaceApp, open Settings → Account → Mobile app and scan the QR. It carries a one-time 128-bit code that is valid for 2 minutes; the handshake is Noise XXpsk3.
- Pinned keys. Later sessions use Noise IK with the keys pinned at pairing. If your SpaceApp's key changes, Nous stops with a red screen instead of connecting.
- Rekeying. Session keys rotate every 10,000 messages or every hour, whichever comes first.
On the phone
The app is built for a phone that may be lost or looked at.
- Signed approvals. Risky approvals are signed with your fingerprint or face, over the exact decision and your answer, with a key kept in the phone's secure hardware (StrongBox or the TEE).
- No backups. App data is left out of cloud backups and device-to-device transfer.
- No cleartext. Unencrypted network traffic is turned off.
- Private screen. You can hide Nous from screenshots and the Recents screen.
Who is in the path
On Free, nobody but you: the phone reaches your SpaceApp over your LAN, a VPN (WireGuard is built into Nous) or your own domain, and no service of ours is involved.
- Pro relay (coming at launch). For a SpaceApp behind NAT with no inbound ports. The relay forwards frames that are already encrypted between your phone and your SpaceApp, writes nothing to disk and keeps no IP address in its logs.
- Push wake. With Pro, push wakes the phone with an empty signal; the content comes from your own SpaceApp.
- Notifications. If you turn notifications on, your SpaceApp sends them through Google's Firebase Cloud Messaging with a title and a short preview of up to 240 characters.
Testing and disclosure
Nous was built against the OWASP MASVS L2 checklist and reviewed internally. An independent test is planned.
- Found a security issue? Write to dev@nousapp.dev with the steps to reproduce it.
- SpaceApp, the server Nous pairs with, is open source under the MIT licence: github.com/oll4com/spaceapp.