Guard / Pillar 1
Pre-install supply-chain firewall
Osty Guard decides whether a package version may install before any CI runner or laptop fetches it. Plane 1 detonates each new public release in a Firecracker microVM seeded with honey secrets, diffs the artifact against its Git tag, compares behavior with the previous version, and enforces the signed verdict through osty verify or osty-proxy.
Written by Osty EngineeringPublished Updated
| Verdict | What it means | Install outcome | Can automation lower it? |
|---|---|---|---|
CLEAN | Sandbox run, source match and behavior diff found nothing new. | Installs after the policy cooldown (defaultCooldownHours). A known-exploited (KEV) fix may skip the cooldown. | No. Later evidence can only escalate it. |
ANOMALOUS_REVIEW | A new behavior or source mismatch needs a person to look. | Held. A KEV fix may waive the cooldown only with two distinct Ed25519-signed operator approvals over the exact anomaly delta. | No. Automation only preserves or escalates. |
INSPECTION_INCOMPLETE | Tier-1 handoff: the artifact exceeded the per-artifact triage budget and moved to Tier-2 deep vetting. | Never treated as CLEAN. Waits for full inspection. | Not a final verdict. |
QUARANTINED_HIGH_RISK | Sandbox or source evidence shows high risk without confirmed exfiltration. | Blocked when listed in blockVerdicts. | No. Needs a signed, justified human override. |
CONFIRMED_MALICIOUS | Proof of malice, such as a honey secret leaving the microVM. | Blocked, and osty-proxy freezes the artifact fleet-wide in under a second. | No. Needs a signed, justified human override recorded in the ledger. |
osty verify --lockfile package-lock.json --jsonHow does Osty block a malicious postinstall script before it reaches CI?
Plane 1 installs every new public release inside a Firecracker KVM microVM that holds fake credentials: cloud keys, registry tokens and SSH keys that exist nowhere else. All DNS, HTTP and TLS traffic from the guest goes to a sinkhole that records each lookup and request instead of reaching the internet.
Detonation stages run today for npm and PyPI, where install-time code execution is most common. If any honey secret appears in captured traffic, the version is CONFIRMED_MALICIOUS. The block rests on a recorded trace, not a reputation score or a static pattern match, so osty verify can show exactly why a version failed.
- Install and import hooks: npm
preinstallandpostinstallscripts, and Python package installs and first imports. - Network: every DNS name resolved and every HTTP or TLS destination contacted during install and import.
- Host activity: files read outside the package, processes spawned and environment variables accessed.
How does Osty detect a tarball or wheel that differs from its Git tag?
For each release Plane 1 fetches the published artifact and the source at the matching Git tag, then diffs them file by file. Code present in the published npm tarball or PyPI wheel but absent from the tagged source is a pipeline compromise signal, the pattern behind attacks where the repository stays clean and only the published package is poisoned.
What does a vPrev -> vNew behavioral baseline catch?
Plane 1 keeps a behavioral baseline for each previous version. A new release is judged on what changed: new install hooks, new domains, new file reads, new processes. A package that has always called its own telemetry endpoint does not trip the check, while a patch release that suddenly opens a connection to an unknown host does.
Because each public version is detonated once and shared as a signed verdict, every customer gets the result of the same run, and the cost of a deep sandbox pass is not repeated per organisation.
How does Osty stop dependency confusion without sending private package names to a vendor?
Plane 1 publishes Ed25519-signed batches of keyed hashes of public package names for npm, PyPI, Go, Cargo and Maven. osty-edge hashes your private package names with the same scheme inside your VPC and checks for collisions there. A public package that shadows an internal name is caught, and the internal name never leaves your network.
Private scopes can be declared as prefixes or globs such as @acme/, github.com/acme/ or com.acme:, and Go modules matching GOPRIVATE are treated as internal by default.
Which registries and ecosystems does osty-proxy cover?
| Ecosystem | Proxy behavior |
|---|---|
| npm | Pull-through metadata and tarballs, verdict check per resolved version. |
| PyPI | Pull-through simple index and wheels, verdict check per resolved version. |
| Go modules | Module proxy protocol, with GOPRIVATE modules kept internal. |
| Cargo | Sparse index served at /cargo/index/. config.json is rewritten so downloads point at the proxy and the api key is removed, which disables publishing through the proxy. |
| Maven | groupId:artifactId coordinates. -SNAPSHOT versions and snapshot metadata are rejected because they are mutable and cannot be pinned. |
| OCI | Image manifests and layers resolved to @sha256 digests before a verdict applies. |
The proxy sits in front of Artifactory, Nexus or GitHub Packages rather than replacing them. Failure mode is set per origin in policy: FAIL_CLOSED for production CI and FAIL_OPEN_WITH_CACHE for developer laptops.
How do I roll Guard out without putting a new vendor on the critical path?
- 01Add one
osty verifystep to CI. It reads the lockfile and fails the build on a blocked verdict. Nothing sits in the install path. - 02Add an admission webhook so clusters refuse images whose dependencies carry a blocked verdict.
- 03Route package managers through
osty-proxyin your VPC once the CI gate has run cleanly.
osty verify --lockfile package-lock.json --policy .osty/policy.yaml --cache /var/lib/osty/edge-cache.sqlite --jsonosty verify reads package-lock.json, go.sum, go.mod, requirements.txt and uv.lock. The osty CLI source is Apache 2.0. See Policy and Ledger for the supplyChain keys it enforces.
Frequently asked questions
Does Osty rely on reputation scores to block packages?
No. A block comes from a sandbox trace, an artifact-vs-source diff or a behavior change against the previous version, and the evidence is attached to the signed verdict.
Can a later clean run lift a CONFIRMED_MALICIOUS verdict?
No. Automated pipelines may only preserve or escalate a verdict. Lowering QUARANTINED_HIGH_RISK or CONFIRMED_MALICIOUS needs a signed, justified human override that is written to the Evidence Ledger.
What happens to a large artifact that does not fit the fast triage budget?
It is handed to Tier-2 deep vetting as INSPECTION_INCOMPLETE and never clears as CLEAN until the full inspection finishes.
Does Guard need the registry proxy?
No. Most teams start with osty verify in CI, free through the osty-dev/osty-action GitHub Action for open-source and small repositories, or on the Team tier. The in-VPC osty-proxy and dependency-confusion protection are part of Enterprise.
Related pages
- SeeRuntime-to-source lineage,
osty stampprovenance, stale deploy detection, ghost production workloads and native-compiler reachability. - PlanUpgrade intelligence: distro backport normalization, ELF and glibc ABI floors, SPDX license shifts, breaking call sites and topological rollout waves.
- Policy and LedgerGit-pinned, non-executable
.osty/policy.yamlenforced byosty-edgeon every mutating command, tighten-only overlays, release gates and the hash-chained Ed25519 Evidence Ledger. - PricingPriced per active production service: a free Day-1 X-Ray and CLI, Team at $250 per month for up to 10 active production services, then $25 per active service per month, and custom Enterprise and Sovereign plans.