# Hopper dataset delivery: security, rights and service terms

For procurement, legal and data-engineering review of the Hopper dataset editions and the Hopper Dataset Release Kit `0.3.0`. Each statement below is either how the published software works or a measured result with its date. Anything else is marked as by arrangement.

## 1. Integrity and signed releases

Every release is a content-addressed snapshot, addressed by its Hugging Face commit (see §6), with a machine-readable receipt (`hopper-release-receipt.json`, schema `hopper.remote-storage.hf-dataset-release-receipt.v1`).

| Control | Kit `0.3.0` (Node.js and Python) |
| --- | --- |
| **Root of trust** | An edition config pins the `dataset`, a 40-character `revision` and the 64-character `receiptSha256`. It may also name the places that publish the current revision (`head`) and the publisher's Ed25519 keys (`publisherKeys`). |
| **Streaming verification** | Every member is hashed while it downloads (SHA-256) and checked against its exact byte length, in a staging folder that is moved into place only when every member passes. |
| **Filesystem hardening** | Path traversal, case-insensitive collisions, file/directory collisions, symlinks and unexpected extra files fail closed. |
| **Signed releases** | Each signed release (sequence 1 on) carries `release.json` and `release.sig`, signed with Ed25519 by key `hopper-datasets-2026-11` ([publisher-keys.json](https://jobs.hopperlabs.ai/data/kits/publisher-keys.json)); the legacy releases before them (`96eabf12`, `75ba4f18`, `6813587b`) carry neither. `latest` moves a pin only along a chain where every hop after the pin verifies: the receipt digest, the signature by a key valid at `builtAt`, the data digest, the `sources.lock.json` digest when present, sequence continuity, and the contract compatibility label. It checks signatures with the keys in the config, or with a keys file given as `--publisher-keys`. The pinned release itself is trusted by its receipt digest, so while an edition has one signed release `latest` reports `updated: false` and checks no signature; to check the current statement, call `verifyReleaseStatement` (Node.js) or `verify_release_statement` (Python) with publisher-keys.json. |
| **Data contracts** | Each signed release carries `contract.json`: typed columns, keys and rights per table. A breaking change comes only with a new major `contractVersion` (breaking: major + 1; compatible schema change: minor + 1). `latest` stops before a breaking release unless it is given `--allow-breaking`. |
| **Offline audits** | `hopper-dataset verify` and `hopper-dataset-py verify` re-hash a restored folder with no network access. |
| **Size limits** | 256 MiB per release and per file by default. `--max-bytes` raises the release cap (up to 100 GiB); the Node.js command line's `--max-file-bytes` raises the file cap (up to 10 GiB). The Python command line has no file-cap flag. |
| **No runtime dependencies** | `@hopperlabs/dataset-release-kit` (Node.js 22+, TypeScript types) and `hopper-dataset-release-kit` (Python 3.9+) use their standard libraries only and are licensed under **Apache-2.0**. Both are distributed only from jobs.hopperlabs.ai, with the SHA-256 digests above; neither is published on npm or PyPI. |

Current releases, each signed on 2026-11-28 and each the first signed release (sequence 1) of its edition:

| Edition | Revision | Receipt SHA-256 | Files | Contract |
| --- | --- | --- | ---: | --- |
| Career | `85cd88d1041ff174c73388efdfc03b72a09d9b26` | `3607bfdbe19b0fd85d66af35462eb9808b5d3fdc1412cecb08b3dcc6fd6c1deb` | 24 | 1.0 |
| School planning | `3b24650a6c04674ea0dfcafa52a5a020e7800f48` | `57ae96b937e113b9235920725f3efa5065195f29b7bcf97299e99d9abba513ab` | 176 | 1.0 |
| Search research | `2d886c7fae7c7269b6055b5e0eb80495ae2a5a32` | `1aaae06bccbc11415fd065f07d14eb3c5e0974809e472990a33d4d0ccc0623f1` | 19 | 1.0 |

## 2. Where each edition is served

- **Hugging Face:** every edition, at its revision. Earlier revisions stay readable, so an older pin still restores.
- **Cloudflare R2:** the career config lists `career-data.hopperlabs.ai` first. That mirror still serves the legacy career release (`96eabf12`), so the kits read the current career release from Hugging Face until the mirror's upgraded Worker is deployed. School planning and search research have no R2 mirror.
- **Retries:** `429`, `502`, `503` and `504` are retried with backoff before the kit moves to the next source in the config. The Node.js kit honours `Retry-After` given in seconds or as an HTTP date; the Python kit honours it only in seconds (an HTTP date falls back to backoff). Both cap each wait at 10 seconds.

## 3. Team managed feed: the tenant door

Private releases are served from `https://downloads.hopperlabs.ai/v1/datasets/<slug>/releases/<revision>/<member>`. The kit config names the token's environment variable (`"auth": {"type": "bearer", "env": "HOPPER_DATASET_TOKEN"}`); the token is never written into the config.

Measured in production on 2026-11-28 with both kits (Node.js and Python `0.3.0`) restoring a whole 171-file release: the legacy school-planning release `75ba4f18`, staged under a proof slug for a proof tenant and withdrawn afterwards. The kits ran from the storage-transport source at `a18f4b2`; the published `0.3.0` differs from it only in release following (`latest`, statements, client exports), and its download, redirect and header code (`lib/core.mjs`, `_core.py`) is byte-identical. No current edition is staged on the door yet, and no tenant has access. `latest` cannot use the door as a head place: it reads heads only from `cloudflare-r2` and `hugging-face` places.

- **Tokens:** a Bearer token is issued per tenant, shown once, with an expiry and a list of datasets it may read. No token or a wrong token: `401`. A dataset outside the token's list, or one the tenant was never granted: `403`. An unknown member or revision: `404`. A request that names a browser `Origin`: `403`.
- **Signed links:** each member answers with a `302` to a signed `files.hopperlabs.ai` link that expires 300 seconds after it is issued. A link whose expiry is altered answers `403`.
- **Token isolation:** the kits sent the token to the door on all 344 door requests and on none of the 344 signed-link requests.
- **Revocation:** at the door, revoking a token took effect in 26.4 s and 47.3 s, withdrawing a release in 54.7 s and revoking a grant in 46.3 s, all within the door's 60-second record cache. Links issued before a revocation keep working until they expire (at most 300 s), so access ends within 60 s + 300 s.
- **Metering and audit:** usage is recorded per tenant per month (releases and bytes). Every granted request is audited before its link is issued. Refusals of a recognised tenant are audited when the audit write succeeds (a failed write raises an alert). Past the per-tenant rate limit, only the first refused request per tenant per minute on each instance is audited; the rest are only logged. `401` answers and refused origins come before a tenant is recognised and are not stored.

## 4. Rights by table

The kit (`@hopperlabs/dataset-release-kit` and `hopper-dataset-release-kit`) is licensed under **Apache-2.0**. Dataset rights are stated per table in each release's `contract.json` (`commercialUse`: `allowed`, `restricted` or `excluded`). `--exclude-commercial excluded` skips excluded tables; `--exclude-commercial restricted` also skips restricted ones.

| Edition | Table | License | Commercial use |
| --- | --- | --- | --- |
| School planning | `schools`, `school_grades`, `district_grades` | CC0-1.0: NCES Common Core of Data 2024–25, release 1a; the Department of Education catalog lists both source files under CC0 1.0. Cite NCES, the survey year and the edition. | allowed |
| Career | `occupations`, `occupation_skill_ratings` | CC BY 4.0: O*NET 31.0 Database, USDOL/ETA. Attribution required; USDOL/ETA has not endorsed the changes. | allowed |
| Career | `company_candidates` | CC0-1.0: Wikidata | allowed |
| Career | `job_observations` | other: factual historical metadata and source links; employer and hiring-platform materials remain under their publisher terms | restricted |
| Career | `employer_company_links`, `employer_company_candidates` | other: keyed by employer labels and board keys from job observations (publisher terms), naming SEC CIKs (public SEC identifiers) and Wikidata QIDs (CC0) | restricted |
| Career | `company_issuers` | other: derived from the SEC company tickers file | restricted |
| Career | `skills`, `skill_job_examples` | other: per-row license and attribution; title-match examples link to job observations | restricted |
| Search research | `prompt_openings` | ODC-By-1.0: WildChat-1M | allowed |
| Search research | `ranking_examples` | MIT: CrawlerData | allowed |
| Search research | `directory_link_changes` | CC-BY-SA-3.0: adaptation of Awesome-Selfhosted | excluded |

**Career employer links.** Measured by Hopper Companies against its employer gold set: 68 units (59 employers and 9 boards with no employer label, 17,285 postings), labelled independently by two AI agent labellers (neither read the other's labels; 64 of 68 units agreed; the other 4 were decided by re-checking the cited evidence on 2026-11-28; 1 ambiguous slot is left out), with 43 "same company" slots. All 40 links were right (precision 100%, 95% Wilson lower bound 91.2%) and they cover 40 of the 43 slots (recall 93.0%). By tier: resolved 9 of 9 (lower bound 70.1%), probable 31 of 31 (lower bound 89.0%). These rates are in-sample: the gold set is the only labelled data and the rules were checked against it, so they do not estimate precision for employers outside it. By the best tier their employer or board reaches, 1,685 postings have a resolved link, 14,374 a probable one and 1,226 none.

## 5. Service terms

- Pricing, refresh cadence, support hours and any availability commitment are agreed in writing for each pilot. No availability percentage is published.
- **By arrangement, not self-serve:** push into a customer-owned S3 or GCS bucket, a data processing agreement (DPA), custom refresh cadence, custom slices.
- **Release notifications:** there are no webhook notifications. Follow releases with the signed statements and `latest`. No feed is served yet: the JSON and Atom feed builder exists, but serving it needs the upgraded R2 Worker, which is not deployed, and school planning and search research have no R2 mirror.

## 6. Disaster recovery

- Every release is addressed by its Hugging Face commit, whose content cannot change under that hash, and the kits verify a restore against its receipt. We do not rewrite dataset history, but Hugging Face is a third-party host and today holds the only copy of each current release.
- No NAS or encrypted-cloud copy of the current releases is made or restore-tested as part of each release, and no recovery time is offered.
