kajiya
Runners and billing / Security

Docs / Runners and billing

View as Markdown
On this page

Security

How Kajiya keeps jobs apart, what it stores, and what you should configure on your side.

One VM per job#

  • Every job runs in its own KVM virtual machine, booted fresh from a read-only base image with a new copy-on-write disk.
  • When the job ends the VM is powered off and destroyed together with its disk. Nothing is reused: no workspace, cache, disk or memory is carried to another job, yours or another customer's.
  • Each VM gets 2 GB of memory per vCPU that no other VM uses.
  • Kajiya installs no SSH keys and runs no agent of its own inside job VMs; the VM runs the GitHub Actions runner and your job.

Network isolation#

Job VMs reach the internet only. Outbound traffic to private and internal ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10, 169.254.0.0/16) is dropped, so a job cannot reach Kajiya's own network or another job's VM. Outbound TCP to common mining pool ports (3333, 4444, 5555, 7777, 8888, 9999, 14433, 14444, 45700) is dropped too. Nothing can connect into a job VM from outside. See Runners → Network.

Credentials#

WhatWhere it livesProtection
GitHub App accessGitHub issues Kajiya installation tokens that expire after an hour; they stay on the control serverNever sent to a job VM
Fine-grained GitHub tokensKajiya's control serverEncrypted at rest (AES-256-GCM); never sent to a job VM
Runner registrationThe job's VMA just-in-time registration that works once, for one runner
Kajiya API keysShown to you onceOnly a SHA-256 hash is stored; scoped; revocable; optional expiry
Dashboard sessionsYour browser's local storageOnly a hash is stored on the server; a session expires after 90 days; signing out ends it, and DELETE /api/v1/sessions ends all of them
Webhook signing secretKajiya's control serverEncrypted at rest; shown once; rotatable

Signing in with GitHub uses the read:user and user:email scopes, reads your profile once, and discards GitHub's access token.

Secrets in your workflows#

GitHub delivers your repository and organization secrets to the runner inside the job's VM, the same way as on GitHub-hosted runners. They exist only in that VM, which is destroyed when the job ends; Kajiya's control server never receives them.

As with any hosted runner, Kajiya operates the hardware your VM runs on. Use the least-privileged secrets a job needs, and prefer short-lived credentials (for example OpenID Connect to your cloud provider) over long-lived keys.

Public repositories and forks#

On a public repository, anyone can open a pull request whose workflow runs on your runners, and on your compute packs. Each job still runs in a throwaway VM, but you should decide who may run code there:

  • In the repository's or organization's Settings → Actions → General, require approval before fork pull request workflows run (for example, for all external contributors).
  • Do not run untrusted pull request code in pull_request_target workflows, which have access to secrets.
  • Set a daily spend cap so a burst of unexpected runs cannot exhaust your balance.

Outbound webhooks#

Kajiya only sends webhooks to public https URLs and resolves the host again right before each delivery, refusing private and internal addresses. Every delivery is signed with HMAC-SHA256 and a timestamp; see verifying signatures.

Where data is#

Machines and the control server are in the Republic of Korea. Kajiya stores account details, repository names, job metadata (names, sizes, times, costs) and payment records; job contents exist only inside the job's VM. Card details are handled by Paddle. The privacy policy lists processors and retention.

Acceptable use#

Kajiya is for continuous integration and build jobs. Cryptocurrency mining and proof-of-work, password cracking, attacks or stress tests against third parties, and persistent servers are prohibited (terms).

Reporting a vulnerability#

Email hello@vetter-ai.com with the details. We reply within 2 business days.