Osty Plane 1 Public Intelligence

v0.1.0
io.github.osty-dev/osty Checked 3 days ago Published 4 days ago

Read-only, Ed25519-signed supply-chain intel: package behavior, distro CVE backports, upgrade checks

Osty (osty.dev) is a pre-install supply-chain firewall, runtime lineage, upgrade intelligence, and policy-governed fleet remediation platform for cloud-native software fleets. osty is its command-line tool. It gates lockfiles against Ed25519-signed verdicts before anything installs, validates .osty/policy.yaml, signs build provenance, explains every allow, hold and block offline, and moves signed intelligence into air-gapped networks. It is a single static Go binary built with CGO_ENABLED=0 for Linux and macOS on amd64 and arm64. The formula lives in osty-dev/homebrew-tap.

Summary extracted from the README.

osty CLI

Osty (osty.dev) is a pre-install supply-chain firewall, runtime lineage, upgrade intelligence, and policy-governed fleet remediation platform for cloud-native software fleets.

osty is its command-line tool. It gates lockfiles against Ed25519-signed verdicts before anything installs, validates .osty/policy.yaml, signs build provenance, explains every allow, hold and block offline, and moves signed intelligence into air-gapped networks. It is a single static Go binary built with CGO_ENABLED=0 for Linux and macOS on amd64 and arm64.

Install

Homebrew

brew install osty-dev/tap/osty
osty version

The formula lives in osty-dev/homebrew-tap. Its test do block runs osty version.

install.sh

curl -fsSL https://raw.githubusercontent.com/osty-dev/osty/main/packaging/cli/install.sh | bash

The script downloads osty_<version>_<os>_<arch>.tar.gz and checksums.txt from the release, checks the archive's SHA-256 with sha256sum or shasum -a 256, and only then extracts and installs osty with mode 0755. A checksum mismatch stops the script before anything is extracted.

Variable or flag Default Effect
OSTY_VERSION latest Release to install, such as 0.1.0 or v0.1.0.
OSTY_INSTALL_DIR $HOME/.local/bin Directory that receives the osty binary.
OSTY_RELEASE_BASE_URL https://github.com/osty-dev/osty/releases/download Download base, for a mirror or an internal artifact store.
--dry-run off Print the URLs and target path, then exit without downloading.
curl -fsSL https://raw.githubusercontent.com/osty-dev/osty/main/packaging/cli/install.sh | OSTY_VERSION=0.1.0 OSTY_INSTALL_DIR=/usr/local/bin bash
curl -fsSL https://raw.githubusercontent.com/osty-dev/osty/main/packaging/cli/install.sh | bash -s -- --dry-run

GitHub Releases

Every release publishes these assets:

Asset Contents
osty_<version>_linux_amd64.tar.gz, osty_<version>_linux_arm64.tar.gz osty, LICENSE, NOTICE, licenses/LICENSE-APACHE-2.0, licenses/LICENSE-SOURCE-AVAILABLE.txt
osty_<version>_darwin_amd64.tar.gz, osty_<version>_darwin_arm64.tar.gz Same as Linux
osty-sensor_<version>_linux_amd64.tar.gz, osty-sensor_<version>_linux_arm64.tar.gz osty-sensor, LICENSE, NOTICE, licenses/LICENSE-APACHE-2.0, licenses/ebpf/LICENSE, licenses/ebpf/LICENSE.GPL-2.0
checksums.txt SHA-256 of every archive

osty-sensor is the Linux host agent, so it ships for Linux only. Verify a manual download before you run it:

sha256sum --ignore-missing -c checksums.txt
tar -xzf osty_0.1.0_linux_amd64.tar.gz osty
./osty version

On macOS, use shasum -a 256 -c --ignore-missing checksums.txt.

Quickstart

osty version
osty policy validate .osty/policy.yaml
osty airgap import --archive osty-intel.tar.gz --brain-public-key brain.pub.pem --cache edge-cache.sqlite --json
osty verify --lockfile package-lock.json --cache edge-cache.sqlite --policy .osty/policy.yaml --json
osty explain --package npm:left-pad@1.3.0 --cache edge-cache.sqlite --json
osty stamp keygen --private-key stamp.pem --public-key stamp.pub.pem
osty stamp --artifact-digest sha256:<digest> --signing-key stamp.pem --out provenance.json
osty stamp verify --attestation provenance.json --public-key stamp.pub.pem --artifact-digest sha256:<digest>

Every command exits 0 on success, 1 when a check fails or a dependency is held or blocked, and 2 on a usage error. osty verify reads package-lock.json, go.sum, go.mod, requirements.txt and uv.lock. OSTY_EDGE_CACHE and OSTY_POLICY_PATH set the defaults for --cache and --policy, and OSTY_SIGNING_KEY sets the default for osty stamp --signing-key.

The full reference is at https://osty.dev/docs/cli and the policy schema is at https://osty.dev/docs/policy. To run the same gate in GitHub Actions, use osty-dev/osty-action.

Licensing

Osty licenses each component separately, and the LICENSE file in each archive is the machine-checked component map.

Artifact SPDX license expression Why
osty binary Apache-2.0 AND LicenseRef-Osty-Source-Available cmd/osty is Apache 2.0, and it links the source-available policy evaluator, edge cache and reachability engine for osty policy, explain, verify, xray, waiver and airgap import.
osty-sensor binary Apache-2.0 Its packages are Apache 2.0, and its embedded eBPF programs are MIT OR GPL-2.0-only, which the Apache 2.0 distribution absorbs.
packaging/cli/ (this directory: install.sh, .goreleaser.yaml, the Homebrew template) Apache-2.0 Tier 1 of LICENSE.

The license texts ship in every archive under licenses/. Proprietary Osty components such as osty-brain and osty-control are not part of any public release.

Releasing

Maintainers cut a release from a v* tag:

goreleaser release --config packaging/cli/.goreleaser.yaml --clean
python3 packaging/cli/homebrew/render_formula.py --version "$TAG" --checksums bin/goreleaser/checksums.txt --out ../homebrew-tap/Formula/osty.rb

render_formula.py fills homebrew/osty.rb.tmpl with the version and the four osty archive digests from checksums.txt, and refuses to render if any digest is missing. GoReleaser's brews publisher is deprecated in GoReleaser v2 and its homebrew_casks publisher cannot carry a license or a test do block, so the formula is rendered from the template and committed to osty-dev/homebrew-tap.