Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
escrow
command
|
|
|
escrow-cli
command
|
|
|
escrow-cli/tui
Package tui implements `escrow-cli tui`, an interactive terminal dashboard that reads the running proxy's authenticated API (with an offline event-log fallback handled in run.go).
|
Package tui implements `escrow-cli tui`, an interactive terminal dashboard that reads the running proxy's authenticated API (with an offline event-log fallback handled in run.go). |
|
internal
|
|
|
accesslog
Package accesslog provides a ring-buffer server access log for the dashboard.
|
Package accesslog provides a ring-buffer server access log for the dashboard. |
|
alerts
Package alerts dispatches webhook notifications for policy block events.
|
Package alerts dispatches webhook notifications for policy block events. |
|
allow
Package allow manages a persisted allow-list of package versions that bypass all policy checks.
|
Package allow manages a persisted allow-list of package versions that bypass all policy checks. |
|
block
Package block manages a persisted block-list of package versions that are always denied.
|
Package block manages a persisted block-list of package versions that are always denied. |
|
cache
Package cache defines the Cache interface and provides disk, memory, and S3 backends for storing proxied package artifacts and metadata.
|
Package cache defines the Cache interface and provides disk, memory, and S3 backends for storing proxied package artifacts and metadata. |
|
cireport
Package cireport provides a summary endpoint for CI pipeline integration, returning allow/block stats for the current run.
|
Package cireport provides a summary endpoint for CI pipeline integration, returning allow/block stats for the current run. |
|
config
Package config handles escrow's TOML configuration: loading, validation, default generation, runtime access, and live-reload support.
|
Package config handles escrow's TOML configuration: loading, validation, default generation, runtime access, and live-reload support. |
|
dashboard
Package dashboard implements the web-based operator console: authentication, live SSE event stream, allow/block management, settings, cache controls, and package inventory views.
|
Package dashboard implements the web-based operator console: authentication, live SSE event stream, allow/block management, settings, cache controls, and package inventory views. |
|
dlstats
Package dlstats tracks per-version download counts and timestamps for the dashboard.
|
Package dlstats tracks per-version download counts and timestamps for the dashboard. |
|
egress
Package egress implements a forward proxy for Docker build protection, with SSRF-safe DNS resolution, allow/block policy, and per-IP rate limiting.
|
Package egress implements a forward proxy for Docker build protection, with SSRF-safe DNS resolution, allow/block policy, and per-IP rate limiting. |
|
egresslog
Package egresslog provides a rotating access log for the egress proxy, recording allowed and blocked outbound connections.
|
Package egresslog provides a rotating access log for the egress proxy, recording allowed and blocked outbound connections. |
|
eventlog
Package eventlog provides a structured event ring buffer for policy decisions, with optional JSONL persistence and SSE fan-out for the dashboard live stream.
|
Package eventlog provides a structured event ring buffer for policy decisions, with optional JSONL persistence and SSE fan-out for the dashboard live stream. |
|
gate
Package gate implements the query-parameter gate, a lightweight mechanism for wrapping upstream metadata responses with escrow's policy headers.
|
Package gate implements the query-parameter gate, a lightweight mechanism for wrapping upstream metadata responses with escrow's policy headers. |
|
handler/cargo
Package cargo implements the Cargo sparse registry protocol proxy with age-gated and policy-filtered crate index responses.
|
Package cargo implements the Cargo sparse registry protocol proxy with age-gated and policy-filtered crate index responses. |
|
handler/composer
Package composer implements the Composer/Packagist v2 metadata proxy with age-gated and policy-filtered version lists.
|
Package composer implements the Composer/Packagist v2 metadata proxy with age-gated and policy-filtered version lists. |
|
handler/gomod
Package gomod implements the Go module proxy protocol (GOPROXY) with age-gated and policy-filtered module listings, info, mod, and zip responses.
|
Package gomod implements the Go module proxy protocol (GOPROXY) with age-gated and policy-filtered module listings, info, mod, and zip responses. |
|
handler/maven
Package maven implements the Maven 2 repository layout proxy with age-gated and policy-filtered metadata and artifact responses.
|
Package maven implements the Maven 2 repository layout proxy with age-gated and policy-filtered metadata and artifact responses. |
|
handler/npm
Package npm implements the npm registry proxy with age-gated, policy-filtered manifest responses and tarball caching.
|
Package npm implements the npm registry proxy with age-gated, policy-filtered manifest responses and tarball caching. |
|
handler/nuget
Package nuget implements the NuGet v3 protocol proxy with age-gated and policy-filtered registration, version list, and package download responses.
|
Package nuget implements the NuGet v3 protocol proxy with age-gated and policy-filtered registration, version list, and package download responses. |
|
handler/pypi
Package pypi implements the PyPI Simple API + JSON API proxy with age-gated and policy-filtered package listings and artifact caching.
|
Package pypi implements the PyPI Simple API + JSON API proxy with age-gated and policy-filtered package listings and artifact caching. |
|
logfile
Package logfile holds shared helpers for the append-only JSONL observability logs (eventlog, egresslog).
|
Package logfile holds shared helpers for the append-only JSONL observability logs (eventlog, egresslog). |
|
metrics
Package metrics exposes Prometheus metrics for escrow's proxy, cache, upstream, egress, and health endpoints, and provides a /metrics handler and /healthz handler.
|
Package metrics exposes Prometheus metrics for escrow's proxy, cache, upstream, egress, and health endpoints, and provides a /metrics handler and /healthz handler. |
|
pkgname
Package pkgname provides ecosystem-specific package name normalization and validation.
|
Package pkgname provides ecosystem-specific package name normalization and validation. |
|
pkgref
Package pkgref provides helpers for splitting and joining "name@version" package references.
|
Package pkgref provides helpers for splitting and joining "name@version" package references. |
|
policy
Package policy implements the decision engine that applies trust signals (age, OSV, publisher, popularity) to package versions and returns an allow/warn/block verdict.
|
Package policy implements the decision engine that applies trust signals (age, OSV, publisher, popularity) to package versions and returns an allow/warn/block verdict. |
|
rescan
Package rescan continuously re-evaluates previously downloaded packages against current policy, flagging newly vulnerable versions for operator review.
|
Package rescan continuously re-evaluates previously downloaded packages against current policy, flagging newly vulnerable versions for operator review. |
|
ringbuf
Package ringbuf provides a lock-free ring buffer for high-throughput, bounded-size event storage.
|
Package ringbuf provides a lock-free ring buffer for high-throughput, bounded-size event storage. |
|
server
Package server wires the HTTP server, TLS, graceful shutdown, middleware stack, and route mounting for the escrow proxy and its dashboard.
|
Package server wires the HTTP server, TLS, graceful shutdown, middleware stack, and route mounting for the escrow proxy and its dashboard. |
|
staleserve
Package staleserve provides a middleware that serves stale cached metadata when the upstream is unreachable, within a configurable max-age window.
|
Package staleserve provides a middleware that serves stale cached metadata when the upstream is unreachable, within a configurable max-age window. |
|
trust
Package trust implements reputation signals for policy evaluation: package age, OSV vulnerability lookups, publisher account age, and download popularity spike detection.
|
Package trust implements reputation signals for policy evaluation: package age, OSV vulnerability lookups, publisher account age, and download popularity spike detection. |
|
upstream
Package upstream provides an HTTP client with retries, connection-pool metering, and error counting for upstream registry requests.
|
Package upstream provides an HTTP client with retries, connection-pool metering, and error counting for upstream registry requests. |
|
upstreamlog
Package upstreamlog provides a ring buffer for upstream registry request logs, recording status, latency, and ecosystem per request.
|
Package upstreamlog provides a ring buffer for upstream registry request logs, recording status, latency, and ecosystem per request. |
Click to show internal directories.
Click to hide internal directories.



