Skip to the content.

Full mirroring: following each registry ahead of client requests

The proxy is a pull-through cache: it fetches an artifact the first time a client asks for it, runs it through the admission gates and caches it. That leaves two gaps. The first client to ask for a new version waits for the fetch and every scan, including the LLM package scan, which can take minutes. And nothing is known about an upload until somebody installs it: a malicious version is examined only when a developer or a CI job has already asked for it.

Full mirroring closes both gaps. The proxy follows a registry, fetches each new upload as it appears and runs it through the same gates, so the verdict exists before the first install, and a disconnected site can be filled ahead of time (see air-gapped.md).

Whether a registry can be followed, and at what cost, depends on what it publishes. This page records that for every upstream type the proxy supports, checked against the live registries on 2026-11-15, and describes the engine that follows them:

The implementation status column says, per type, what its feed adapter follows; the configuration refuses full mirroring of a type nothing can follow: Docker Hub, Swift package registries, the Nix binary cache, generic upstreams and Git hosting (tier (d)), and the Terraform Registry (see its section). For those the proxy fetches ahead of time only three things: what tracked repositories pin (repositories.md), what an operator lists in a pre-warm manifest (air-gapped.md), and what predictive pre-warming guesses from past pulls (prewarm.md). The last of these tries the next patch and minor version numbers; a feed says what was actually published.

The four tiers

Every type is in one of four tiers, by the best way its registry offers to learn about new uploads:

Before mirroring a whole registry

Three things limit what “full” can mean. Each registry’s section below spells them out.

Running the full mirror

The full-mirror engine (internal/fullmirror) follows the registry of every upstream that enables fullMirror, and fetches each new file through the proxy’s own gated serve pipeline before any client asks for it. It needs a feed adapter for the upstream’s type (Feed adapters below). A type with nothing to follow is refused when the configuration loads, with the section of this page that says why:

config: upstream "hub": fullMirror.enabled: Docker Hub cannot be followed: its tier is (d), no
practical enumeration (see docs/full-mirroring.md#docker)

That holds for every tier-(d) type (docker, swift, nix, generic, git), which cannot be enumerated, and for terraform, whose listings would take a full pass for every new version and whose provider binaries live outside the registry.

Configuration

fullMirror:                    # shared by every mirrored upstream
  stateDir: /var/lib/pullthrough/fullmirror   # default <cache.dir>/fullmirror
  tenant: mirror               # who the mirror fetches as (default: the default tenant)
  roles: [mirror]              # access-control roles; required with auth.enabled
upstreams:
  npm:
    type: npm
    url: https://registry.npmjs.org
    fullMirror:
      enabled: true
      include: ["@acme/.*", "lodash", "react(-dom)?"]   # RE2, matched against the whole name
      exclude: ["@acme/internal-.*"]
      versions: latest         # "all" (the default) or "latest"
      latest: 3
      maxArtifactBytes: 268435456   # per file; 0 = no limit
      byteBudget: 107374182400      # in total; required
      concurrency: 2
      requestsPerSecond: 2
      pollInterval: 5m
      offPeak: {start: "22:00", end: "06:00", timezone: Europe/Berlin}
      dryRun: false
Setting Meaning
enabled Follow the registry. Refused for a type no feed adapter follows.
include, exclude RE2 patterns matched against the whole package name (lodash does not match lodash-evil). A package is mirrored when it matches an include pattern (or none is given) and no exclude pattern.
versions, latest all mirrors every version a change concerns. latest with latest: N mirrors the N newest versions of each package, in the ecosystem’s own version order where the proxy knows it (npm, cargo, pip, go, nuget, maven, rubygems), otherwise in the order the registry lists them. Yanked versions never count; pre-releases count only for a package that has no other version.
maxArtifactBytes The largest file fetched (0: no limit). A size the registry states is checked before anything is fetched; otherwise the cache fill is cut off at the limit and nothing is cached. Counted as skipped (too-large).
byteBudget Required. The most bytes the mirror adds to the cache from this upstream, in total. A file that does not fit in what is left is not fetched; the mirror then waits — its queue intact, the cursor where it was — until the budget is raised. (A file that fits once the other fetches in flight are done waits for them instead.) In flight at that moment, files of unknown size can take the total slightly past it.
concurrency Packages worked on at a time (default 2, at most 32).
requestsPerSecond Paces every request made to the upstream for the mirror — feed polls, version lists, file fetches (default 2).
pollInterval Time between two polls of a feed that has nothing more to give (default 5m, at least 10s).
offPeak A daily window (HH:MM bounds in an IANA time zone, default UTC; it may wrap midnight). Outside it the mirror neither polls nor fetches; a batch resumes where it stopped.
dryRun Poll the feed, apply every policy and check the cache, but fetch nothing: what would be fetched is counted as skipped (dry-run).

The configuration also refuses a full mirror with the in-memory cache (the cursor would outlive what it fetched), without a state directory when the cache is not a filesystem cache, and without fullMirror.roles when auth.enabled.

How it works

Status and controls

GET /admin/api/fullmirror/status reports the mirror overall and each upstream: the state (following, bootstrapping, paused, off-peak, budget-exhausted, backing-off, lockdown, standby, starting, error), the cursor and phase, the feed’s head and the lag behind it, the last and next poll, the batch still queued, the deferred queue and when its next file is due, the counters (packages mirrored, excluded, deleted; files fetched, refused by gate, failed, skipped by reason, deferred; retries), the budget spent, and the recent errors. ?upstream=<name> returns one upstream.

Endpoint Capability Step-up
GET /admin/api/fullmirror/status read —
POST /admin/api/fullmirror/pause {"upstream": "npm", "reason": "…"} (no upstream: every one) operate yes
POST /admin/api/fullmirror/resume {"upstream": "npm"} (no upstream: the global pause and every upstream’s) operate yes
POST /admin/api/fullmirror/resync {"upstream": "npm"} administer yes

The full mirror is instance-wide: a tenant-bound identity may read its status but not steer it, and reads it without what is not its business — the state directory, the mirror’s own tenant, operators’ names and pause reasons, cursors and feed heads, name patterns, and the words of the follower’s detail and of the recent errors. Pauses are persisted (they hold across restarts and on every replica); a resync forgets the upstream’s cursor and enumerates the registry again — the cache spares the refetch, the counters and the budget spent are kept. With webauthn.enforce the three controls need a fresh passkey step-up.

ptctl fullmirror status [--upstream npm] [--json]
ptctl fullmirror pause  [--upstream npm] [--reason "upstream incident"]
ptctl fullmirror resume [--upstream npm]
ptctl fullmirror resync --upstream npm

ptctl passes a step-up token given with --stepup-token (or PULLTHROUGH_STEPUP_TOKEN); without one, a protected control is refused with an explanation.

Metrics (pullthrough_fullmirror_*, per upstream): upstreams, leader, paused, state{state}, packages_total{outcome}, artifacts_total{outcome} (fetched, refused, failed, skipped), skipped_total{reason}, refused_total{gate}, fetched_bytes_total, retries_total, polls_total{result}, queued, deferred, deferrals_total, in_flight, lag, lag_seconds, last_poll_timestamp_seconds, budget_bytes, budget_used_bytes. The counters are the persisted tallies: they carry over restarts.

Audit events (full_mirror): paused, resumed, resync-requested (with the operator), resync, bootstrap-started, bootstrap-finished, cursor-reset, budget-exhausted, budget-raised, type-changed.

Backup. The state directory is a backup source (full-mirror). The leader rewrites its files every few seconds, so the backup copies each file once, while it builds the snapshot’s manifest, instead of failing on the change (backup-restore.md). A restored proxy continues from the restored cursors.

Feed adapters

Every registry of tiers (a), (b) and (c) except Terraform has a feed adapter: the change feeds of tier (a) since Task 190, the indexes of tier (b) and the listings of tier (c) since Task 191. The implementation-status column of the summary says what each one follows. They share these rules:

Options go under fullMirror.feed; an unknown key is refused when the configuration loads:

upstreams:
  crates:
    type: cargo
    url: https://index.crates.io
    fullMirror:
      enabled: true
      byteBudget: 107374182400
      feed:
        url: https://git.internal.example/cargo-index.git   # crates.io's is known; required for a private registry
        branch: main                                        # default: the repository's HEAD

Per type, what is followed, what is mirrored for each version, how private and self-hosted upstreams fare, and the options (every adapter also takes url):

Type Feed and cursor Mirrored per version Private and self-hosted upstreams Options
npm replicate.npmjs.com _changes from a sequence (one beyond update_seq, confirmed past the CDN, is a reset); _all_docs to start the tarball the packument names a CouchDB-backed registry at its own root; Verdaccio, Artifactory, Nexus and GitHub Packages serve no _changes: not followable unless url names a replica that does —
pip PyPI’s XML-RPC changelog from a serial; the PEP 691 project list (the 46 MB /simple/) to start every file of the version the simple page lists (sizes, upload time, yanked) another Warehouse as is; an index without XML-RPC is followed with mode: simple (it diffs every project’s _last-serial, the 46 MB list per changed poll — set a long pollInterval); in auto mode the follower switches to it once three polls in a row find XML-RPC missing; Artifactory, Nexus and devpi serve no serials: not followable mode (auto, xmlrpc, simple), settle (5m)
cargo the Git index’s trees, diffed between head commits the .crate a registry with a Git index, named by url; one that serves only a sparse index cannot be followed branch
go index.golang.org from a timestamp (records already reported at that instant are dropped); the whole index replayed to start .info, .mod and .zip of each tagged version; pseudo-versions are left to client pulls Athens’ /index under the upstream’s URL; goproxy.io and the other public GOPROXYs, Artifactory and Nexus have no index: url must name one —
nuget the catalog by commit timestamp, each batch ending at a commit boundary (a cursor beyond the last commit restarts the replay); the whole catalog replayed to start the .nupkg of each version the flat container lists (unlisted ones included) a feed whose service index names a Catalog/3.0.0; Artifactory, Nexus, Azure Artifacts and GitHub Packages name none: url must name a catalog index settle (10m)
rubygems the compact index /versions by Range requests from the end of a stored copy, checked against its digest (the monthly rewrite is diffed against the copy) every platform’s .gem of the version any server of the compact index as is (Gemstash, a rubygems.org mirror) —
composer Packagist’s changes.json from since (a resync restarts the enumeration); packages/list.json to start the dist archive of each tagged version (dev branches are not mirrored) Satis, Artifactory and Nexus have no change log: a Packagist-compatible site must be named by url —
hackage the index tarball’s tail by Range requests (the last entry’s header hash detects a replaced index); /packages/ to start the sdist, in the short form cabal requests; deprecated versions are marked yanked a hackage-server as is; a static mirror needs url (a hackage-server to follow) —
cpan the RECENT files from an epoch (a changed dirtymark restarts); 02packages.details.txt.gz to start every archive of the distribution its author’s CHECKSUMS lists; names are AUTHOR/Distribution a full CPAN mirror as is; minicpan, Pinto, Artifactory and Nexus have no RECENT files: url must name a full mirror —
julia the Pkg server’s registry snapshots, diffed: each new registry tree is read through the proxy and indexed the package tarball by uuid and git-tree-sha1; the binaries a package’s Artifacts.toml names are not followed PkgServer.jl as is flavor (conservative, eager)
bazel bazel-central-registry’s trees, diffed between settled head commits MODULE.bazel, the source archive, and the patches and overlay files its source.json lists a registry with a Git history, named by url; a static tree without one cannot be followed branch, settle (10m)
conan conan-center-index’s trees, diffed between settled head commits; versions from the remote’s recipe search the files of each version’s latest recipe revision; binary packages per binaries Artifactory, Nexus and conan_server have no feed: url must name a repository laid out as conan-center-index branch, settle (1h), binaries (none, all, or settings such as os=Linux,arch=x86_64;os=Macos,arch=armv8)
homebrew homebrew-core’s Formula trees, diffed between settled head commits; for a mirror of the JSON API (mode: index), its /api/formula.json polled conditionally and diffed the bottles of the formula’s current version (the JSON API lists no other); disabled formulae are skipped a JSON API mirror (HOMEBREW_API_DOMAIN) is followed through its formula index; the Git history needs url, a homebrew-core clone mode (auto: git for formulae.brew.sh or with url, index otherwise; git, index), branch, settle (30m), platforms (bottle tags)
apt each suite’s InRelease (or Release), polled conditionally; the Packages indexes whose SHA-256 changed, read by hash and verified against it, diffed against a stored copy every .deb (.udeb, .ddeb) of the version at its Filename, with its size; versions with their epoch, in dpkg order aptly, reprepro, Pulp, Artifactory and Nexus archives as is suites (required), components (main), architectures (amd64; all reads binary-all where the Release lists it)
yum repodata/repomd.xml, polled conditionally; the primary (zstd, gzip or xz; size and checksum verified), streamed and diffed against a stored copy every .rpm of the version ([epoch:]version-release, rpm order), all architectures, with size and time one upstream is one repository root; Pulp, Artifactory, Nexus and createrepo_c trees as is —
helm index.yaml, polled conditionally and read as a stream, diffed against a stored copy the chart archive, at the path the backend’s rewritten index hands clients ChartMuseum, Artifactory, Nexus, GitLab and Harbor as is; an OCI upstream (setting oci) cannot be followed settle (15m)
conda each followed subdir’s repodata.json.zst (repodata.json where there is none), polled conditionally, diffed (an unchanged subdir copied, one that stops answering kept for three polls) every file of the version — every build, both formats — of the followed subdirs, with size and upload time Artifactory, Nexus, Quetz and prefix.dev channels as is; a 403 for a missing document counts as not found (S3) subdirs (noarch, linux-64, linux-aarch64, osx-64, osx-arm64, win-64), index (repodata, current), settle (30m)
cran src/contrib/PACKAGES.gz (PACKAGES where there is none), polled conditionally, diffed the current source tarball (archived versions and binaries are not followed) Posit Package Manager, Bioconductor, miniCRAN, Artifactory and Nexus as is settle (45m)
hex the signed /names and /versions, polled conditionally, /versions verified and diffed (/names gives the head time) the tarball; retired versions marked yanked organisation repositories as is; mini_repo and Artifactory need publicKey (or none) publicKey (hex.pm’s), repository (the name the index must carry)
maven a repository manager’s Maven Indexer index under .index/: the properties file polled conditionally, incremental chunks applied while the chain lasts, otherwise the full index streamed and diffed the classifier-less files the index lists and the POM; classifier files per classifiers Nexus and Artifactory repositories that publish an index; Maven Central (and copies of its index) is refused: its terms forbid mirroring it classifiers
openvsx sitemap.xml, diffed; the search listing by time, read at every poll, for a second publication on a day one .vsix per version and target platform, from each platform’s version listing any openvsx-server, also one in mirror mode platforms
jsr every page of api.jsr.io’s package list at each poll, diffed every module file of the version, from its manifest (file lists kept per package) no self-hosted JSR in common use: url names an API that lists packages as api.jsr.io does —
huggingface /api/models (or datasets, spaces) by last modification for each configured author and search, read in turn down to a high-water mark the files of the commit main is at; gated and private repositories skipped unless restricted is include Artifactory and Nexus remotes serve no listing: url names the Hub’s API author and/or search (one required; at most 32 authors), kind, files, restricted
puppet /v3/releases?sort_by=release_date down to a high-water mark and a day below it, by module; Bootstrap from the releases sorted by module the release tarball; deleted releases as yanked only the Forge itself; url names it for an Artifactory remote settle (90m; 3h30m in front of the Forge)
ansible the collection-version search by -pulp_created, filtered by distribution, down to a high-water mark and a day below it; Bootstrap from the collection index the collection artifact galaxy_ng and pulp_ansible distributions as is; Artifactory and Nexus need url naming a Galaxy NG; a Private Automation Hub cannot be followed settle (10m)
dart pub.dev’s Atom feed of the newest versions down to a high-water mark, the live package listing where the feed does not reach back (unchecked page boundaries looked at again later); Bootstrap from /api/package-names the archive of every version; retracted versions yanked other pub servers need url naming a site that serves pub.dev’s feed and listings settle (5m; 2h30m in front of pub.dev)

settle holds a feed back from changes younger than the period, where what the feed reports reaches the documents clients read — or the documents the backend verifies a file against — only minutes later: the registries built from a Git repository serve a commit’s content after it is pushed (bcr.bazel.build is uploaded after a push, ConanCenter promotes merged recipes and serves its revision pointers from a CDN, formulae.brew.sh is regenerated and cached), NuGet’s flat container lists a version minutes after the catalog commits it, and a PyPI simple page can reach the CDN after the changelog names the release. A change read before they have caught up would mirror the previous state — or, where the feed names the version, take the version for gone. 0 reports every change at once. For the Git-backed feeds the period runs from the commit time, which can be earlier than the moment the commit reached the branch (a merge queue stamps a commit when it queues it), so it is a lower bound; a commit stamped early atop one that has not settled waits for it. A Bootstrap lists the head without waiting, so a package whose metadata the enumeration reads within the period of a commit can miss that commit’s change; a resync catches it. Other feeds wait in their own terms: CPAN’s reports an upload once its author’s CHECKSUMS lists it (or after two hours), and Go’s keeps the versions the index announced in its last two batches — in the state directory, across restarts — while @v/list lags behind. The index feeds of Helm, conda and CRAN read a compressed index the backend does not verify against (it reads the plain index.yaml, repodata.json or PACKAGES, cached separately by the CDN): they report a file once it has been listed for the period, counted from the poll that first saw it on the registry’s clock (the response’s Date), and keep that table in the state directory. The listing feeds of pub.dev, the Puppet Forge and Galaxy hold back versions younger than the period; behind a cache of their own (an Artifactory remote, a pub.dev mirror) the default rises to the cache’s lifetime.

Choosing the poll interval. An index feed re-reads its whole index whenever it changed, so its cost per poll is the size of the index, and a busy registry changes at every poll: the catalog notes what conda-forge’s default subdirs and JSR’s package list cost at the default interval of five minutes. For those two, and for large Helm repositories and APT suites, a pollInterval of 30 minutes to an hour keeps the traffic reasonable at the price of later news. A listing feed is cheap when quiet (one request); the Hugging Face Hub’s rate limit caps requestsPerSecond (see its section).

Git-backed registries

The crates.io index, the Bazel Central Registry, conan-center-index and homebrew-core are followed through the Git repositories they are built from. The adapter speaks Git’s smart HTTP protocol (version 2) itself, over the upstream’s HTTP client, rather than running a git binary, which would bypass the egress policy and the TLS pins: the egress allowlist must admit the repository’s host (github.com for the public registries). It fetches trees only, never file contents. The first poll fetches the head commit’s trees in one depth-1, blob-less fetch; later polls fetch only the trees changed since the commit whose trees the follower stores (in its directory under the state directory), and diff the two trees — pruning every subtree whose id did not change. The difference does not depend on the history in between: the crates.io index squashes its history weekly, and a squashed or force-pushed branch is just another tree to compare. When an incremental fetch would cost more than a fresh snapshot (a follower days behind a busy index), or names a tree the store lacks, the adapter asks for a snapshot instead. Every object’s id is computed from its content as it is read, so each tree walked is the one the head commit names; packs are bounded in size, in what they inflate to, and in time.

Index-polling registries

The registries of tier (b) publish their whole current state, and the adapters of APT, YUM, Helm, conda, CRAN, Hex, Maven (where an index is published), Open VSX and JSR (whose alphabetical listing is read whole at every pass), and Homebrew’s JSON API, follow them by keeping a copy of that state and diffing each new one against it:

Listing registries

Puppet Forge, Ansible Galaxy, pub.dev and the Hugging Face Hub offer listings sorted newest first. Their adapters keep a high-water mark — the newest time they have reported — and the items they saw in a lookback window below it (ten minutes by default), and page each listing from its first page down to that window: everything newer than the mark is reported, and so is an item in the window that became visible late (its time stamp taken before it was committed). The newest item of the pass becomes the next mark — unless its time lies more than an hour ahead of the proxy’s clock: such an item is reported, but one bogus date must not hide everything published after it. A Bootstrap takes the mark from the first pages before it enumerates the registry (through a name list or a listing of every package), so what is published during the enumeration comes with the first poll. Offset-paged listings shift while they are read: an item published during a pass pushes the others down (an item seen twice is reported once), and pages overlap by a few items so that an item deleted during a pass does not hide its neighbour. A pass longer than one poll continues in the next, one page back. Listings cost the most requests per discovered upload: mind each registry’s rate limits (the table above).

Writing a feed adapter

A feed adapter implements fullmirror.Feed and registers itself with fullmirror.Register from an init function of the fullmirror package, so that every binary that validates configuration knows it; the entry’s Status in catalog_data.go must then say implemented or partial (a test holds the two together). The contract:

Most of that is done for an adapter whose registry fits a pattern. One for a complete index supplies an indexSource — how to read the index, conditionally, into records — and embeds indexFeed (pollfeed.go), which keeps the copies (snapshot.go), the cursor and the differences; one for a newest-first listing supplies a listingSource and embeds listingFeed (listfeed.go); one for a Git-built index uses gitIndex (gitfeed_tree.go). Large documents are read with kit.getStream and openContent (decompress.go), as streams, never whole.

An adapter also needs a row in the end-to-end suite, internal/e2e/fullmirror/row_<type>.go (a test fails until it has one): the feed it follows, served in the registry’s own format in front of the LLM package-scan suite’s stub registry for the type. Through the real binary the suite publishes packages on the stub and asserts that the mirror fetches them unasked, that the LLM package scan judges each one on its way into the cache (the malicious one refused), that the status counts and the download log say so, and that a restarted mirror continues from its cursor (testing.md).

Full scan

A full mirror runs every file it fetches through the admission gates, the LLM package scan included. That leaves three holes. The gate’s scan slots, its queue and its budget are shared with the clients’ pulls, so a mirror catching up on a registry gets scanner-busy or budget-exhausted back, and under failMode: open the file is cached without a verdict. The cache also holds what clients pulled before the gate was switched on, or while it could not judge (provider down, budget spent). And a verdict is only current for the model and prompt that produced it. The full scan (Task 192, internal/fullscan) closes all three. Every artifact in the cache of an upstream in its scope gets a current verdict of the LLM gate, and has passed every admission gate. A malicious one is refused (and quarantined) before any client asks for it.

Scope and configuration

llmPackageScan:
  enabled: true                # the full scan reuses the gate: provider, model, action, limits
  action: quarantine
fullScan:
  enabled: false               # true: every cached artifact of every upstream the gate covers
  concurrency: 2               # the full scan's own scans at a time
  budget:
    dailyUsd: 50               # US dollars per UTC day; 0 = no daily ceiling
    monthlyUsd: 500            # per UTC month; at least one ceiling is required
  sweepInterval: 6h            # the backfill sweep (default 6h, at least 1m)
  maxArtifacts: 1000000        # bound on the tracked inventory
upstreams:
  npm:
    type: npm
    url: https://registry.npmjs.org
    fullMirror:
      enabled: true
      fullScan: true           # this upstream's cache is fully scanned
      byteBudget: 107374182400
Setting Meaning
upstreams.<name>.fullMirror.fullScan Keep this upstream’s cached artifacts under a current verdict. It works without enabled: the cache of an upstream that is not mirrored is scanned all the same. Refused when llmPackageScan.excludeUpstreams names the upstream or the gate does not cover its ecosystem.
fullScan.enabled The global switch: every cached artifact of every upstream the gate covers (llmPackageScan.include / exclude / excludeUpstreams).
fullScan.concurrency The full scan’s scans at a time (default 2, at most 32). It is held below llmPackageScan.maxConcurrent, which must be at least 2, so that at least one of the gate’s scan slots is always left to clients’ pulls.
fullScan.budget.dailyUsd, monthlyUsd What the full scan’s model calls may cost per UTC day and per UTC month. At least one is required. The full scan’s own scans are paid from this budget, not from llmPackageScan.budget (see Budget).
fullScan.sweepInterval Time between two backfill sweeps of the cache (default 6h). A sweep also runs when a replica comes to lead.
fullScan.maxArtifacts The most artifacts the full scan tracks (default 1,000,000). Beyond it an artifact is still judged by the gate when a client pulls it.

The full scan needs llmPackageScan.enabled (with maxConcurrent at least 2), a budget, and a state directory: it keeps its state in fullscan/ under the full mirror’s (fullMirror.stateDir, by default <cache.dir>/fullmirror). With auth.enabled it reads the cache with fullMirror.roles, like the mirror.

Where the artifacts come from

The queue

Every artifact without a current verdict waits in a persistent priority queue:

  1. client: an artifact a client pulled that the gate could not judge on the pull, or one an operator asked to re-scan by path;
  2. mirror: an artifact the full mirror fetched without a verdict;
  3. backfill: what the sweep found, oldest cached first, and every artifact whose verdict a new scan signature made stale.

A worker puts the artifact before the gate with Gateway.SystemScan, as the tenant whose cache namespace holds it. The verdict cache, the gate’s budget, its breaker and its limits apply as for any scan, and bytes that already have a verdict cost no model call. The scans a client pull starts come first: the full scan starts a scan of its own only while no scan waits for one of the gate’s slots, and runs at most fullScan.concurrency at a time, at least one slot fewer than the gate has. An attempt that fails is retried with backoff (30s, doubling, at most an hour); after five failed attempts the artifact is counted as an error until the next sweep queues it again. A spent gate budget (llmPackageScan.budget) holds the queue for 15 minutes. A busy scanner or an open breaker costs no attempt.

A gate pass. Once the gate admits the bytes of an artifact the backfill found, the full scan puts the cached object through every admission gate: a SystemFetch with CacheOnly, which fetches and serves nothing. A miss answers 404 without asking the upstream, and nothing is remembered of it. A gate whose verdict the object predates judges it now: one switched on since, or a malware feed that lists it now. Its own action applies, with its audit record, alert and findings, as on a pull. The pass is not a download. It is not in the download log, nothing is metered, attested or reported as demand, and a refusal opens no break-glass review. Three gates are not part of a gate pass: the sbom-diff and publisher-continuity gates judge a version against the history of what was pulled, and the rebuild verifier queues a rebuild per pull. A re-check of a cached artifact is no new observation, and an old version re-checked must not become the newest in their history. A file the full mirror fetched passed every gate at fetch time and gets no gate pass. An operator’s re-scan runs one again.

Rules the gate keeps hold here too.

The action ladder, before any client asks

A reading is enforced as the gate enforces it on a pull (Gateway.EnforceLLMScan):

Gate reading annotate block quarantine
malicious kept, flagged evicted, refused evicted, refused
suspicious kept, flagged kept, flagged evicted, held for review
benign kept kept kept
unscanned the fail mode, as on a pull: refused under closed, nothing evicted    

Bytes a release pins are kept, for forensics, and refused all the same. An operator’s break-glass grant releases exactly the bytes it names. Each flagged reading raises the usual events:

A mirrored file’s findings document is the fetch’s own. The gate’s deferred reading is audited as llmpkgscan:deferred:<code> with deferred: full-scan. The quarantined artifact stays in the inventory as the record of the verdict, for 30 days. A client’s later pull is refused from the verdict cache, at no model cost.

Budget, pauses and re-scans

Endpoint Capability Step-up
GET /admin/api/fullscan/status (?upstream=<name> for one) read —
POST /admin/api/fullscan/pause {"upstream": "npm", "reason": "…"} (no upstream: the whole full scan) operate yes
POST /admin/api/fullscan/resume {"upstream": "npm"} (no upstream: the global pause and every upstream’s) operate yes
POST /admin/api/fullscan/rescan {"upstream": "npm", "filter": "flagged", "path": "…"} administer yes

A re-scan calls the model again although the bytes have a verdict: of one upstream or every one, for the artifacts whose last reading matches the filter (all, malicious, suspicious, benign, flagged, unscannable, refused, not-applicable, error), or for the one artifact under path, which goes to the front of the queue. The new verdict replaces the stored one (for every tenant), and the artifact gets a gate pass again. A reading the verdict cache gives a client meanwhile does not stand in for the requested model call. A re-scan that changes an artifact’s reading is audited (verdict-changed, from and to), so a malicious verdict that turns benign on a second reading does not go unnoticed. The full scan is instance-wide: a tenant-bound identity may read its status (the figures, without the paths of single artifacts, the operators’ names or error texts) but not steer it.

ptctl fullscan status [--upstream npm] [--json]
ptctl fullscan pause  [--upstream npm] [--reason "monthly bill review"]
ptctl fullscan resume [--upstream npm]
ptctl fullscan rescan [--upstream npm] [--filter flagged] [--path /left-pad/-/left-pad-1.3.0.tgz]

Status, metrics and audit

GET /admin/api/fullscan/status reports, per upstream:

Overall it adds the figures per tenant (tenants): those of the artifacts each tenant pulled, an artifact several tenants pulled counting for each of them. The full scan records, for each tracked artifact, the tenant whose pull put it in the cache and the other tenants whose pulls (or the mirror’s fetches) it noted later — up to 64 of them, the gate’s own bound on the tenants a verdict is shown to; a tenant beyond it is left out of its scoped views, as the gate leaves it out. A replica that does not lead passes on, once per artifact and tenant, who pulled an artifact it served. When other bytes appear under an artifact’s key, who pulled the old ones is forgotten. The figures per tenant are recounted at most every 15 seconds.

A tenant-bound identity reads the instance’s figures and its own tenant’s, and the malicious verdicts on artifacts its tenant pulled — not other tenants’ figures, the verdicts on their pulls, who else pulled an artifact, the oldest unscanned artifact’s path, operators’ names and reasons, or error texts.

Overall it shows the state (scanning, idle, waiting, paused, budget-exhausted, lockdown, standby, starting, error), the queue per class, the spend per window against its ceiling, the scan signature and the last sweep. A replica that does not lead shows the figures the leader last published.

Metrics (pullthrough_fullscan_*): upstreams, leader, paused{upstream}, state{state}, artifacts{upstream,status}, oldest_unscanned_seconds{upstream}, queue{priority}, in_flight, scans_total{upstream,result} (model, cached), verdicts_total{upstream,verdict}, unscanned_total{upstream,code}, enforced_total{upstream,outcome} (refused, evicted), rescans_total{upstream,reason}, errors_total{upstream}, spend_usd{window}, budget_usd{window}, budget_exhausted, upstream_spend_usd_total{upstream}, untracked{upstream}, last_sweep_timestamp_seconds, dropped_total. The counters are the persisted tallies: they carry over restarts.

Audit events (full_scan): paused, resumed, rescan-requested (with the operator), rescan, rescan-version, verdict-changed, budget-exhausted, state-reset. The gate’s decisions on the full scan’s readings are policy_decision records (llmpkgscan:<code>, source: full-scan).

How it runs

In the console

The admin console’s Mirroring tab reads both statuses: per upstream the feed tier, the mirror’s and the scan’s state, the lag behind the feed’s head and the cursor, the last poll, the files queued, fetched, failed and refused, the artifacts scanned against those the gate examines, the malicious and suspicious verdicts, the backlog and the LLM spend — and the full scan’s spend of the day and of the month against its budget. An upstream’s detail panel lists its recent errors and malicious verdicts, each verdict linked to the dossier of its coordinate. The pause, resume, resync and re-scan controls are offered only to the identities the admin API lets use them (above), and run the passkey step-up where it is enforced. The Security Ops dashboard has a summary tile, and the self-service portal shows a developer the full scan of their own tenant’s pulls. A walkthrough with screenshots is in admin-ui-walkthrough.md.

Mirroring tab

Private and self-hosted upstreams

When an upstream is Artifactory, Nexus or a self-hosted server rather than the public registry, the public feed does not apply. A remote (proxy) repository answers clients’ requests, but neither Artifactory nor Nexus documents relaying its upstream’s change feed. What they offer instead (Artifactory’s AQL with a modified filter, Nexus’s components API and repository webhooks) enumerates only what that server hosts or has cached. A few self-hosted servers do have a feed of their own: devpi replication, the /index of Athens, openvsx-server’s mirror mode, and GitLab and Gitea system hooks. Each section says what is known for its ecosystem.

How the entries were checked

Every feed carries a Checked live line: a request made on 2026-11-15 from a single host, saying what was asked and what came back. Most requests were a HEAD, a byte range or a few KB. Where a figure needed a whole document (a sitemap, a name list, a channel’s store paths, Fedora’s size listing, Hackage’s index), that document was read once. The downloaded data was kept in a throwaway directory, outside the repository. Rate limits, terms and sizes come from the sources listed under each entry. “Not documented” means nothing was found in the vendor’s documentation, not that the feature is proven absent. Registries change, so re-check an entry before relying on one of its numbers.

Three findings concern this proxy itself:

Summary

One row per upstream type. How to follow it names the type’s best feed; every feed, with its endpoint and the live check that confirmed it, is in the type’s section below. Implementation status is filled in as the full-mirror engine and its feed adapters land.

Type Registry Tier How to follow it Cursor Full-mirror size Implementation status
ansible galaxy.ansible.com (c) paginated listings only collection versions, newest first page 4,686 collections, 54,484 collection versions; 37,920 roles implemented (Task 191: follows the collection-version search (order_by=-pulp_created, distribution_base_path = the upstream’s repository) down to a high-water mark and a day below it, versions younger than feed option settle held back (default 10m), after enumerating the repository’s collection index; a search that lists nothing while the index lists collections fails. Versions from the versions list read from the registry (the pipeline takes no query). Roles are not followed. Feed option url names a Galaxy NG for an Artifactory or Nexus remote.)
apt / deb deb.debian.org/debian (b) complete index to poll and diff Release and Packages indexes validator Debian: 5,451 GB for every architecture, about 1,340 GB for amd64 + all + source; Ubuntu: about 3.6 TB implemented (Task 191: polls each suite’s InRelease (or Release) conditionally and reads, by hash and verified, the Packages indexes whose SHA-256 changed, diffing a stored copy; versions and files from the index itself (dpkg order). Feed options suites (required), components (default main), architectures (default amd64; all reads binary-all where the Release lists it, and is skipped where it does not, as on Ubuntu), url (another archive root). The apt backend verifies a .deb only against a Packages file it served by name: mirrored .debs are cached without that check (see the findings below).)
bazel bcr.bazel.build (a) incremental change feed BCR commits commit metadata only; the archives live at their upstream URLs implemented (Task 190: diffs the trees of bazel-central-registry’s head commits once they have settled (feed option settle, default 10m), one change per version directory; versions from metadata.json read through the proxy, each with MODULE.bazel, the source archive and the patches and overlay files its source.json lists. Another registry needs feed option url, its Git repository.)
cargo index.crates.io (a) incremental change feed Git index commits commit 378,819 crates; more than 100 GB of crate files already in 2022 implemented (Task 190: diffs the trees of the Git index’s head commits (a blob-less smart-HTTP fetch, unaffected by the weekly squash); versions from the sparse index read through the proxy. A private registry needs feed option url, its Git index.)
composer repo.packagist.org (a) incremental change feed metadata changes timestamp 481,164 packages, 6,077,934 versions (metadata only) implemented (Task 190: follows Packagist metadata/changes.json from the stored since (a resync means a new enumeration from packages/list.json), ~dev documents skipped; versions from /p2/<vendor>/<package>.json read through the proxy, metadata older than its update retried. A repository other than Packagist needs feed option url, a Packagist-compatible site.)
conan center2.conan.io (a) incremental change feed conan-center-index commits commit 9,729 recipe versions of 1,943 libraries; binaries not counted implemented (Task 190: diffs the trees of conan-center-index’s head commits once they have settled (feed option settle, default 1h), one change per recipe; versions from the remote’s recipe search, each with the files of its latest recipe revision read through the proxy, binary packages per feed option binaries (none, all, or settings to match). Another remote needs feed option url, a Git repository laid out as conan-center-index.)
conda conda.anaconda.org/conda-forge (b) complete index to poll and diff repodata per subdir validator more than 3 TB (all subdirs; an old vendor figure) implemented (Task 191: polls each followed subdir’s repodata.json.zst (repodata.json where there is none, the .zst asked for again at every poll; a 403 counts as not found, as S3 answers) conditionally and diffs it against a stored copy, an unchanged subdir copied rather than read again, one that stops answering kept for 3 polls; a file is reported once listed for feed option settle (default 30m, from the poll that first saw it), so that the plain repodata.json the backend verifies against lists it. Versions from the stored copy, each with every file (every build, both formats) of the subdirs followed. Feed options subdirs (default noarch, linux-64, linux-aarch64, osx-64, osx-arm64, win-64), index (repodata, or current: current_repodata.json, the latest versions only), settle and url (another channel).)
cpan cpan.metacpan.org (a) incremental change feed RECENT files timestamp about 40 GB (all of CPAN); about 1 GB for the latest releases only implemented (Task 190: follows RECENT-1h.json from the stored epoch (a longer interval file when the cursor is older than its minmax.min; a changed dirtymark, or a cursor no file within the read bound reaches, means a new enumeration) after listing what 02packages.details.txt.gz indexes; an upload is reported once its author directory’s CHECKSUMS is rewritten, and its versions come from that CHECKSUMS read through the proxy. Names are AUTHOR/Distribution. Feed option url names a full mirror for a minicpan or Pinto upstream.)
cran cloud.r-project.org (b) complete index to poll and diff PACKAGES index validator about 410 GB (sources, archive and binaries) implemented (Task 191: polls src/contrib/PACKAGES.gz (PACKAGES where there is none, PACKAGES.gz asked for again at every poll; a 403 counts as not found) conditionally and diffs it against a stored copy; a version is reported once listed for feed option settle (default 45m, from the poll that first saw it; the version it supersedes is kept meanwhile), so that the plain PACKAGES the backend verifies against lists it. Each package’s current version from the stored copy, with its source tarball where R downloads it. Archived versions (listed only in Meta/archive.rds) and Windows/macOS binaries are not followed. Feed options settle and url (another repository root).)
dart / pub pub.dev (c) paginated listings only packages by publish time page 95,662 packages; bytes not published implemented (Task 191: follows the Atom feed of the 100 newest versions down to a high-water mark, and the live /packages.json listing where the feed does not reach back (the document of a page’s last package tells where to stop; a page boundary pub.dev’s instances may disagree on is kept in the cursor and looked at again 35 minutes later), by package name, versions younger than feed option settle held back (default 5m; 2h30m when the upstream is a server in front of pub.dev); Bootstrap lists /api/package-names and the feed’s packages. Versions from the package document read through the proxy, retracted ones as yanked. Another pub server needs feed option url, a site that serves pub.dev’s feed and listings.)
docker registry-1.docker.io (d) no practical enumeration tags of a named repository (partial) validator not published not started (no registry-wide feed to follow)
generic operator-defined (d) no practical enumeration — — operator-defined not applicable (operator-defined upstream)
git github.com (d) no practical enumeration refs of a named repository (partial) commit not applicable partial (named repositories are followed for the commit scan: scanning.watch)
go proxy.golang.org (a) incremental change feed module index timestamp 71.4 million module versions checksummed; no byte total published implemented (Task 190: replays the module index from its start, then follows it by timestamp (the records already reported at the stored instant are dropped); tagged versions only, pseudo-versions are left to client pulls. Versions from @v/list read through the proxy. Other upstreams are taken to serve Athens’ /index; feed option url names another index.)
hackage hackage.haskell.org (a) incremental change feed index tarball tail byte offset 20.4 GB of package tarballs (155,731 package versions); the index is 1.05 GB implemented (Task 190: follows 01-index.tar with Range requests from the stored end (the hash of the last entry’s header detects a replaced index), a change per new package.json, after listing /packages/; versions from /package/{name}/preferred, read from the repository (the backend serves neither JSON document), sdists in the short form clients request. Feed option url names a hackage-server for a static mirror.)
helm charts.bitnami.com/bitnami (b) complete index to poll and diff repository index.yaml validator per repository (Bitnami’s index alone is 27.6 MB) implemented (Task 191: polls the repository’s index.yaml conditionally (ETag/Last-Modified, redirects followed) and diffs it against a stored copy, one record per chart version (created left out: an index regenerated without --merge re-reports nothing); the index is read as a stream (one of at most 8 MiB the streaming reader does not handle is read whole with yaml.v3, a larger one is refused). A version is reported once listed for feed option settle (default 15m, from the poll that first saw it), so that the index the backend reads lists it too. Versions from the stored copy, each with its archive at the path the backend’s rewritten index hands clients. Feed option url names another copy of the index; an OCI upstream (setting oci) cannot be followed.)
hex repo.hex.pm (b) complete index to poll and diff names and versions validator not published implemented (Task 191: polls the signed /names and /versions with conditional requests and diffs /versions, one change per version added, retired or gone; versions and their tarballs from the copy, retired versions yanked. /versions must verify (hex.pm’s key, which also signs its organisations’ repositories; feed option publicKey names another, or none) and name the repository (hexpm, an organisation’s own name; feed option repository); /names gives only the head time. Feed option url names another repository.)
homebrew formulae.brew.sh (a) incremental change feed homebrew-core commits commit not published implemented (Task 190: diffs the Formula trees of homebrew-core’s head commits once they have settled (feed option settle, default 30m); the current version from the formula JSON read through the proxy, one artifact per bottle (feed option platforms keeps some; disabled formulae are skipped). Task 191: a mirror of the JSON API is followed through its formula index, /api/formula.json, polled conditionally and diffed, one change per version added or rebottled; the version and its bottles from the copy of the index, at the paths the backend rewrites them to (feed option mode: auto, the default, git or index).)
huggingface huggingface.co (c) paginated listings only repositories by last modification page more than 20 PB partial (Task 191: follows the listing by last modification (/api/models, or datasets or spaces per feed option kind) for the scope feed options author (comma-separated, at most 32, one listing each, read in turn down to the mark’s lookback window) and/or search name — the whole Hub is not enumerated; hf.co’s listing is read at huggingface.co. The files of the commit main is at, from the metadata read through the proxy (feed option files keeps some; gated and private repositories are skipped unless feed option restricted is include). Feed option url names the listing API for an upstream that is not the Hub.)
jsr jsr.io (c) paginated listings only package list page 23,228 packages; bytes not published implemented (Task 191: reads every page of the management API’s package list at each poll, to its first empty page, into a copy diffed against the last (a publish moves the version count, not updatedAt), changes by package; versions from meta.json and their module files from each version’s manifest, read through the proxy (every package’s file lists kept: a publish reads the new version’s manifest only). Another upstream needs feed option url, an API that lists packages as api.jsr.io does.)
julia pkg.julialang.org (a) incremental change feed General registry commits commit not published implemented (Task 190: diffs the Pkg server’s registry snapshots (/registries in the flavour of feed option flavor, conservative or eager): each new registry tree is read through the proxy and its Registry.toml and Versions.toml files indexed in the state directory; versions from the stored index, package tarballs by uuid and git-tree-sha1. Package artifacts are not followed.)
maven repo1.maven.org/maven2 (b) complete index to poll and diff Maven Indexer index validator not published partial (Task 191: follows a repository manager’s Maven Indexer index (<url>/.index/): the properties file read conditionally, the chunks after the stored one applied to the stored copy while its chain lasts (a chunk gone or malformed, a full index older than the properties, or another classifiers selection makes it a full read), otherwise the full index streamed and diffed — also when the properties’ time stamp moved on a chain that lists no chunk (Task 194: a packer run without incremental chunks keeps the chain id and rewrites the full index alone); releases from the stored copy, each document standing for its file and its release’s POM (a POM alone for the main artifact its packaging names), classifiers per feed option classifiers, snapshots skipped. Maven Central itself is refused, by its host names (Google’s copies too) and at every read by its index id central or its chain id: its terms forbid mirroring it. Feed option url names another index directory.)
nix cache.nixos.org (d) no practical enumeration channel store paths (partial) validator 636 TB, more than 1 billion objects not started (no registry-wide feed to follow)
npm registry.npmjs.org (a) incremental change feed replication feed (_changes) sequence 4.6 million packages; no published byte total implemented (Task 190: follows _changes from the stored sequence (one beyond update_seq means a reset and a new enumeration) after listing _all_docs; versions from the packument read through the proxy. Feed option url names a CouchDB replica for a private registry.)
nuget api.nuget.org (a) incremental change feed catalog timestamp 594,190 packages, 14,044,198 versions; no byte total published implemented (Task 190: follows the catalog (Catalog/3.0.0 of the service index) by commit timestamp: the pages committed after the cursor, their newer leaves in commit order, each batch ending at a commit boundary and at commits older than feed option settle (default 10m: the flat container lists a version minutes after the catalog commits it); a cursor beyond the last commit (a rebuilt catalog) means a new replay from the first page. Versions from the flat container read through the proxy. Feed option url names a catalog index for a feed whose service index names none (Artifactory, Nexus, Azure Artifacts, GitHub Packages).)
openvsx open-vsx.org (b) complete index to poll and diff sitemap validator 21,414 extensions; bytes not published implemented (Task 191: polls the sitemap (conditionally, where the server sends validators) and diffs it, one change per extension whose date moved; the search listing by time, read at every poll, adds second publications on a day (a server re-dating every extension, as one in mirror mode does, is recognised). Versions from each target platform’s version listing, up to 2,000 a platform, past pre-release lines; one .vsix per version and platform (feed option platforms keeps some). Feed option url names another sitemap.)
pip pypi.org (a) incremental change feed XML-RPC changelog sequence 51.6 TB (every file of every release) implemented (Task 190: follows the XML-RPC changelog from the stored serial (one beyond changelog_last_serial means a reset and a new enumeration), rows older than feed option settle (default 5m: a release’s simple page can reach the CDN later), after listing the PEP 691 project list; feed option mode simple, the fallback where XML-RPC is missing, diffs every project’s _last-serial against a stored copy instead. Versions from the simple page read through the proxy; names are PEP 503-normalized. Feed option url names another Warehouse.)
puppet forgeapi.puppet.com (c) paginated listings only releases by date page 7,707 modules, 54,827 releases; about 3 GB (estimate) implemented (Task 191: follows /v3/releases?sort_by=release_date down to a high-water mark and a day below it, by module name, releases younger than feed option settle held back (default 90m: the CDN serves module documents up to an hour old; 3h30m when the upstream is a server in front of the Forge), after enumerating the modules from the same listing sorted by module; versions from the module document read through the proxy, deleted releases as yanked, premium and login-required modules only with credentials. Feed option url names the Forge for an Artifactory remote.)
rubygems rubygems.org (a) incremental change feed compact index /versions byte offset 198,697 gems; no byte total published implemented (Task 190: follows the compact index /versions with Range requests from the end of a stored copy (If-None-Match, Repr-Digest checked); a digest mismatch, a torn tail or another created_at (the monthly rewrite) fetches the whole file and diffs it against the copy. Versions from /info/<gem> read through the proxy, platform gems as files of their version. Feed option url names another compact-index base.)
swift tuist.dev/api/registry/swift (d) no practical enumeration Swift Package Index package list (partial) commit about 10,000 packages and 160,000 releases not started (no registry-wide feed to follow)
terraform registry.terraform.io (c) paginated listings only module listing page 7,761 providers, 24,770 modules; provider binaries are on GitHub not applicable (no feed adapter (Task 191): the listings name only each module’s and provider’s latest version, so a new version surfaces only in a full pass over both listings (about 330 requests) and a version list per changed entry, and provider binaries are GitHub release assets outside the registry; full mirroring is refused, and tracked repositories pin the providers their lock files name)
yum / rpm dl.fedoraproject.org/pub/fedora/linux (b) complete index to poll and diff repomd.xml and primary validator 4.7 TB for all of Fedora Linux; one release’s Everything/x86_64 tree about 250 GB, plus 145 GB of its updates implemented (Task 191: polls repodata/repomd.xml conditionally and, when its primary changed, streams the primary (zstd, gzip or xz; size and checksums verified) into a stored copy it diffs; versions ([epoch:]version-release, rpm order) and files from the primary itself. One upstream is one repository root; feed option url names another mirror of it.)

Types by tier

Tiers

Tier Meaning
(a) incremental change feed The registry publishes its changes in order; the follower stores a cursor and asks for what came after it. Cheap per poll, nothing is missed while the cursor stays valid.
(b) complete index to poll and diff The registry publishes its complete current state; the follower re-reads it (conditionally, or through a delta where one exists) and diffs it against its previous copy.
(c) paginated listings only The registry only answers paginated listings; the follower pages until it reaches what it has seen, or reads the whole listing when it is not sorted by time.
(d) no practical enumeration The registry cannot be enumerated; only what clients request, or a partial feed (one channel, the repositories one names), can be mirrored ahead of time.

Cursor kinds

Cursor What the follower stores
sequence an integer the registry assigns to every change, in order
timestamp the registry’s time stamp of the last change processed (never the follower’s clock)
commit a commit of the Git repository the registry is built from
byte offset the length of an append-only file already read; the rest comes with an HTTP Range request
validator the ETag, Last-Modified or digest of the index copy held, plus that copy to diff against
page a position in a listing (page, offset or opaque cursor) and the newest item already seen

Registries

ansible

Ansible Galaxy — upstream type ansible, registry https://galaxy.ansible.com. Tier (c) paginated listings only. Implementation: implemented (Task 191: follows the collection-version search (order_by=-pulp_created, distribution_base_path = the upstream’s repository) down to a high-water mark and a day below it, versions younger than feed option settle held back (default 10m), after enumerating the repository’s collection index; a search that lists nothing while the index lists collections fails. Versions from the versions list read from the registry (the pipeline takes no query). Roles are not followed. Feed option url names a Galaxy NG for an Artifactory or Nexus remote.).

Feeds

Rate limits. None documented; Galaxy sits behind Cloudflare and sent no rate-limit headers.

Terms of use. No mirroring clause found. Red Hat requires a requirements file when Automation Hub syncs from galaxy.ansible.com, “to prevent customers from syncing everything in galaxy” — a sign that full syncs are unwelcome.

Full-mirror size. 4,686 collections, 54,484 collection versions; 37,920 roles. Live counts on 2026-11-15. Roles are GitHub repositories, not files on Galaxy; collection bytes are not published.

Private and self-hosted upstreams. Private Automation Hub, galaxy_ng and pulp_ansible serve the same v3 API, and sync from Galaxy with a requirements file or (pulp_ansible 0.30 and later) sync_highest_versions. Artifactory has Ansible local/remote/virtual repositories and Nexus an Ansible Galaxy format; whether they answer the search endpoint is not documented.

Sources. pulp_ansible: collections · Automation Hub: requirements file for galaxy.ansible.com remotes (AAH-2280)

apt

Debian / Ubuntu APT archives — upstream type apt (also deb), registry https://deb.debian.org/debian. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls each suite’s InRelease (or Release) conditionally and reads, by hash and verified, the Packages indexes whose SHA-256 changed, diffing a stored copy; versions and files from the index itself (dpkg order). Feed options suites (required), components (default main), architectures (default amd64; all reads binary-all where the Release lists it, and is skipped where it does not, as on Ubuntu), url (another archive root). The apt backend verifies a .deb only against a Packages file it served by name: mirrored .debs are cached without that check (see the findings below).).

Feeds

Rate limits. None published for deb.debian.org.

Terms of use. Debian’s mirroring guide prescribes ftpsync over rsync from an upstream mirror (“Do not use your own scripts, and do not just use single-pass rsyncs”) and advises against service names that resolve to several addresses (its example is ftp.us.debian.org; the CDN name deb.debian.org is one too). A follower that polls one suite’s InRelease over HTTP is a cache, not what the guide calls a mirror.

Full-mirror size. Debian: 5,451 GB for every architecture, about 1,340 GB for amd64 + all + source; Ubuntu: about 3.6 TB. https://www.debian.org/mirror/size (updated daily, read 2026-11-15); Ubuntu’s mirror documentation (September 2025).

Private and self-hosted upstreams. A private APT repository (aptly, Pulp, Artifactory, Nexus) publishes the same Release/Packages layout for what it holds, so the same poll applies. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. Debian: setting up a mirror · Debian: mirror size · Ubuntu release team: mirrors

bazel

Bazel Central Registry (BCR) — upstream type bazel, registry https://bcr.bazel.build. Tier (a) incremental change feed. Implementation: implemented (Task 190: diffs the trees of bazel-central-registry’s head commits once they have settled (feed option settle, default 10m), one change per version directory; versions from metadata.json read through the proxy, each with MODULE.bazel, the source archive and the patches and overlay files its source.json lists. Another registry needs feed option url, its Git repository.).

Feeds

Rate limits. None documented for bcr.bazel.build; the Git feed and most source archives are on GitHub, whose unauthenticated limits apply.

Terms of use. None found. Bazel documents mirrors in bazel_registry.json and mirror_urls in source.json for mirroring source archives.

Full-mirror size. Metadata only; the archives live at their upstream URLs. The registry protocol stores no archives. Count: the directories under modules/; bytes: the archives every source.json names (not computed).

Private and self-hosted upstreams. A self-hosted registry is any static tree, Git repository or file:// path with the same layout — no listing either. Artifactory has a remote-only Bazel Modules repository; Nexus has no Bazel format.

Notes

Sources. Bazel registries · bazelbuild/bazel-central-registry

cargo

crates.io (Cargo) — upstream type cargo, registry https://index.crates.io. Tier (a) incremental change feed. Implementation: implemented (Task 190: diffs the trees of the Git index’s head commits (a blob-less smart-HTTP fetch, unaffected by the weekly squash); versions from the sparse index read through the proxy. A private registry needs feed option url, its Git index.).

Feeds

Rate limits. The crates.io API: at most one request per second, with a User-Agent that identifies the client (contact details recommended). The index and static.crates.io are CDN-served; no limits are published for them.

Terms of use. The data-access policy sends bulk users to the index and the database dump instead of crawling the API; it says nothing about downloading crate files in bulk.

Full-mirror size. 378,819 crates; more than 100 GB of crate files already in 2022. num_crates from https://crates.io/api/v1/summary on 2026-11-15. The byte total is the sum of crate_size in the dump’s versions table (not computed here); a third-party tool reported more than 100 GB for every version in 2022.

Private and self-hosted upstreams. Private Cargo registries (Artifactory’s Cargo repositories, self-hosted servers) serve a sparse or Git index of their own; any history it has covers only what they host or have cached. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Sources. crates.io snapshot branches move to an archive repository (Rust blog, 2022) · Cargo’s crate index: upcoming squash into one commit (internals) · RFC 3463: crates.io policy update (data access, crawler rules) · crates.io data access

composer

Packagist (Composer) — upstream type composer, registry https://repo.packagist.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows Packagist metadata/changes.json from the stored since (a resync means a new enumeration from packages/list.json), ~dev documents skipped; versions from /p2/<vendor>/<package>.json read through the proxy, metadata older than its update retried. A repository other than Packagist needs feed option url, a Packagist-compatible site.).

Feeds

Rate limits. “a maximum of 10 concurrent requests, or up to 20 if you only fetch static files”; spread the load, avoid the full hour, use HTTP/2 and If-Modified-Since.

Terms of use. Packagist asks for a User-Agent with contact details (mailto=) so it can reach a misbehaving client before blocking its IP. Packagist hosts metadata only: the archives are zipballs from GitHub, GitLab or Bitbucket, under their terms.

Full-mirror size. 481,164 packages, 6,077,934 versions (metadata only). https://packagist.org/statistics.json on 2026-11-15. The archives live on the VCS hosts; their total is not published.

Private and self-hosted upstreams. Satis builds a static repository without a change feed. Artifactory and Nexus Composer repositories document no changes.json. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Sources. Packagist API documentation · Packagist statistics

conan

ConanCenter (center2.conan.io) — upstream type conan, registry https://center2.conan.io. Tier (a) incremental change feed. Implementation: implemented (Task 190: diffs the trees of conan-center-index’s head commits once they have settled (feed option settle, default 1h), one change per recipe; versions from the remote’s recipe search, each with the files of its latest recipe revision read through the proxy, binary packages per feed option binaries (none, all, or settings to match). Another remote needs feed option url, a Git repository laid out as conan-center-index.).

Feeds

Rate limits. None documented.

Terms of use. No availability guarantee: Conan’s documentation recommends hosting your own copy of the ConanCenter recipes and binaries you use. center.conan.io (Conan 1) has been frozen since November 2024.

Full-mirror size. 9,729 recipe versions of 1,943 libraries; binaries not counted. Live search on 2026-11-15 (Conan’s documentation says “over 1500” libraries). Revision and binary counts and bytes are not published.

Private and self-hosted upstreams. Artifactory (Conan local/remote/virtual) and Nexus (Conan proxy/hosted/group) have Conan repositories; whether their search lists an upstream’s references is not documented. Conan 2’s local-recipes-index remote serves a clone of conan-center-index directly, which makes the Git history the feed.

Sources. Conan Center will stop receiving updates for Conan 1 (2024-09-30) · Using ConanCenter (Conan 2 docs) · Introducing the local-recipes-index remote

conda

conda-forge (anaconda.org) — upstream type conda, registry https://conda.anaconda.org/conda-forge. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls each followed subdir’s repodata.json.zst (repodata.json where there is none, the .zst asked for again at every poll; a 403 counts as not found, as S3 answers) conditionally and diffs it against a stored copy, an unchanged subdir copied rather than read again, one that stops answering kept for 3 polls; a file is reported once listed for feed option settle (default 30m, from the poll that first saw it), so that the plain repodata.json the backend verifies against lists it. Versions from the stored copy, each with every file (every build, both formats) of the subdirs followed. Feed options subdirs (default noarch, linux-64, linux-aarch64, osx-64, osx-arm64, win-64), index (repodata, or current: current_repodata.json, the latest versions only), settle and url (another channel).).

Feeds

Rate limits. None published.

Terms of use. conda-forge packages are free to use, including commercially. Anaconda’s own defaults channels (repo.anaconda.com) fall under Anaconda’s terms of service, which require a paid license for larger organisations; those terms do not cover conda-forge.

Full-mirror size. More than 3 TB (all subdirs; an old vendor figure). Anaconda’s Package Security Manager mirroring documentation gives conda-forge 3 TB in the same sentence that gives PyPI 10 TB (51.6 TB today), and a 2021 conda-forge thread gave the same 3 TB. Exact: the sum of size over every subdir’s repodata.

Private and self-hosted upstreams. Artifactory (Conda local/remote/virtual), Nexus (Conda proxy/hosted/group), Quetz and prefix.dev channels serve repodata for what they hold, so the same poll applies. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. conda: sharded repodata · How we reduced conda’s index fetch bandwidth by 99% (JLAP) · Anaconda Package Security Manager: mirrors · conda-forge: total size of the conda-forge repo (2021)

cpan

CPAN (Perl) — upstream type cpan, registry https://cpan.metacpan.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows RECENT-1h.json from the stored epoch (a longer interval file when the cursor is older than its minmax.min; a changed dirtymark, or a cursor no file within the read bound reaches, means a new enumeration) after listing what 02packages.details.txt.gz indexes; an upload is reported once its author directory’s CHECKSUMS is rewritten, and its versions come from that CHECKSUMS read through the proxy. Names are AUTHOR/Distribution. Feed option url names a full mirror for a minicpan or Pinto upstream.).

Feeds

Rate limits. MetaCPAN asks API users to “be polite” (search requests return at most 5,000 hits). rsync mirrors of www.cpan.org are asked to sync “once or twice a day”.

Terms of use. “We are not currently adding new public mirrors”; private mirrors rsync from cpan-rsync.perl.org::CPAN, and the mirroring page names rrr-client (the RECENT-file client) for near-instant mirroring.

Full-mirror size. About 40 GB (all of CPAN); about 1 GB for the latest releases only. www.cpan.org’s mirroring page (undated). BackPAN, which also keeps releases deleted from CPAN, is not included.

Private and self-hosted upstreams. minicpan (CPAN::Mini) and Pinto build static repositories with no RECENT files. Artifactory and Nexus have no CPAN format.

Sources. File::Rsync::Mirror::Recentfile · How to mirror CPAN · MetaCPAN API documentation

cran

CRAN (R) — upstream type cran, registry https://cloud.r-project.org. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls src/contrib/PACKAGES.gz (PACKAGES where there is none, PACKAGES.gz asked for again at every poll; a 403 counts as not found) conditionally and diffs it against a stored copy; a version is reported once listed for feed option settle (default 45m, from the poll that first saw it; the version it supersedes is kept meanwhile), so that the plain PACKAGES the backend verifies against lists it. Each package’s current version from the stored copy, with its source tarball where R downloads it. Archived versions (listed only in Meta/archive.rds) and Windows/macOS binaries are not followed. Feed options settle and url (another repository root).).

Feeds

Rate limits. None published for cloud.r-project.org (sponsored by Posit). rsync mirrors sync “at least twice a week, better every 1-2 days, but not more than twice a day.”

Terms of use. Mirrors rsync from cran.r-project.org (SSH recommended) and are listed once CRAN accepts them.

Full-mirror size. About 410 GB (sources, archive and binaries). CRAN mirror HOWTO: “The full size of CRAN was approx 410 GB on 2024-02-22”.

Private and self-hosted upstreams. Posit Package Manager, miniCRAN, Artifactory (CRAN) and Nexus (R) serve PACKAGES for what they hold, so the same poll applies. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Sources. CRAN mirror HOWTO · CRAN mirrors

dart

pub.dev (Dart and Flutter) — upstream type dart (also pub), registry https://pub.dev. Tier (c) paginated listings only. Implementation: implemented (Task 191: follows the Atom feed of the 100 newest versions down to a high-water mark, and the live /packages.json listing where the feed does not reach back (the document of a page’s last package tells where to stop; a page boundary pub.dev’s instances may disagree on is kept in the cursor and looked at again 35 minutes later), by package name, versions younger than feed option settle held back (default 5m; 2h30m when the upstream is a server in front of pub.dev); Bootstrap lists /api/package-names and the feed’s packages. Versions from the package document read through the proxy, retracted ones as yanked. Another pub server needs feed option url, a site that serves pub.dev’s feed and listings.).

Feeds

Rate limits. None published.

Terms of use. No crawling policy found; the documented API is the name list and per-package metadata, and undocumented endpoints may change or disappear without notice.

Full-mirror size. 95,662 packages; bytes not published. Name count on 2026-11-15; the sum of the archives is not computed.

Private and self-hosted upstreams. The hosted-repository specification v2 has no listing endpoint, so spec-only servers (unpub, OnePub) are tier (d) unless they add one. Artifactory (Pub) and Nexus (Pub/Flutter proxy/hosted/group) support the format; a listing is not documented.

Notes

Sources. pub.dev API · Hosted pub repository specification v2

docker

Docker Hub — upstream type docker, registry https://registry-1.docker.io. Tier (d) no practical enumeration. Implementation: not started (no registry-wide feed to follow).

Feeds

Rate limits. Pulls: Docker’s usage page lists 100 per 6 hours per IPv4 address or IPv6 /64 without an account, 200 for personal accounts and unlimited for paid plans; the registry’s own ratelimit-limit header on 2026-11-15 read 100;w=3600 (a one-hour window) for anonymous requests over IPv6 and IPv4. Plan on the documented figure; separate abuse limits answer 429.

Terms of use. Docker’s terms (effective 2026-08-26) forbid automated access “except as permitted by Docker”, transferring “excessive amounts of data”, and using the service “to mirror or replicate content for an unauthorized commercial service”.

Full-mirror size. Not published. Docker Hub publishes neither a catalog nor a storage figure.

Private and self-hosted upstreams. A self-hosted registry can be enumerated: GET /v2/_catalog (distribution, Harbor, Artifactory, Nexus; n/last paging in lexical order) plus tags/list make it tier (b), and Harbor and Quay can send a webhook on every push. GHCR and Quay.io do not list public repositories.

Notes

Sources. Docker Hub usage and limits · Docker terms of service · OCI distribution specification

generic

Generic declarative upstreams — upstream type generic, no public registry. Tier (d) no practical enumeration. Implementation: not applicable (operator-defined upstream).

Feeds. None.

Rate limits. Whatever the upstream sets.

Terms of use. Whatever the upstream’s terms say.

Full-mirror size. Operator-defined. A generic upstream serves what its routes declare.

Private and self-hosted upstreams. Artifactory remote repositories can list the far side (“List Remote Folder Items”, off by default since 7.93) and the Storage API lists folders for privileged users; Nexus raw repositories list hosted and cached content through the components API, not their upstream. A plain HTTP server with directory listings can be crawled and diffed (tier b).

Notes

Sources. Generic backend (this repository) · Artifactory: remote list browsing · Nexus: components API

git

Git hosting (GitHub and other forges) — upstream type git, registry https://github.com. Tier (d) no practical enumeration. Implementation: partial (named repositories are followed for the commit scan: scanning.watch).

Feeds

Rate limits. GitHub’s REST API: 60 requests an hour per IP without authentication, 5,000 with. GitHub tightened its limits for unauthenticated traffic in 2025 without publishing numbers; unauthenticated Git and raw downloads can be throttled.

Terms of use. Governed by GitHub’s terms and Acceptable Use Policies (not reviewed for this page).

Full-mirror size. Not applicable. There is no registry to copy; a mirror holds the repositories one names.

Private and self-hosted upstreams. Self-hosted forges can send instance-wide events: GitLab system hooks (administrators only; by default not for a push of more than three branches or tags) and Gitea system webhooks (“all eligible activity on the instance”); Bitbucket Data Center has no built-in instance-wide webhook. On such an instance the git type is effectively tier (a).

Sources. GitHub REST API: events · GitHub REST API: rate limits · GitHub changelog: updated rate limits for unauthenticated requests (2025-05-08) · GitLab system hooks · Gitea webhooks

go

Go module mirror (proxy.golang.org) — upstream type go, registry https://proxy.golang.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: replays the module index from its start, then follows it by timestamp (the records already reported at the stored instant are dropped); tagged versions only, pseudo-versions are left to client pulls. Versions from @v/list read through the proxy. Other upstreams are taken to serve Athens’ /index; feed option url names another index.).

Feeds

Rate limits. None documented.

Terms of use. There is no terms-of-service page; the privacy page (2019-08-06) says requests are logged and IP addresses kept no longer than 30 days. “proxy.golang.org does not save all modules forever.”

Full-mirror size. 71.4 million module versions checksummed; no byte total published. sum.golang.org tree size on 2026-11-15 (each leaf is one module version). The mirror publishes no storage figure; tens of millions of module zips make a full copy many terabytes (estimate).

Private and self-hosted upstreams. Athens has an /index of its own (same format, since/limit, covering only what it has stored) and a /catalog. Every GOPROXY lists one module’s versions at /{module}/@v/list. Artifactory and Nexus Go repositories document no index. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. index.golang.org · proxy.golang.org · proxy.golang.org privacy · Go modules reference: checksum database

hackage

Hackage (Haskell) — upstream type hackage, registry https://hackage.haskell.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows 01-index.tar with Range requests from the stored end (the hash of the last entry’s header detects a replaced index), a change per new package.json, after listing /packages/; versions from /package/{name}/preferred, read from the repository (the backend serves neither JSON document), sdists in the short form clients request. Feed option url names a hackage-server for a static mirror.).

Feeds

Rate limits. None documented; responses come through a CDN with cache-control: max-age=60.

Terms of use. Mirrors are first-class: mirrors.json is a TUF-signed list (version 13, expiring 2027-06-01: hackage.fpcomplete.com and a DreamObjects bucket), and hackage-mirror-tool syncs to S3 every few minutes.

Full-mirror size. 20.4 GB of package tarballs (155,731 package versions); the index is 1.05 GB. The sum of the tarball lengths in the index’s package.json entries (20,391,133,570 bytes), computed from 01-index.tar.gz on 2026-11-15; hackage-mirror-tool’s README gave about 7.1 GiB in 2016.

Private and self-hosted upstreams. A self-hosted hackage-server serves the same index and TUF files. Artifactory and Nexus have no Hackage format.

Sources. Hackage API · hackage-security · hackage-mirror-tool

helm

Helm chart repositories — upstream type helm, registry https://charts.bitnami.com/bitnami. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls the repository’s index.yaml conditionally (ETag/Last-Modified, redirects followed) and diffs it against a stored copy, one record per chart version (created left out: an index regenerated without --merge re-reports nothing); the index is read as a stream (one of at most 8 MiB the streaming reader does not handle is read whole with yaml.v3, a larger one is refused). A version is reported once listed for feed option settle (default 15m, from the poll that first saw it), so that the index the backend reads lists it too. Versions from the stored copy, each with its archive at the path the backend’s rewritten index hands clients. Feed option url names another copy of the index; an OCI upstream (setting oci) cannot be followed.).

Feeds

Rate limits. Chart repositories are static files (often GitHub Pages) with no published limits; Artifact Hub documents a 429 without numbers.

Terms of use. Per repository. Bitnami announced in 2025 that its packaged charts stay available on docker.io/bitnamicharts as OCI artifacts “but they will no longer receive updates”, and removed its free public image catalog (scheduled for 2025-09-29).

Full-mirror size. Per repository (Bitnami’s index alone is 27.6 MB). Helm has no central registry, so there is no total; a repository’s size is the sum of the archives its index.yaml lists.

Private and self-hosted upstreams. ChartMuseum, Artifactory and Nexus Helm repositories serve an index.yaml of what they hold, so the same poll applies. Charts in OCI registries (oci://) have no index and behave like the docker type (tier d).

Sources. Artifact Hub API (OpenAPI) · Bitnami charts: upcoming changes (issue 35164) · Helm: chart repository guide

hex

Hex (Elixir and Erlang) — upstream type hex, registry https://repo.hex.pm. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls the signed /names and /versions with conditional requests and diffs /versions, one change per version added, retired or gone; versions and their tarballs from the copy, retired versions yanked. /versions must verify (hex.pm’s key, which also signs its organisations’ repositories; feed option publicKey names another, or none) and name the repository (hexpm, an organisation’s own name; feed option repository); /names gives only the head time. Feed option url names another repository.).

Feeds

Rate limits. API: 100 requests per minute per IP (500 when authenticated), with X-RateLimit-* headers; 304 answers do not count. repo.hex.pm is CDN-served.

Terms of use. “The repository can be mirrored by setting up a caching proxy in front of it”; mirrors “do not need to be trusted” because the registry resources are signed. HEX_MIRROR selects a mirror.

Full-mirror size. Not published. Count packages from /names and releases from /versions; bytes are the sum of the release tarballs (not computed).

Private and self-hosted upstreams. Artifactory has Hex local/remote/virtual repositories (a remote re-signs the registry with its own key); Nexus has no Hex format; mini_repo can mirror hex.pm; organisations’ private repositories have their own /repos/{repo}/names.

Sources. Hex registry v2 specification · Hex repository endpoints · Hex API (rate limits) · Hex mirrors · Artifactory Hex repositories

homebrew

Homebrew (formulae.brew.sh, bottles on ghcr.io) — upstream type homebrew, registry https://formulae.brew.sh. Tier (a) incremental change feed. Implementation: implemented (Task 190: diffs the Formula trees of homebrew-core’s head commits once they have settled (feed option settle, default 30m); the current version from the formula JSON read through the proxy, one artifact per bottle (feed option platforms keeps some; disabled formulae are skipped). Task 191: a mirror of the JSON API is followed through its formula index, /api/formula.json, polled conditionally and diffed, one change per version added or rebottled; the version and its bottles from the copy of the index, at the paths the backend rewrites them to (feed option mode: auto, the default, git or index).).

Feeds

Rate limits. None documented for formulae.brew.sh; bottle downloads use anonymous ghcr.io tokens, for which no limits are published. The Git feed is on github.com, whose limits for unauthenticated clients apply.

Terms of use. None found.

Full-mirror size. Not published. The sum of the bottles for the platforms one supports: each formula has a bottle per supported macOS version and Linux; the JSON lists their URLs, not their sizes.

Private and self-hosted upstreams. Homebrew’s own mirror settings (HOMEBREW_API_DOMAIN for the JSON, HOMEBREW_BOTTLE_DOMAIN for bottles) point clients at static copies, which have no feed of their own; no Homebrew repository type is documented for Artifactory or Nexus.

Notes

Sources. Homebrew formulae JSON API · brew: Library/Homebrew/api/formula.rb (signed JSON) · Homebrew/homebrew-core

huggingface

Hugging Face Hub — upstream type huggingface, registry https://huggingface.co. Tier (c) paginated listings only. Implementation: partial (Task 191: follows the listing by last modification (/api/models, or datasets or spaces per feed option kind) for the scope feed options author (comma-separated, at most 32, one listing each, read in turn down to the mark’s lookback window) and/or search name — the whole Hub is not enumerated; hf.co’s listing is read at huggingface.co. The files of the commit main is at, from the metadata read through the proxy (feed option files keeps some; gated and private repositories are skipped unless feed option restricted is include). Feed option url names the listing API for an upstream that is not the Hub.).

Feeds

Rate limits. Five-minute fixed windows. Anonymous: 500 API calls, 3,000 file resolutions and 100 pages per IP; free accounts 1,000 / 5,000 / 200; paid plans more (figures of September 2025, subject to change). 429 when exceeded.

Terms of use. “Upgrade your account if you need elevated, large-scale access.” Many repositories are gated (licence acceptance) or private. The terms of service were not reviewed for a crawling clause.

Full-mirror size. More than 20 PB. A lower bound: Hugging Face moved 500,000 repositories holding 20 PB to its Xet storage in 2025.

Private and self-hosted upstreams. Artifactory (Hugging Face and Machine Learning repositories) and Nexus (Hugging Face proxy) cache models and datasets for clients; neither documents its upstream’s /api/models listing. Hugging Face webhooks cover only the repositories or users one watches.

Notes

Sources. Hugging Face Hub API · Hugging Face Hub rate limits · Migrating the Hub to Xet (2025-07-15)

jsr

JSR (JavaScript Registry) — upstream type jsr, registry https://jsr.io. Tier (c) paginated listings only. Implementation: implemented (Task 191: reads every page of the management API’s package list at each poll, to its first empty page, into a copy diffed against the last (a publish moves the version count, not updatedAt), changes by package; versions from meta.json and their module files from each version’s manifest, read through the proxy (every package’s file lists kept: a publish reads the new version’s manifest only). Another upstream needs feed option url, an API that lists packages as api.jsr.io does.).

Feeds

Rate limits. None stated: “If a tool is misbehaving, we may block it from using the management API.”

Terms of use. JSR asks tools to read versions from meta.json, not from the management API.

Full-mirror size. 23,228 packages; bytes not published. Package total on 2026-11-15. JSR serves source files, so packages are small.

Private and self-hosted upstreams. There is no self-hosted JSR server in common use.

Notes

Sources. JSR API · JSR management API (OpenAPI)

julia

Julia General registry (Pkg servers) — upstream type julia, registry https://pkg.julialang.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: diffs the Pkg server’s registry snapshots (/registries in the flavour of feed option flavor, conservative or eager): each new registry tree is read through the proxy and its Registry.toml and Versions.toml files indexed in the state directory; versions from the stored index, package tarballs by uuid and git-tree-sha1. Package artifacts are not followed.).

Feeds

Rate limits. None documented. The Git feed is on github.com, whose limits for unauthenticated clients apply.

Terms of use. None found. PkgServer.jl ships a deployment for running one’s own Pkg server; the storage servers behind pkg.julialang.org require client certificates issued by their operator.

Full-mirror size. Not published. Count packages and versions from the registry’s Registry.toml and Versions.toml; each version is a source tarball plus the artifacts (binaries) it declares.

Private and self-hosted upstreams. PkgServer.jl speaks the same protocol, flavours included. Artifactory and Nexus have no Julia format.

Sources. Pkg server protocol · Julia environment variables: JULIA_PKG_SERVER_REGISTRY_PREFERENCE · JuliaRegistries/General · PkgServer.jl

maven

Maven Central — upstream type maven, registry https://repo1.maven.org/maven2. Tier (b) complete index to poll and diff. Implementation: partial (Task 191: follows a repository manager’s Maven Indexer index (<url>/.index/): the properties file read conditionally, the chunks after the stored one applied to the stored copy while its chain lasts (a chunk gone or malformed, a full index older than the properties, or another classifiers selection makes it a full read), otherwise the full index streamed and diffed — also when the properties’ time stamp moved on a chain that lists no chunk (Task 194: a packer run without incremental chunks keeps the chain id and rewrites the full index alone); releases from the stored copy, each document standing for its file and its release’s POM (a POM alone for the main artifact its packaging names), classifiers per feed option classifiers, snapshots skipped. Maven Central itself is refused, by its host names (Google’s copies too) and at every read by its index id central or its chain id: its terms forbid mirroring it. Feed option url names another index directory.).

Feeds

Rate limits. Index files have per-IP download limits (a second request for the full index within the hour was refused for 24 hours). Beyond that Sonatype rate-limits abusive traffic patterns with 429s and blocks of “up to a maximum of 30 days”, aimed at “the top few percent”, and recommends consolidating requests through a repository manager.

Terms of use. Full mirroring is forbidden. The Central Repository Terms of Service (last updated 2026-03-31) list “Attempting to download all or large portions of the Materials stored in Central (a.k.a., scraping or mirroring any content)” as abuse. They also introduce tiered access (“Consumption Tier”): consumption “at reasonable levels (as determined by Sonatype at its discretion)” stays free. Follow the artifacts you depend on, not Central.

Full-mirror size. Not published. Sonatype publishes component counts, not storage. An undated third-party copy measured about 10 TB around 2019 (unverified); a full copy is excluded by the terms anyway.

Private and self-hosted upstreams. Nexus and Artifactory can publish a Maven Indexer index of what they host, and are what Sonatype recommends in front of Central (downloading Central’s index once for everyone behind them). JFrog notes that Central’s 429s surface as 404s through an Artifactory remote. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. Apache Maven: the Central index · Maven Central: 429 errors on index files · Central Repository Terms of Service · Maven Central: 429 errors (rate limiting) · JFrog: 429 rate limits from Maven Central surface as 404s

nix

Nix binary cache (cache.nixos.org) — upstream type nix, registry https://cache.nixos.org. Tier (d) no practical enumeration. Implementation: not started (no registry-wide feed to follow).

Feeds

Rate limits. None published; the cache is an S3 bucket behind Fastly serving about 5,700 requests a second.

Terms of use. None found; “new mirroring options” are listed as future work.

Full-mirror size. 636 TB, more than 1 billion objects. NixOS Foundation, July 2026 figures in its binary-cache story of 2026-09-20.

Private and self-hosted upstreams. Attic, Cachix, Harmonia and nix-serve serve the same narinfo/NAR protocol, which has no listing; a cache backed by an S3 bucket one owns can be listed through S3.

Notes

Sources. NixOS: the Nix binary cache (2026-09-20) · NixOS Discourse: garbage collecting cache.nixos.org

npm

npm registry — upstream type npm, registry https://registry.npmjs.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows _changes from the stored sequence (one beyond update_seq means a reset and a new enumeration) after listing _all_docs; versions from the packument read through the proxy. Feed option url names a CouchDB replica for a private registry.).

Feeds

Rate limits. No numeric limit is published for the registry or the replication endpoint, and the responses checked carried no rate-limit headers.

Terms of use. npm’s Open-Source Terms allow replication (“You may replicate data from the Public Registry using the Public APIs”) but also say that “under no circumstances are five million requests to npm Services in a single month-long period by any single individual, organization… remotely reasonable”. A full initial mirror (a packument per package plus every tarball) is far beyond that; following the feed after mirroring the packages one depends on is not.

Full-mirror size. 4.6 million packages; no published byte total. doc_count at replicate.npmjs.com on 2026-11-15. npm publishes no storage figure; a 2023 third-party analysis (Sandworm) put all versions at about 24 TB — not verified here.

Private and self-hosted upstreams. Artifactory and Nexus npm repositories document no _changes endpoint. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. npm staff: changes to the replication APIs (GitHub community discussion 152515) · GitHub changelog: changes and deprecation notice for npm replication APIs (2025-02-27) · GitHub changelog: npm CouchDB upgrade will reset the sequence number (2021-09-08) · npm Open-Source Terms

nuget

NuGet Gallery (nuget.org) — upstream type nuget, registry https://api.nuget.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows the catalog (Catalog/3.0.0 of the service index) by commit timestamp: the pages committed after the cursor, their newer leaves in commit order, each batch ending at a commit boundary and at commits older than feed option settle (default 10m: the flat container lists a version minutes after the catalog commits it); a cursor beyond the last commit (a rebuilt catalog) means a new replay from the first page. Versions from the flat container read through the proxy. Feed option url names a catalog index for a feed whose service index names none (Artifactory, Nexus, Azure Artifacts, GitHub Packages).).

Feeds

Rate limits. Over a limit nuget.org answers 429 with the time to wait. Documented limits cover the v2 API (20,000 requests a minute per IP for /api/v2/Packages) and web pages; none are listed for the catalog or the flat container.

Terms of use. Microsoft documents the catalog for clients that process every package operation (its catalog-reader guidance). nuget.org’s terms of use were not reviewed for this page.

Full-mirror size. 594,190 packages, 14,044,198 versions; no byte total published. https://www.nuget.org/stats/totals on 2026-11-15. The byte total is the sum of packageSize over the catalog’s leaves (not computed here).

Private and self-hosted upstreams. Microsoft notes that “not all package sources implement the catalog”; Artifactory and Nexus document none for their NuGet repositories. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. NuGet catalog resource · NuGet API rate limits · nuget.org statistics

openvsx

Open VSX — upstream type openvsx, registry https://open-vsx.org. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls the sitemap (conditionally, where the server sends validators) and diffs it, one change per extension whose date moved; the search listing by time, read at every poll, adds second publications on a day (a server re-dating every extension, as one in mirror mode does, is recognised). Versions from each target platform’s version listing, up to 2,000 a platform, past pre-release lines; one .vsix per version and platform (feed option platforms keeps some). Feed option url names another sitemap.).

Feeds

Rate limits. The Eclipse Foundation introduced rate limiting for open-vsx.org in 2025–2026 (tiers, observation first; no numbers published); responses carry x-ratelimit-limit: 10800. Sustained or commercial-scale users are asked to get in touch.

Terms of use. No mirroring clause beyond the Eclipse Foundation’s terms of use; the server’s mirror mode exists for self-hosted instances.

Full-mirror size. 21,414 extensions; bytes not published. Sitemap count on 2026-11-15. A full copy is every version (and target platform) of every extension’s .vsix — not computed.

Private and self-hosted upstreams. A self-hosted openvsx-server serves the same API and sitemap and can itself mirror open-vsx.org (ovsx.data.mirror.enabled). Artifactory documents a remote-only “AI Editor Extensions” repository type (whether it fronts Open VSX was not verified); Nexus documents no such format.

Notes

Sources. openvsx-server mirror mode (source) · Eclipse Foundation: Open VSX rate limiting (2026-02-11)

pip

Python Package Index (PyPI) — upstream type pip, registry https://pypi.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows the XML-RPC changelog from the stored serial (one beyond changelog_last_serial means a reset and a new enumeration), rows older than feed option settle (default 5m: a release’s simple page can reach the CDN later), after listing the PEP 691 project list; feed option mode simple, the fallback where XML-RPC is missing, diffs every project’s _last-serial against a stored copy instead. Versions from the simple page read through the proxy; names are PEP 503-normalized. Feed option url names another Warehouse.).

Feeds

Rate limits. XML-RPC: 5 requests per second and 50 per minute per IP (the live ratelimit-policy header; PyPI’s docs call it “a very restrictive rate limit”). The JSON and file APIs have no limit at the edge (“there is currently no rate limiting of PyPI APIs at the edge”), but PyPI asks clients not to make thousands of requests within minutes.

Terms of use. PyPI “reserves the right to temporarily or permanently prohibit a consumer based on irresponsible activity” and points high-volume users to their own mirror or cache. No clause forbids mirroring; bandersnatch is PyPA’s own mirror client.

Full-mirror size. 51.6 TB (every file of every release). total_packages_size = 51,558,788,849,503 bytes from https://pypi.org/stats/ (JSON) on 2026-11-15. The largest projects alone run to hundreds of GB (tf-nightly 965.5 GB, tensorflow 429.0 GB).

Private and self-hosted upstreams. devpi replicas follow their primary through devpi’s own changelog protocol (/+changelog/{serial}, X-DEVPI-SERIAL). Artifactory and Nexus PyPI repositories document neither PyPI’s XML-RPC changelog nor its serials. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. PyPI XML-RPC API (warehouse docs) · warehouse: XML-RPC views (the 50,000-row cap) · PyPI APIs: overview, rate limiting and caching · PyPI index API (PEP 691, _last-serial) · PyPI statistics · bandersnatch, the PyPA mirror client

puppet

Puppet Forge — upstream type puppet, registry https://forgeapi.puppet.com. Tier (c) paginated listings only. Implementation: implemented (Task 191: follows /v3/releases?sort_by=release_date down to a high-water mark and a day below it, by module name, releases younger than feed option settle held back (default 90m: the CDN serves module documents up to an hour old; 3h30m when the upstream is a server in front of the Forge), after enumerating the modules from the same listing sorted by module; versions from the module document read through the proxy, deleted releases as yanked, premium and login-required modules only with credentials. Feed option url names the Forge for an Artifactory remote.).

Feeds

Rate limits. None documented; no rate-limit headers.

Terms of use. No download restrictions found; Perforce’s 2025 changes concern Puppet Core and the PDK, not downloading modules from the Forge.

Full-mirror size. 7,707 modules, 54,827 releases; about 3 GB (estimate). Live counts on 2026-11-15; the 100 newest releases average 58 KB (median 34 KB), times 54,827.

Private and self-hosted upstreams. Artifactory has Puppet local/remote/virtual repositories; Nexus has no Puppet format; there is no official self-hosted Forge.

Sources. Puppet Forge API v3 · Puppet module developer EULA FAQ (2025)

rubygems

RubyGems.org — upstream type rubygems, registry https://rubygems.org. Tier (a) incremental change feed. Implementation: implemented (Task 190: follows the compact index /versions with Range requests from the end of a stored copy (If-None-Match, Repr-Digest checked); a digest mismatch, a torn tail or another created_at (the monthly rewrite) fetches the whole file and diffs it against the copy. Versions from /info/<gem> read through the proxy, platform gems as files of their version. Feed option url names another compact-index base.).

Feeds

Rate limits. 10 requests per second per IP for the API and website and 15 for the dependency API, enforced at the load balancer; application limits answer 429 with Retry-After, and extreme cases are blackholed.

Terms of use. No mirroring clause found; the compact-index guide points bulk users to rubygems.org’s public data dumps.

Full-mirror size. 198,697 gems; no byte total published. https://rubygems.org/stats on 2026-11-15. Versions are the entries of /versions; the byte total is not published.

Private and self-hosted upstreams. Gemstash and Artifactory/Nexus RubyGems repositories document no change feed of their upstream. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. RubyGems.org compact index API · RubyGems.org API (activity, timeframe versions, webhooks) · RubyGems.org rate limits · RubyGems.org statistics

swift

Swift package registries (Tuist’s public registry) — upstream type swift, registry https://tuist.dev/api/registry/swift. Tier (d) no practical enumeration. Implementation: not started (no registry-wide feed to follow).

Feeds

Rate limits. Tuist: 10,000 requests a minute without login and 100,000 with tuist registry login (announcement of 2025-11-26; a docs page says 1,000 and 20,000). The registry specification lets a server answer 429 with Retry-After.

Terms of use. None found beyond Tuist’s announcement that the registry is open without an account.

Full-mirror size. About 10,000 packages and 160,000 releases. Tuist’s announcement (2025-11-26); the source archives are built from the packages’ Git tags.

Private and self-hosted upstreams. The registry specification has no listing endpoint, so Artifactory’s and Nexus’s Swift registries cannot be enumerated through the protocol either. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. Swift package registry service specification · Tuist: opening the registry (2025-11-26) · SwiftPackageIndex/PackageList

terraform

Terraform Registry (and the OpenTofu registry) — upstream type terraform, registry https://registry.terraform.io. Tier (c) paginated listings only. Implementation: not applicable (no feed adapter (Task 191): the listings name only each module’s and provider’s latest version, so a new version surfaces only in a full pass over both listings (about 330 requests) and a version list per changed entry, and provider binaries are GitHub release assets outside the registry; full mirroring is refused, and tracked repositories pin the providers their lock files name).

Feeds

Rate limits. “Clients placing excessive load on the service might be rate-limited and receive a 429”; no numbers.

Terms of use. The registry’s terms could not be read (a JavaScript-only page); secondary sources quote a restriction of downloads to use “with, or in support of, HashiCorp Terraform” (unverified). Endpoints not in the API documentation are “subject to change”.

Full-mirror size. 7,761 providers, 24,770 modules; provider binaries are on GitHub. Live counts on 2026-11-15; bytes = providers × versions × platforms × archive size (not computed). Modules are source archives from their VCS.

Private and self-hosted upstreams. The provider and module registry protocols define no listing, so a private registry is enumerable only through its own management API, if it has one.

Notes

Sources. Terraform registry API · Building the OpenTofu registry (2024-09-12) · opentofu/registry

yum

Fedora and RHEL-family YUM repositories — upstream type yum (also rpm), registry https://dl.fedoraproject.org/pub/fedora/linux. Tier (b) complete index to poll and diff. Implementation: implemented (Task 191: polls repodata/repomd.xml conditionally and, when its primary changed, streams the primary (zstd, gzip or xz; size and checksums verified) into a stored copy it diffs; versions ([epoch:]version-release, rpm order) and files from the primary itself. One upstream is one repository root; feed option url names another mirror of it.).

Feeds

Rate limits. None published. The master rsync modules on dl.fedoraproject.org are restricted to tier-1 mirrors by IP; the public modules are read-only and open.

Terms of use. Fedora asks mirrors to use quick-fedora-mirror, pull from a tier-1 mirror and, for private mirrors, run report_mirror after each sync.

Full-mirror size. 4.7 TB for all of Fedora Linux; one release’s Everything/x86_64 tree about 250 GB, plus 145 GB of its updates. https://dl.fedoraproject.org/pub/DIRECTORY_SIZES.txt of 2026-11-15: /pub/fedora/linux 4.7T, releases/44 734G (Everything/x86_64 248G), updates/44 331G (Everything/x86_64 145G); EPEL 1002G; end-of-life releases in /pub/archive 32T.

Private and self-hosted upstreams. Pulp, Artifactory and Nexus YUM repositories generate repodata for what they hold, so the same poll applies. Artifactory’s AQL (a created/modified filter) and Nexus’s components REST API (continuation token) and repository webhooks enumerate only what such a server hosts or has cached; neither documents relaying its upstream’s feed.

Notes

Sources. Fedora infrastructure: mirroring · Fedora infrastructure: mirror tiering · dl.fedoraproject.org directory sizes

Keeping this page current

The catalog lives in internal/fullmirror/catalog_data.go, one entry per upstream type. To change the page:

  1. Edit the entry.
  2. Run make full-mirroring-reference-gen, which rewrites only the part between the markers above.
  3. Commit both files.

make full-mirroring-reference-check runs in CI and fails when the page is stale. go test ./internal/fullmirror fails in these cases:

The tasks that build the full-mirror engine and its adapters set each entry’s Status, which is the implementation-status column.