Security
How Kojo handles code, credentials and access.
Your code runs in a computer that belongs to one session. Here is what is inside it, what can read what, and what we are still closing.
On this page: isolation · what the computer can read · credentials · access · previews · records · known limits · report
Isolation
computer one per session
shared nothing between sessions
lifetime destroyed when its session is archivedWhat code in the computer can read
Read this before you connect a sensitive repository. Any code running in a session’s computer, the agent’s or a teammate’s, can read what that computer holds: the run’s own token, its git token, the model key its run uses, the secrets attached to the session, and the keys a member put in their terminals. Its network access is open.
Keeping keys out of the computer entirely is on our roadmap. Use keys and tokens limited to what the session needs.
Credentials
| What | How it is handled |
|---|---|
| Keys, secrets and saved logins | Stored encrypted, per company, per person or per session. No page or API response shows a value back. Shared only with the people you choose. |
| What a run receives | Only the secrets attached to its session. A revoked or unshared secret never reaches the next run. |
| Stored output | Activity, transcripts and results a run stores are masked on the server for every secret the computer holds. |
| Terminal output | Secrets are masked in terminal output, and a setting decides who may open a terminal on a computer that holds them. Masking is best effort, not a boundary. |
| GitHub access in the computer | With the GitHub App, the computer reaches only the session’s repositories, and that access ends with each run. With a personal token you connected, it uses that token. |
| Kojo’s own keys | They never enter your computer. |
| Pull requests | Opened and merged by Kojo with its own GitHub access, never from the computer; a merge only on a person’s approval of that merge. |
Who can do what
Session data is never readable outside Kojo’s access checks.
Session roles are listed on the product page. API keys are scoped and never more than automation. Removing a member takes effect on their next request.
The API description is shown only to signed-in members and keys, and lists only what that workspace can call.
Previews and shared links
Each preview is served on its own origin through a signed link.
- Members’ preview links. Viewers reach only the session’s declared preview port; links expire after 15 minutes.
- Guests in a session. People without an account give their name and watch the session live, read-only, never a command’s output or a file’s contents. A guest link lasts 1 hour, 1 day, 7 days or until revoked.
- A shared preview. Anyone with the link opens that one port, without an account. It lasts 1 hour, 1 day or 7 days.
Revoking a link ends it at once. Sharing with guests and sharing previews are each turned on per workspace.
Privacy and records
We keep operational records needed to run, secure and bill your workspaces: sessions, who did what, approval decisions and per-member usage. We do not provide employee productivity scores, keystroke or screen tracking, or rankings of individuals.
Known limits
- Code in a computer can read the secrets that computer holds, and its network access is open (above).
- Everyone in a session sees all of its repositories; there is no per-member split inside one session.
- Masking hides known values in output; it does not stop someone who types from sending a secret elsewhere.
We publish these here rather than let someone find them.
Report a vulnerability
Email security@kojo.build.