> For the complete documentation index, see [llms.txt](https://docs.kosmoslabs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kosmoslabs.ai/product-documentation/security-overview.md).

# Security Overview

Machines propose. Humans confirm. That trust model extends to every layer of how Kosmos handles your data — from integration scopes to infrastructure to our SOC 2 Type 2 certification.

**V1.7 · Updated October 2026**

{% hint style="success" %}
**Read-only by design.** Kosmos requests minimum required scopes across all connected systems. We read signal metadata to surface root cause; we never write to your source systems, and we never duplicate raw data beyond what correlation requires.
{% endhint %}

***

## At a Glance

* **0** high-severity findings — OWASP ZAP DAST across 247 endpoints (Mar 2026)
* **TLS 1.3** encryption in transit
* **Read-only scopes** across every connector; no write permission is requested on any connected system
* **Fine-grained, per-repository** access for GitHub via the Kosmos GitHub App
* **SOC 2 Type 2** report issued September 1, 2026, available through our [Trust Center](https://trust.kosmoslabs.ai)
* **35 controls** continuously monitored, backed by **25 published internal policies**

***

## Infrastructure & Application Security

### GCP-Native Architecture

Kosmos is deployed entirely on Google Cloud Platform. No third-party infrastructure providers are used for compute, storage, or networking.

**Services in use:**

* **Cloud Run** — stateless API and service execution
* **Cloud SQL (PostgreSQL)** — structured signal and correlation data
* **Google Cloud Storage** — signal metadata and artifact storage
* **DuckDB** — embedded analytical query engine for correlation workloads
* **Vertex AI (Gemini 2.5 Flash)** — RCA generation and `text-embedding-004` embeddings

### Encryption

* **In transit:** TLS 1.3 across all endpoints and service-to-service calls
* **Application layer:** OAuth tokens encrypted before storage
* **Secrets:** Managed in GCP Secret Manager with version control and access audit logs

### Authentication

* **User sessions:** Firebase Auth; tokens validated on every API call
* **Service-to-service:** GCP IAM service accounts; no long-lived credentials shared across services
* **Integrations:** OAuth 2.0 for most connectors, with tokens encrypted before storage. GitHub uses the Kosmos GitHub App, authenticating with short-lived installation tokens minted on demand rather than a long-lived stored credential. The app private key is held in GCP Secret Manager and never logged.

### Multi-Tenant Isolation

Data is isolated at the application layer. Every record, query, and storage operation is scoped by organization identifier. Tenant boundaries are enforced regardless of storage backend.

### Network Protection, CSRF & Rate Limiting

* **Cloud Armor** — public API traffic is protected at the network edge against volumetric and application-layer denial-of-service attacks
* State token validation on all OAuth authorization flows
* Double-submit cookie pattern on all state-changing requests
* IP-based rate limits on all public-facing endpoints
* Per-key rate limits on public API requests, with standard rate limit headers on every response

### Audit Trail & PII Redaction

Auth events, integration activity, and RCA generation are written to a structured audit trail. Email addresses and credentials are redacted before log emission.

***

## Data Handling

### What Kosmos Reads

Signal metadata from connected systems: issues, tickets, commits, messages, and traces. All integrations operate on minimum required, read-only scopes. For source control, Kosmos reads commit and pull request metadata, not the contents of your source code.

### What Kosmos Stores

Signal metadata and correlation results only. Kosmos does not duplicate raw source records beyond what correlation requires. Data is stored in Cloud SQL (PostgreSQL), Google Cloud Storage, and DuckDB.

### Data Deletion

On contract termination, all customer data is deleted within **30 days**. Hard-delete is available on written request to <security@kosmoslabs.ai>.

### Subprocessors

* **Google Cloud Platform** — compute, storage, networking
* **Vertex AI (Gemini 2.5 Flash)** — RCA generation and `text-embedding-004` embeddings
* **Firebase Auth** — user authentication

A complete subprocessor list including notification providers is available on request.

***

## Connected Systems

### Generally Available

Jira · Salesforce · ServiceNow · Zendesk · GitHub · Bitbucket · GitLab · Azure DevOps · Slack · Microsoft Teams · Linear · Pylon

### Preview

{% hint style="info" %}
**OpenTelemetry** is currently in preview. Supported observability platforms: Datadog, Grafana, Splunk, Dynatrace, AWS CloudWatch, Azure Monitor, Google Cloud Observability, and New Relic. Contact your account team to enable OTel for your organization.
{% endhint %}

***

## SOC 2 Certification Path

### ✅ Complete — Mar 2026 · Codebase Security Review

OWASP ZAP DAST scan across 247 endpoints. **0 high-severity findings.**

### ✅ Complete — Apr 2026 · Salesforce AppExchange Security Review

Kosmos passed the Salesforce AppExchange security review. The managed package is available for installation in production and sandbox Salesforce orgs. [View on AppExchange](https://appexchange.salesforce.com/appxListingDetail?listingId=a0NHu00000srMgrMAE).

### ✅ Complete — May 2026 · P0 Audit Blockers

Vendor risk register, data processing agreements (DPAs), and incident response plan finalized.

### ✅ Complete · Sept 1, 2026 · SOC 2 Type 2 Report Issued

Observation-period controls assessment complete, with the Type 2 report issued September 1, 2026. Request the SOC 2 Type 2 report through our [Trust Center](https://trust.kosmoslabs.ai).

***

## Security Contact

Security inquiries are answered within **1 business day**.

**Email:** <security@kosmoslabs.ai>

Available on request:

* SOC 2 Type 2 report
* Penetration test results
* Data Processing Agreement (DPA)
* Security questionnaire responses
* Complete subprocessor list

### Trust Center

Our [Trust Center](https://trust.kosmoslabs.ai) is the single place for procurement and security reviews. It carries:

* **Compliance status:** SOC 2 Type 2, issued September 1, 2026
* **35 monitored controls** — continuously monitored across our infrastructure and processes, covering access rights, change management, credential management, configuration and patch management, data privacy, and data retention and destruction
* **25 internal policies** — including access control and least privilege, vendor and third-party risk, secure configuration and hardening, background screening and on/off-boarding, and backup, business continuity and disaster recovery
* **A security FAQ** — short answers to the questions that come up most in security review
* **Subprocessor and document requests** — click **Request Access** to request the SOC 2 Type 2 report, our complete subprocessor list, and other controlled documentation

Requests are reviewed and answered within **1 business day**.

***

**Questions?** Contact <support@kosmoslabs.ai> | [app.kosmoslabs.ai](https://app.kosmoslabs.ai/)

© 2026 Kosmos AI Labs, Inc.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kosmoslabs.ai/product-documentation/security-overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
