# Security

kosa8 is built to run code nobody has read: an agent's tool calls, a model's output, a stranger's pull request. This page says what protects you, and what is still in progress.

## Isolation

- On kosa8 Cloud every sandbox is a microVM with its own Linux kernel, so sandboxes share a kernel neither with each other nor with the host. Locally, kosa8d uses Apple's Virtualization framework on a Mac and Cloud Hypervisor on KVM on Linux ([details](https://kosa8.com/security/)).

- Forks and restores are copy-on-write: a copy sees its parent's state, never another organization's.

- Outbound network can be limited per sandbox or for the whole organization: [egress controls](https://docs.kosa8.com/guides/cloud-egress/).

- Each function call and each one-call run gets a fresh microVM, deleted after.

## Keys and secrets

- API keys and capability tokens are stored only as hashes and shown once. [Keys and auth](https://docs.kosa8.com/concepts/auth/)

- [Secrets](https://docs.kosa8.com/guides/cloud-secrets/) never enter the sandbox: a broker swaps them into outbound requests. Forks never inherit them.

- The [AI Gateway](https://docs.kosa8.com/guides/cloud-ai-gateway/) keeps model-provider keys outside the sandbox the same way.

## Audit

Every create, exec, fork, key change and token use is recorded with who did it. Read it with `GET /v1/audit` (scope `audit:read`), stream it to your SIEM, or freeze the whole organization at once with the kill switch (`POST /v1/security/freeze`). [Security Center](https://docs.kosa8.com/guides/cloud-security/), [the audit log](https://docs.kosa8.com/guides/audit/).

## Compliance

kosa8 is working toward SOC 2 Type II; the audit is in progress and the report is expected in January 2027. kosa8 is not SOC 2 certified today, and no third-party penetration test has been published yet. For self-assessments, the SBOM and our answers to security questionnaires, write to [contact@kosa8.com](mailto:contact@kosa8.com).

## Run it yourself

If your code must not leave your network, run kosa8d on your own machines or fully offline: [air-gapped install](https://docs.kosa8.com/guides/air-gapped/), [bring your own cloud](https://docs.kosa8.com/guides/cloud-byoc/).

## Report a vulnerability

Email [contact@kosa8.com](mailto:contact@kosa8.com) with a description, steps to reproduce and the output of `kosa8 version --json`. Please let us fix it before you publish, and leave other people's data out.

---
Source: https://docs.kosa8.com/security/
