ORAS CLI
$ oras Foundation Med RiskORAS CLI (oras) pushes, pulls, discovers, and inspects arbitrary OCI artifacts (SBOMs, Helm charts, Wasm modules, Cosign referrers) in OCI registries without a Docker daemon, offering --format json on discover, manifest fetch, and repo tags.
brew install oras oras inspects OCI referrers, manifests, and artifact graphs with --format json directly over OCI Distribution APIs.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format json on discover, repo ls, repo tags, and manifest fetch, running cleanly in headless shells.
- Supports
--format jsonacross discovery and tag listing commands
Daemonless OCI client avoids host socket privileges; destructive manifest delete requires explicit --force.
- Daemonless client;
manifest deleterequires--force
Single static Go binary available via Homebrew and GitHub releases across macOS, Linux, and Windows.
- Static Go binary via
brew install oras
Ideal for inspecting supply-chain referrers (SBOMs, attestations, Helm OCI charts) via OCI v1.1 APIs.
- First-class OCI v1.1 Referrers API support
CNCF incubating project (oras-project/oras) actively maintained under Apache-2.0.
- Official CNCF
oras-project/orasrepository
Clean oras.land CLI documentation and --help reference.
- Official docs at oras.land/docs/commands/oras/
Security, Auth & Guardrails
Reads registry credentials from ~/.docker/config.json or OS credential helpers configured via oras login.
100% open-source (Apache-2.0); registry storage and transfer depend on your OCI registry host.
# ORAS CLI Agent Rules - Use `--format json` on `oras discover` and `oras repo tags` for reliable parsing. - Use `oras manifest fetch` or `oras blob fetch --output -` for read-only inspection. - Never run `oras manifest delete` or `oras push` without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
oras discover ghcr.io/org/app:v1.0 --format json
Queries OCI referrers attached to an artifact and emits the dependency graph as JSON.
oras manifest fetch ghcr.io/org/app:v1.0 --pretty
Downloads and pretty-prints the OCI manifest JSON without fetching blobs.
Strengths for Agents
- +
oras discover --format jsoncleanly traverses OCI SBOM and signature referrer trees. - + Daemonless Go binary works in restricted sandboxes.
- + Destructive
manifest deleteenforces--force.
Caveats & Pitfalls
- !
oras cpandoras pushlack a--dry-runpreview flag. - ! Some older registries lack full OCI v1.1 Referrers API support (requiring fallback behavior).