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.
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.
- 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
- Whole source files
- Other env values, credentials and secrets
- The content of your data
Two ways to scan
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
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 workspaceAn 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-onlyThe 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.
RotationRotate the key from the settings at any time. Revoking it on the provider stops every future scan at once.
CLI tokensShown 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 transitTLS 1.2 or higher on every connection, with certificates renewed automatically.
PasswordsHashed with bcrypt. Sessions are signed tokens that last 30 days; a password reset ends every older one.
SeparationGraphs 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.
BackupsDaily database backups, kept 14 days.
Who can read what
RolesOwner, admin, member and viewer. Only owners handle billing, only admins touch keys and workspaces, viewers read.
Our staffStaff 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.
ProductionAccess 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
ContaboHosts the service in France
CloudflareKeeps the offsite copy of the nightly backup in the USA
StripeTakes payments
ResendSends email
TypeSafe AIAnswers the review suggestions, with names, paths, hostnames and the three-line excerpts of review items
SentryReceives error reports
PostHogCounts 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
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.
Incidents
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.