Security
This page answers three questions: where is my data, how is it protected, and what do I have to do myself?
Your data stays on your server
| Data | Where | How it is protected |
|---|---|---|
| Prompts and answers | They pass through the gateway to your providers. Request logs are in ClickHouse on your server | Never sent to NuRoute. PII redaction policies can remove personal data before it reaches a provider |
| Provider API keys | PostgreSQL on your server | Scrambled (encrypted with AES-256-GCM) using PROVIDER_ENCRYPTION_KEY from your .env. Never shown again after saving |
| NuRoute API keys | PostgreSQL | Only a SHA-256 hash (a one-way fingerprint) is stored. The key is shown once, when you create it |
| Passwords | PostgreSQL | Stored as bcrypt hashes (one-way scrambles) |
| Licence key, mail server password | PostgreSQL | Encrypted with AUTH_ENCRYPTION_KEY |
Only Caddy listens on the network (ports 80 and 443). The databases and internal services can only reach each other, on an internal Docker network.
The one connection to NuRoute is the licence check-in.
Images you can check
An image is the ready-made package of one NuRoute part. NuRoute's images are public, and every release is:
- Scanned before publishing. No vulnerability rated critical with a fix available is allowed, and no secrets anywhere in the image.
- Audited to contain only compiled NuRoute code and its dependencies: no source code, tests, data or training material.
- Signed with cosign by NuRoute's release pipeline. Each signature is recorded in the public Sigstore transparency log.
- Shipped with a signed SBOM (software bill of materials, SPDX) for each image and platform. It lists every package inside.
Check an image yourself
Install cosign, then run this with the image and version you use:
cosign verify ghcr.io/nuroute-ai/api-gateway:1.0.0 \
--certificate-oidc-issuer https://gitlab.com \
--certificate-identity-regexp '^https://gitlab\.com/amitgupta2108/aiinferencecontrolplane//\.gitlab-ci\.yml@refs/tags/selfhosted-v[0-9]+\.[0-9]+\.[0-9]+$'
- It prints the verified signature as JSON, or
- it fails with
no matching signaturesif the image was not signed by NuRoute's release pipeline.
The SBOMs are attached to each GitHub release. To verify one attached to an image, use cosign verify-attestation --type spdxjson with the same options.
Updates are signed too
The routing model and model catalogue your install receives with the check-in are signed with a separate NuRoute key. That key never leaves our build pipeline (not even our licence server holds it). Every NuRoute service verifies the signature before using an update.
What you are responsible for
You run the server, so these jobs are yours:
- Keep the operating system and Docker updated (security updates).
- Keep NuRoute on a supported release: the last two minor versions, or 12 months. Upgrades take one command (Backups and upgrades).
- Limit who can log in to the server and read
.env. Anyone who can rundockeron it controls NuRoute. - Back up every day and keep the backups off the server, as carefully as
.envitself.
Reporting a vulnerability
Email security@nuroute.ai, not a public issue. We answer within 2 business days. For critical vulnerabilities, we ship fixes as patch releases within days, for every supported release.