# Security model and trust boundaries

Security. Breadcrumb: [Home](https://osty.dev/) / Security

Osty splits work between a shared Plane 1 that computes public package intelligence and an `osty-edge` in your VPC that holds every credential able to change code or production. Source code, deploy keys, Git write tokens and private package names stay in your VPC, and every binary running there is source-auditable.

Table: Where each kind of data lives

| Data | Where it lives | Why |
| --- | --- | --- |
| Source code | Your VPC. The hosted X-Ray and Team edge reads it in memory only. | Zero source at rest outside your network. |
| Production deploy keys, Git and CI write tokens, private registry credentials | `osty-edge` in your VPC | Only the edge can mutate code or production. |
| Short-lived branch tokens | Single-tenant hosted edge, for the X-Ray and `VERIFIED_PR` only | Expire quickly and cannot deploy. |
| Private package names | Your VPC | Dependency confusion is checked locally against signed public hash batches. |
| Slack, Teams, PagerDuty, Vanta, Drata, Jira and ServiceNow tokens | `osty-control`, or VPC-only for Sovereign | They cannot mutate code, trigger deploys or forge operator signatures. |
| Lineage metadata, SBOMs and ledger | Control plane, isolated per organisation | Needed for fleet campaigns and proof. |
| Public package verdicts, distro advisories, upgrade graphs | Plane 1, Ed25519-signed | Computed once and shared with every customer. |

Check the policy your edge will enforce:

```bash
osty policy validate .osty/policy.yaml
```

## Does Osty need inbound network access into my VPC?

No. `osty-edge` opens an outbound-only mTLS stream to the control plane and receives commands over it. No inbound port is opened. When the stream drops, the edge keeps enforcing the pinned policy and keeps a local, restart-safe ledger that flushes on reconnect.

## Which Osty components can I audit, and under which license?

Table: Three-tier licensing map

| Component | License | Runs where |
| --- | --- | --- |
| `osty` CLI (`osty verify`, `osty stamp`, `osty xray`, `osty explain`) | Apache 2.0 source; the binary ships as `Apache-2.0 AND LicenseRef-Osty-Source-Available` | CI and laptops |
| `.osty/policy.yaml` specification | Apache 2.0 | Your Git repositories |
| `osty-sensor` host agent | Apache 2.0 | Your hosts |
| Linux eBPF probe in `osty-sensor` | Dual MIT or GPL-2.0-only | Your Linux kernels |
| `osty-edge`, `osty-proxy` and the `osty-edge` Helm chart | Source-available | Your VPC |
| Native-compiler analyzers | Source-available | Isolated containers in your VPC |
| `osty-brain` (Plane 1) | Proprietary | Osty Cloud |
| `osty-control`, Command Center UI, Firecracker sandbox, `osty-sovereign` chart | Proprietary | Osty Cloud, or your network on Sovereign |

Source-available means you can read, audit and build the code yourself, without the right to resell it as a competing product. On Enterprise and Sovereign, every binary inside your VPC is Apache 2.0, dual MIT or GPL-2.0-only, or source-available.

The Apache 2.0 releases are public in the [osty-dev GitHub organization](https://github.com/osty-dev): the `osty` CLI and `osty-sensor` in [osty-dev/osty](https://github.com/osty-dev/osty), the GitHub Action in [osty-dev/osty-action](https://github.com/osty-dev/osty-action) and the adversarial benchmark with its TLA+ models in [osty-dev/supply-chain-benchmark](https://github.com/osty-dev/supply-chain-benchmark).

## How is the safety logic verified?

Table: TLA+ models in `formal/tla/` and their invariants

| Model | Invariants |
| --- | --- |
| `EdgeZeroTrustAndKillSwitch` | `NoOutOfPolicyMutation`, `NoDuplicateIdempotentExecution`, `BroadRollbackRequiresTwoDistinctValidApprovals`, `NoBlindRollbackOnStatefulMigration`, `ConfirmedMaliciousNeverAutoDowngraded` |
| `CampaignWaveAndCanary` | `NoDownstreamBeforeUpstreamWave`, `NoAutoPromoteWithoutObservability`, `NoPromotionAfterOOMKill`, `TargetTransitionsAlwaysLegal`, `HaltedWaveRequiresLiveApproval` |

Each model ships with mutants that must fail the checker, so a weakened model is caught. The code is held to 15 adversarial scenarios, from honey-secret exfiltration (`a03`) and zero-knowledge dependency confusion (`a06`) to a compromised control plane (`a11`), ghost production (`a13`), air-gapped operation (`a14`) and multi-org RBAC (`a15`), plus fuzzers, security mutation tests and Temporal replay tests.

## What is Osty not?

- Not a laptop or endpoint MDM tool.
- Not a first-party SAST or Git-history secret scanner.
- Not a cloud security posture (CSPM) tool.
- Not a Linux distribution or managed base-image vendor. Osty orchestrates the base images you choose, including Chainguard and distroless.
- Not a GRC compliance dashboard. Osty exports proof to Vanta, Drata, ServiceNow and Jira.
- Not a SIEM, EDR or inline eBPF runtime exploit blocker. Osty collects AWS Inspector and GCP Container Analysis findings, and checks CVEs exported from Wazuh, Trivy Operator or CrowdStrike offline with `osty explain`.
- Not a general-purpose CI runner platform.

## What will Osty never do?

1. Keep your source code or private package names outside your VPC, or hold your production deploy keys and registry credentials anywhere else.
2. Accept a command your Git-pinned policy does not allow, even from Osty's own cloud.
3. Run a binary in your VPC whose source you cannot read. The CLI source and sensor are Apache 2.0, and the edge and proxy are source-available.
4. Let an AI agent with write access read upstream changelogs, READMEs or release notes, where prompt injections hide.
5. Give the migration agent network access or secrets. It returns only a diff.
6. Hide a finding on a guess. Only a distro backport, a build-stage exclusion or a compiler call graph can suppress one, and a failed compiler run is marked uncertain.
7. Roll back across a database migration. It isolates the workload and ships a clean rebuild instead.
8. Roll back Tier-0 or fleet-wide without two people signing off. Reversible containment, such as freezing the proxy or quarantining a workload, happens at once.

## How does a maintainer correct or dispute a public dossier?

Public `/pkg/`, `/cve/` and `/upgrades/` dossiers report objective sandbox, feed and ELF observations only. They never label a package or a maintainer as malicious. A `CONFIRMED_MALICIOUS` finding needs human security-researcher confirmation and coordinated registry notification first, and is published only as a reviewed advisory.

1. Email `security@osty.dev` with the dossier URL and the observation you dispute.
2. A security engineer acknowledges the request and reviews it within 24 hours.
3. Corrected observations are re-run in Plane 1, re-signed with Ed25519 and published with a new `lastmod`, and the dispute outcome is recorded with the signed snapshot.

## Frequently asked questions

### Does Osty upload or store customer source code in Osty Cloud?

No. Source stays in your VPC. The hosted edge used for the X-Ray and Team reads code in memory with short-lived tokens and stores none of it.

### Can Osty's cloud push a change my policy forbids?

No. `osty-edge` checks every mutating command against your Git-pinned policy and refuses it, whoever sent it.

### Is Osty open source?

Partly. The CLI, policy specification and sensor are Apache 2.0 and published at [github.com/osty-dev](https://github.com/osty-dev), the edge and proxy are source-available, and Plane 1 and the control plane are proprietary.

## Related pages

- [Architecture](https://osty.dev/architecture): Plane 1 (`osty-brain`), the control plane (`osty-control`, PostgreSQL 17, Temporal) and the thin edge (`osty-edge`, `osty-proxy`, `osty-sensor`), plus the accepted ADRs behind them.
- [Policy and Ledger](https://osty.dev/policy-ledger): Git-pinned, non-executable `.osty/policy.yaml` enforced by `osty-edge` on every mutating command, tighten-only overlays, release gates and the hash-chained Ed25519 Evidence Ledger.
- [Free X-Ray](https://osty.dev/xray): Free 10-minute read-only Day-1 X-Ray through a read-only GitHub App and cloud role: false positives, stale deploys and unowned workloads.
- [Guard](https://osty.dev/guard): Pre-install supply-chain firewall: Firecracker honey-secret detonation, artifact-vs-Git diffs, behavior baselines, dependency-confusion defense and `osty-proxy`.

## See your fleet in 10 minutes

Connect a read-only GitHub App and cloud role. Osty installs nothing in your environment and writes nothing to your repositories, and the report shows false positives, stale deploys and unowned workloads.

Get a free X-Ray: https://osty.dev/xray

Written by Osty Engineering. Published 2026-11-29. Updated 2026-11-29.

Canonical: https://osty.dev/security
