kosa8 / AI security
Guide · Enterprise AI security
AI security for the enterprise: securing the AI agents that act for you
Updated
AI security used to mean protecting a model: its training data, its weights and what it says. In the enterprise it now mostly means something else, because AI agents run code, call tools and hold credentials. This page sets out what enterprise AI security covers once agents act, the threats that matter, a control framework you can apply to any agent, how kosa8 implements each control, and what to ask any vendor, including us. kosa8 is secure infrastructure for AI agents: each agent runs in its own sealed microVM, with the network rules, the keys, the approvals and the audit log kept outside its reach.
01What AI security means now that agents act
AI security is the practice of protecting AI systems, and the data and systems around them, from manipulation, misuse and failure. For a chatbot that answers questions, the risks sit in what it says: a leaked record in a reply, a harmful answer, a jailbreak. An AI agent is different. A language model chooses and calls tools in a loop (a shell, a browser, an API, an MCP server), so the risk moves from what the model says to what its tools let it do.
That changes who owns the problem. An agent that can push to a repository, open a ticket, query a database or spend money is a new kind of identity in the enterprise. It acts with real permissions, it reads content written by strangers, and it can be wrong at machine speed. In practice, enterprise AI security is about bounding that identity: where it runs, what it can reach, which credentials it can use, which actions need a person, and what record it leaves behind.
Model-level defences still matter. Guardrails and prompt filters lower the odds that an agent follows an injected instruction; they do not set a limit on what happens when it does. The controls on this page set that limit. Because they sit around the agent rather than inside the model, they work the same whichever model, framework or coding agent a team picks.
02The threats to AI agents in the enterprise
Most incidents involving AI agents come down to a handful of patterns. Each has a name, and each has a control that limits it.
- Prompt injection. Instructions hidden in content the agent reads (a README, an email, a web page, a ticket) that it follows as if they came from you. Definition · prompt injection in coding agents.
- Tool and MCP poisoning. A tool description or MCP server that carries instructions of its own, or that changes after you approved it (a rug pull). MCP tool poisoning and rug pulls.
- Credential and API key theft. Keys in environment variables, dotfiles and config files are readable by any code the agent runs, including code it was tricked into writing. Why the key should never enter the sandbox.
- Data exfiltration. Private data, untrusted content and a way out (the lethal trifecta) let one HTTP request, DNS lookup or image URL carry data away. How agents leak data.
- Supply chain attacks. Poisoned packages, hallucinated package names (slopsquatting), malicious agent skills and AGENTS.md files all run with the agent's permissions. The coding-agent supply chain.
- Excessive agency. More tools, permissions or autonomy than the task needs, so a small mistake has a large blast radius. Excessive agency, explained.
- Shared kernels and sandbox escape. Containers share the host's kernel, so a kernel bug reached from one agent can reach every agent on the machine. Containers vs microVMs.
- Unrecorded actions. Without a record the agent cannot edit, nobody can say what it did, show an auditor, or learn from an incident. What an audit log for AI agents should record.
The OWASP Top 10 for LLM Applications and OWASP's list for agentic applications name these risks. kosa8's control map lines its controls up against both, and against MITRE ATLAS and the NIST AI RMF, with the gaps marked. It is self-assessed, not a certification.
03A control framework for enterprise AI security
Eight controls cover the threats above. Each one is enforced outside the agent, because anything the agent can reach, a hijacked agent can switch off.
- Isolate each agent. Its own machine with its own kernel, seeing one folder, so a compromised agent cannot reach the host, other agents or other projects.
- Close the network by default. Deny outbound traffic, allow the hosts the task needs, and enforce the rule outside the agent's machine, where root inside it cannot lift it.
- Keep credentials out. The agent never holds a real key; something outside it adds the key to approved requests on the way out.
- Check tool calls and hold the risky ones. Rules on each call's arguments answer allow, deny or ask. Destructive and escalating actions wait for a named person.
- Govern MCP servers and tools. Decide centrally which servers and tools each team may use, pin their definitions, and withhold a tool that changes until someone reviews it.
- Make every change reversible. Checkpoint the whole machine before risky steps, so a bad run is rewound rather than rebuilt.
- Record everything where the agent cannot edit it. A tamper-evident log of each action, request, refusal and approval, forwarded to your SIEM.
- Produce evidence, not screenshots. Signed packages an auditor can verify independently, mapped to the frameworks they ask about.
Under all eight is least privilege applied to a new kind of worker, plus one assumption: sooner or later an agent will be told to do something you did not intend. The AI agent security checklist for 2026 breaks the framework into concrete checks.
04How kosa8 implements each control
kosa8 puts every one of these controls on the host, out of the agent's reach. Each is a command you can run today on your own machines and servers.
| Control | How kosa8 does it | Command |
|---|---|---|
| Isolation | Each sandbox is a microVM with its own kernel, disk and network: Apple's Virtualization framework on a Mac, Cloud Hypervisor on KVM on Linux. The agent sees the folder you mount and nothing else. A signed policy with require_sandbox makes it mandatory. | kosa8 sandbox create agent --egress deny |
| Network | Every frame crosses a network guard on the host, so root in the guest cannot lift the rules. Rules exist before boot, DNS answers listed names only, and refusals are counted and audited. | kosa8 sandbox create sealed --egress-allow api.anthropic.com |
| Credentials | An egress broker on the host keeps the real key and adds it on the way out, only to the provider's own hosts. The sandbox holds a placeholder that is worthless anywhere else. | kosa8 sandbox egress agent |
| Tool calls and approvals | Signed rules read each call's arguments and answer allow, deny or ask. A held call waits for a named approver and is approved for that call only. Destructive and escalating actions ask every time; a policy can require one or two approvers. | kosa8 mcp asks |
| MCP governance | A signed MCP policy sets which servers and tools each scope may use. Tool definitions are pinned by digest, so a changed tool is withheld until reviewed, and each third-party MCP server can run in its own sandbox. | kosa8 mcp-policy check |
| Reversibility | A checkpoint saves the whole running machine, memory and processes included, in a second or two on your own hardware; a rewind puts it back, still running. Fork makes live copies to try approaches in parallel. | kosa8 rewind sealed |
| Audit | Every state change, brokered request, refusal, tool decision and approval, with actor and time. Hash-chained, HMAC-keyed and Ed25519-signed by the host service, not the agent, and forwarded to syslog, Splunk HEC or HTTPS. | kosa8 audit verify |
| Evidence | A signed package of the audit entries for a sandbox, approval or time range, which an auditor checks with no daemon, no kosa8 state and no network. An AI bill of materials in CycloneDX lists the model, runtime, MCP servers and policies in force. | kosa8 evidence export --sandbox api |
How the boundary is built, and what crosses it, is on the security page. The page for security teams walks one injected instruction through each layer.
05Where enterprise AI agents can run
The same sandbox runs in four places. The more you keep, the less leaves your building.
- Local. An Apple silicon Mac, x86-64 Linux with KVM, or Windows 11 through WSL2 (preview). Code, prompts and logs stay on the machine.
- Your own servers, or air-gapped. Your Linux hosts, or a disconnected network with a signed site licence checked locally. FIPS 140-3 builds for Enterprise and Government.
- Your hosts on kosa8 Cloud. Your KVM Linux servers join your Cloud organisation through an outbound tunnel. Files stay on them; the control plane holds metadata.
- kosa8 Cloud. Sandboxes on kosa8's hosts in Ashburn, Virginia (US East, us-ash1, the one region today) from an API key. Each hosted sandbox is still its own microVM, but the audit log, evidence export and signed policy are features of the software on your own machines and hosts; hosted Cloud sandboxes do not expose them yet.
Details on each: where kosa8 runs. Every account picks a plan, from $29 a month, charged at checkout; Enterprise and Government are quoted. Pricing.
06What these controls do not cover
An honest AI security programme writes down what each layer leaves open. These are kosa8's.
- Prompt injection itself. kosa8 bounds what a hijacked agent can do, not what it reads or believes, and does not detect the injection.
- Misuse of what you allowed. An allowed host that accepts uploads is a way out for data, and HTTPS bodies to allowed hosts are not inspected. Scope keys at the provider too.
- A hypervisor escape. A much smaller surface than a shared kernel, not zero.
- Anything running as you. A process under your account can call the service, and host root can rewrite local state. Forward the audit log off the machine.
kosa8 has no SOC 2 report yet (SOC 2 Type II is in progress, with the report expected in January 2027) and has not had an external penetration test. The control map is self-assessed, not a certification. The Trust Center lists what is in place today, and the compliance page sets out what the EU AI Act, SOC 2, ISO/IEC 42001 and NIST AI RMF ask about agents and the evidence kosa8 produces for each.
07What to ask an AI security vendor
Whether you are buying an agent platform, an AI gateway or a sandbox, these questions separate a boundary from a promise. Ask them of us too.
- Where does the agent's code run, and does it share a kernel with other agents or with the host?
- Is the network rule enforced inside the agent's machine or outside it? Can root in the sandbox change it?
- Does the agent ever hold a real API key? If an injected instruction prints the environment, what leaks?
- Which actions wait for a person, and can an agent approve its own request?
- Who writes the audit log? Can the agent, or an admin, edit it without it showing? Can it reach our SIEM?
- Can our auditor verify the evidence without trusting the vendor?
- Can it run on our own hardware, or air-gapped, and what leaves our network when it does?
- What does the vendor say it does not protect against, and which audits (a SOC 2 report, an external penetration test) has it actually completed?
kosa8's answers are on this page, the security page and the Trust Center. If your security team uses AI agents of its own, read AI for cybersecurity: running security AI agents safely. For each topic in more depth (MCP security, AI supply chain security, data loss, zero trust and non-human identity, air-gapped AI), see cybersecurity for AI agents, topic by topic.
08Questions
What is AI security?
AI security is protecting AI systems, and the data and systems they touch, from manipulation, misuse and failure. For AI agents, which run code and call tools with real credentials, it mainly means limiting what an agent can reach and do, keeping secrets out of its hands, holding risky actions for a person and recording every action.
What is enterprise AI security?
Enterprise AI security applies those controls across an organisation: every agent isolated, network and credentials governed centrally, a signed policy on every machine, approvals by named people, and an audit trail that reaches the SOC and stands up to auditors. kosa8 provides these controls as the infrastructure every agent runs on.
Does kosa8 stop prompt injection?
No. kosa8 bounds what a hijacked agent can do, not what it reads. The agent runs in its own microVM with the network rules, keys, approvals and audit log on the host, so an injected instruction meets a limit on what it can reach rather than a filter on what it says.
Does kosa8 replace guardrails or an AI firewall?
No. Guardrails and prompt filters act on what the model reads and writes, and lower the odds of a bad action. kosa8 acts on what the agent can touch, and sets the limit when a bad action happens anyway. The two layers complement each other.
Does kosa8 have a SOC 2 report?
Not yet. SOC 2 is in progress; kosa8 has no SOC 2 report and has not had an external penetration test. The Trust Center lists what is in place today, and the control map against OWASP, MITRE ATLAS and NIST is self-assessed.
How much does kosa8 cost?
Plans start at $29 a month for Solo; Pro is $89 a month, Team $169 and Scale $199 a person a month, and Enterprise and Government are quoted. There is no free tier or trial: every account adds a card and picks a plan at sign-up.
09Guides and deep dives
- AI agent security: the threat model, the controls and a maturity checklist
- Cybersecurity for AI agents, topic by topic: MCP, supply chain, DLP, zero trust and more
- Zero trust for AI agents: non-human identity, secrets and access
- kosa8 for CISOs and security teams: contain what a hijacked agent can do
- Control map: kosa8 against OWASP, MITRE ATLAS, NIST AI RMF and the EU AI Act (self-assessed)
- The AI agent sandbox for the enterprise
- AI for cybersecurity: running security AI agents safely
- Evidence for AI agent governance
- kosa8 security: isolation model and threat model
- The AI agent security checklist for 2026
- Give an AI agent API keys without exposing them
- Restrict an AI agent's network to an allow-list
- Require human approval before risky commands
- Run MCP servers in a sandbox
- AI agent security glossary
10Get started
kosa8 installs with one line on macOS, Linux and Windows (WSL2), or runs hosted on kosa8 Cloud. Want to walk through your own threat model first? Book thirty minutes with the people who build it.
Get started Book a security review See pricing
Sign up → Add a card → Pick a plan (charged now) → Use kosa8. Plans start at $29 a month; there is no free tier or trial.