SECURITY

Your code and data stay on your machine.

KB Labs runs on-prem by default, open source end-to-end, and never sends data without your explicit action. Everything below is verifiable in source.

0%
Open source
All code on GitHub. No black boxes.
0
Cloud dependencies
By default. Everything runs locally.
0
Data on our servers
We don't store your code or state.
0
Plugin isolation modes
In-process, subprocess/container, and worker-pool.
Data flows

What leaves your network.

Full data movement map — no "approximately" or "sometimes".

On your machineSent with consentExternal infra
Data typeDestinationStatus
Source codeYour machine onlyOn your machine
Workflow stateYour machine onlyOn your machine
LLM promptsYour chosen providerSent with consent
Git diffs (demo)Gateway proxySent with consent
Crash reportsNever collectedOn your machine
Usage analyticsNever collectedOn your machine
API keysLocal config only (0600)On your machine
Core principles

Secure by default, not optional.

On-prem by default

KB Labs runs entirely on your infrastructure. No cloud dependency, no data leaving your network. You control where your code, workflow state, and logs are stored.

Consent-first data sharing

Nothing is sent externally without explicit user consent. The CLI installer asks before every network call. Demo mode offers three choices: gateway proxy, local only, or bring your own API key.

Open source & auditable

The entire platform is open source. Every line of code is auditable. No black boxes, no hidden telemetry, no trust-us-it's-safe. Verify yourself.

Plugin isolation

Four layers of sandbox isolation.

A plugin cannot access resources it didn't declare in its manifest — that's a contract, not a recommendation.

1

Manifest declaration

Plugins declare required capabilities upfront. Runtime refuses undeclared access.

2

In-process isolation

Default mode. Plugin runs in the same process with permission enforcement via middleware.

3

Subprocess isolation

Plugin spawns in a child process. IPC-only communication, no shared memory.

4

Container isolation

Plugin runs in an OCI container. Full filesystem and network isolation.

JWT authentication

Tokens live on your machine.

Gateway uses no centralized auth service — keys are generated and stored locally.

Token scopeDevice-scoped JWT
Token storageLocal file, 0600 permissions
Token sharingNever shared across users
Auth methodJWT Bearer tokens
Key rotationCLI command: kb gateway rotate
RevocationImmediate, no TTL dependency
Standards compliance

Honest about certifications.

Early stage — no lies about status.

Open SourceAvailable

MIT-licensed. Full source code available on GitHub for audit and contribution.

DPAAvailable

Data processing agreement available on request for organizations that require it.

RBAC & SSOIn progress

Role-based access control and SSO (SAML/OIDC) planned for Enterprise tier.

Responsible disclosure

Found a vulnerability?

If you found a vulnerability — contact us before public disclosure. We respond within 48 hours and publicly thank researchers after the fix ships.

Email security@kblabs.dev with full details
We respond within 72 hours and confirm scope
Fix ships in the next patch release with credit
Email security
Questions?

Let's talk security.

If you have special security requirements or want to run an audit — reach out directly.

Security — KB Labs