Score & Proofs CLI Reference

Audience: DevOps engineers, security analysts, and CI authors who compute, replay, and verify Stella Ops vulnerability scores and their cryptographic proofs. Scope: The stella score and stella proof command groups — score computation, deterministic replay, proof-bundle verification, and proof export/inspection. Every command supports air-gapped operation.

Overview

The stella score and stella proof command groups let you compute vulnerability scores for a scan, replay them deterministically against alternate feeds or policies, and verify the tamper-evident proof bundles that back every score. All commands run offline when given a self-contained proof bundle and trust anchors.


Commands

stella score

Compute or replay vulnerability scores.

stella score <SUBCOMMAND> [OPTIONS]

Subcommands

SubcommandDescription
computeCompute scores for a scan
replayReplay score computation with different inputs
showDisplay score details for a scan
diffCompare scores between runs
manifestView/export scan manifest
inputsList scoring inputs

stella score compute

Compute vulnerability scores for a scan.

stella score compute [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan ID to compute scores forRequired
--deterministicEnable deterministic modetrue
--seed <BASE64>Random seed for determinismAuto-generated
--output <PATH>Output file pathstdout
--output-format <FMT>Format: json, yaml, tabletable
--include-proofInclude proof ledger in outputfalse

Examples

# Compute scores
stella score compute --scan-id $SCAN_ID

# Compute with proof output
stella score compute --scan-id $SCAN_ID --include-proof --output-format json

# Compute in deterministic mode with fixed seed
stella score compute --scan-id $SCAN_ID --deterministic --seed "AQIDBA=="

stella score replay

Replay score computation with updated feeds or policies.

stella score replay [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan ID to replayRequired
--feed-snapshot <HASH>Override feed snapshot hashCurrent
--vex-snapshot <HASH>Override VEX snapshot hashCurrent
--policy-snapshot <HASH>Override policy hashCurrent
--use-original-snapshotsUse exact original snapshotsfalse
--diffShow diff from originalfalse
--skip-unchangedSkip if no input changesfalse
--offlineRun in offline modefalse
--bundle <PATH>Use offline bundle for replay
--output <PATH>Output file pathstdout
--output-format <FMT>Format: json, yaml, tabletable

Examples

# Replay with current feeds
stella score replay --scan-id $SCAN_ID

# Replay with specific feed snapshot
stella score replay --scan-id $SCAN_ID --feed-snapshot sha256:newfeed...

# Replay and compare with original
stella score replay --scan-id $SCAN_ID --diff

# Replay with original snapshots (exact reproduction)
stella score replay --scan-id $SCAN_ID --use-original-snapshots

# Offline replay
stella score replay --scan-id $SCAN_ID --offline --bundle /path/to/bundle.zip

stella score show

Display score details for a scan.

stella score show [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan IDRequired
--verboseShow detailed breakdownfalse
--include-evidenceInclude evidence referencesfalse
--output-format <FMT>Format: json, yaml, tabletable

Examples

# Show score summary
stella score show --scan-id $SCAN_ID

# Show detailed breakdown
stella score show --scan-id $SCAN_ID --verbose

# JSON output
stella score show --scan-id $SCAN_ID --output-format json

stella score diff

Compare scores between two runs.

stella score diff [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan ID to compareRequired
--originalCompare with original scorefalse
--replayedCompare with most recent replayfalse
--base <RUN_ID>Base run ID for comparison
--target <RUN_ID>Target run ID for comparison
--output-format <FMT>Format: json, yaml, tabletable

Examples

# Compare original vs replayed
stella score diff --scan-id $SCAN_ID --original --replayed

# Compare two specific runs
stella score diff --scan-id $SCAN_ID --base run-001 --target run-002

stella score manifest

View or export scan manifest.

stella score manifest [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan IDRequired
--output <PATH>Output file pathstdout
--include-dsseInclude DSSE envelopefalse
--verifyVerify DSSE signaturefalse

Examples

# View manifest
stella score manifest --scan-id $SCAN_ID

# Export with DSSE
stella score manifest --scan-id $SCAN_ID --include-dsse --output manifest.json

# Verify manifest signature
stella score manifest --scan-id $SCAN_ID --verify

Proof Commands

stella proof

Manage proof bundles.

stella proof <SUBCOMMAND> [OPTIONS]

Subcommands

SubcommandDescription
verifyVerify a proof bundle
downloadDownload proof bundle
exportExport proof bundle
inspectInspect proof bundle contents
statusCheck proof status
listList proofs for a scan
retrieveRetrieve from cold storage

stella proof verify

Verify a proof bundle.

stella proof verify [OPTIONS]

Options

OptionDescriptionDefault
--bundle-id <HASH>Proof bundle ID (sha256:…)
--bundle <PATH>Local proof bundle file
--offlineSkip Rekor verificationfalse
--skip-rekorAlias for --offlinefalse
--check-rekorForce Rekor verificationfalse
--trust-anchor <PATH>Trust anchor fileSystem default
--public-key <PATH>Public key file
--self-containedUse embedded trust anchorsfalse
--verboseShow detailed verificationfalse
--check <CHECK>Verify specific check onlyAll

Verification Checks

CheckDescription
signatureValidDSSE signature verification
idRecomputedContent-addressed ID match
merklePathValidMerkle tree construction
rekorInclusionTransparency log entry

Examples

# Verify online
stella proof verify --bundle-id sha256:proof123...

# Verify offline
stella proof verify --bundle proof.zip --offline

# Verify with specific trust anchor
stella proof verify --bundle proof.zip --offline --trust-anchor anchors.json

# Verify specific check
stella proof verify --bundle-id sha256:proof123... --check signatureValid

stella proof download

Download proof bundle.

stella proof download [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan IDRequired
--root-hash <HASH>Specific proof root hashLatest
--output <PATH>Output file pathproof-{scanId}.zip
--allDownload all proofs for scanfalse
--output-dir <PATH>Output directory (with --all).

Examples

# Download latest proof
stella proof download --scan-id $SCAN_ID --output proof.zip

# Download specific proof
stella proof download --scan-id $SCAN_ID --root-hash sha256:proof123... --output proof.zip

# Download all proofs
stella proof download --scan-id $SCAN_ID --all --output-dir ./proofs/

stella proof export

Export proof bundle with additional data.

stella proof export [OPTIONS]

Options

OptionDescriptionDefault
--scan-id <ID>Scan IDRequired
--portableCreate self-contained portable bundlefalse
--include-manifestInclude scan manifesttrue
--include-chainInclude full proof chainfalse
--include-trust-anchorsInclude trust anchor keysfalse
--output <PATH>Output file pathRequired

Examples

# Export standard bundle
stella proof export --scan-id $SCAN_ID --output proof-bundle.zip

# Export portable bundle (for offline verification)
stella proof export --scan-id $SCAN_ID --portable --include-trust-anchors --output portable.zip

# Export with full chain
stella proof export --scan-id $SCAN_ID --include-chain --output full-bundle.zip

stella proof inspect

Inspect proof bundle contents.

stella proof inspect [OPTIONS]

Options

OptionDescriptionDefault
--bundle <PATH>Proof bundle fileRequired
--output-dir <PATH>Extract to directory
--show-manifestDisplay manifestfalse
--show-proofDisplay proof nodesfalse
--show-metaDisplay metadatafalse

Examples

# List bundle contents
stella proof inspect --bundle proof.zip

# Extract and inspect
stella proof inspect --bundle proof.zip --output-dir ./inspection/

# Show manifest
stella proof inspect --bundle proof.zip --show-manifest

Common Options

Authentication

OptionDescription
--token <TOKEN>OAuth bearer token
--token-file <PATH>File containing token
--profile <NAME>Use named profile

Output

OptionDescription
--quietSuppress non-error output
--verboseEnable verbose output
--debugEnable debug logging
--no-colorDisable colored output

Connection

OptionDescription
--endpoint <URL>Scanner API endpoint
--timeout <DURATION>Request timeout (e.g., 30s, 5m)
--insecureSkip TLS verification (dev only)

Environment Variables

VariableDescriptionEquivalent Option
STELLA_TOKENOAuth token--token
STELLA_ENDPOINTAPI endpoint--endpoint
STELLA_PROFILEProfile name--profile
STELLA_OFFLINEOffline mode--offline
STELLA_TRUST_ANCHORTrust anchor path--trust-anchor

Exit Codes

CodeMeaning
0Success
1General error
2Invalid arguments
3Authentication failed
4Resource not found
5Verification failed
6Network error
10Timeout