Safety
What Detour does to keep your context local.
Detour holds private development context, so it is built to stay on your computer and give AI tools read-only access. These are the controls in the current Community Edition release.
Current release: v0.1.0. These are the controls as built, not a third-party audit or certification.
The container
- The portal (port 3787) and MCP server (port 3788) are published on 127.0.0.1 only. Other machines on your network cannot reach them.
- The app runs as an unprivileged user (UID 10001) with a read-only root filesystem, all Linux capabilities dropped, and no-new-privileges set.
- The portal rejects requests with an unexpected Host header and refuses cross-site writes.
- The base image is pinned by digest. Uploads are limited to 8 MB per file.
AI tool access
- MCP access needs a key. Each AI tool gets its own key, shown once; Detour stores only its SHA-256 hash, and you can revoke it in the portal.
- The MCP server has four read-only tools: list Detours, get one Detour, search saved items, and read one item. None of them write, delete, or run anything.
- Returned context is text for your AI tool to read. Detour does not execute it.
Your data
- Everything is stored in SQLite inside the detour-data Docker volume on your computer.
- Nothing is sent to a hosted service. Detour has no account, telemetry, or cloud component.
- Exports are Markdown or JSON files that you select and download yourself.
- Before an upgrade changes the database, Detour saves a copy in the volume and keeps the last five. There is no scheduled backup, so back up the volume yourself.
Every change
- CI runs the unit tests, lints the Dockerfile, and scans the built image with Trivy. Any fixable high or critical finding fails the build. CI also generates a CycloneDX SBOM.
- Each release publishes an amd64 and arm64 image with an SBOM, signed with cosign. The release notes include the command to verify it.
- Dependabot proposes dependency, base image, and GitHub Actions updates monthly. Each one goes through the same checks before merge.
- GitHub Actions are pinned to full commit SHAs.
Check it yourself
Read the source and the checks.
The Compose file, Dockerfile, and CI workflows behind each control are in the source repository. Report a vulnerability privately as described in the security policy.