Only the graph leaves your machines.

How the scanner touches your code, what we keep and who can read it. This page is part of our terms. Last updated 10 October 2026.

your machines or CI web_app api worker whole source files other env values and secrets graph.json names, paths, lines the edge of your network KUUHAKU your workspace

What leaves your machines

One file: the graph, in JSON. Up to three lines of code around each item left for review travel with it, and the review inbox shows them as evidence.

In the graph
  • Route paths and methods, with file and line
  • Names of services, models, queues and hosts
  • Env key names, and the base URLs HTTP clients read from them
  • Each repo's folder path, as scanned
  • Each repo's git remote, host and path, without credentials
  • Dependency names and versions
  • Commit counts and author names
  • Three lines around each item left for review
Never
  • Whole source files
  • Other env values, credentials and secrets
  • The content of your data

Two ways to scan

Your machines Every plan

The CLI runs in your CI or on a laptop and uploads only the graph, with a workspace token. Only the graph reaches us.

kuuhaku scan . --push
Hosted runner Read-only key

You add a read-only key to GitHub or Bitbucket. The runner clones each repository shallowly, reads it, writes the graph and deletes the clone, which lives for the minutes a scan takes.

Keys and tokens

One key per workspace

An ed25519 key pair generated on our servers with OpenSSH tooling. You see the public half; the private half is encrypted with AES-256-GCM under a master key that lives in the server's environment, never in the database.

Read-only

The key is read-only because of where you add it: a GitHub deploy key without write access, a machine user with the Read role, or a Bitbucket access key, which can only clone and fetch. The product shows each path.

Rotation

Rotate the key from the settings at any time. Revoking it on the provider stops every future scan at once.

CLI tokens

Shown once and stored hashed.

The runner

  • Never executes your code: it parses files with tree-sitter and regular expressions and reads manifests and lock files
  • Dependency advisories come from registry metadata and the OSV database, by package name and version
  • Each scan runs in a fresh temporary folder, deleted when it ends, on success or failure
  • Clones over SSH with the workspace key only, or over HTTPS for public repositories

Data at rest and in transit

In transit

TLS 1.2 or higher on every connection, with certificates renewed automatically.

Passwords

Hashed with bcrypt. Sessions are signed tokens that last 30 days; a password reset ends every older one.

Separation

Graphs and their views are stored per organisation and workspace, never shared between customers. Every read is scoped by the organisation of the signed-in member.

Backups

Daily database backups, kept 14 days.

Who can read what

Roles

Owner, admin, member and viewer. Only owners handle billing, only admins touch keys and workspaces, viewers read.

Our staff

Staff do not browse customer data: the back office shows organisations, plans, scans and feedback, never a graph. What staff change in your organisation, a plan or a retried scan, appears in your activity log.

Production

Access to the servers is limited to the people who operate the service, over SSH keys, with the host's own logging.

Retention and deletion

Imports beyond your plan's limit are deleted automatically, files included. Deleting a workspace removes its imports, declarations and key; deleting an organisation removes everything within 30 days, apart from billing records the law requires us to keep. You can export the graph at any time before.

Subprocessors

Contabo

Hosts the service in France

Cloudflare

Keeps the offsite copy of the nightly backup in the USA

Stripe

Takes payments

Resend

Sends email

TypeSafe AI

Answers the review suggestions, with names, paths, hostnames and the three-line excerpts of review items

Sentry

Receives error reports

PostHog

Counts which pages and features are used

What each one receives is in the privacy policy, and we tell customers 30 days before adding one.

Reporting a vulnerability

security@kuuhaku.dev

We answer within two business days, keep you informed and credit you if you want. Please do not access other customers' data while testing, and give us a reasonable time to fix before publishing.

Write to security@

Incidents

72hours

If a security incident affects your data, we email the owners of the organisation within 72 hours of confirming it, with what happened, what was affected and what we did, and we notify the authorities where the law requires.