Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Threat note: discovery (reference service)

Source docs/security/service-discovery.md

Non-normative. Scope: services/public-services/obsp_public/discovery.py, the /.well-known/obsp server, the federated index and UNI resolution of draft OIP-0016. This note says what the code does about each threat and what is left; it does not say the service is safe to expose.

STRIDE Threat What the code does Residual risk
Spoofing A document served for another authority authority must equal the authority fetched for (DSC-3); the fetch URL is derived from the authority, never from the document DNS and TLS are trusted for the authority’s host; a party that controls them can serve a document for it
Spoofing A forged document When signed, the signature must verify with a key the document lists (DSC-9) Self-certifying only: a takeover of the host can publish a new document signed with a new key. Key continuity (requiring the previous document’s key) is not enforced; pinning is the operator’s tool
Tampering Rollback to an older document A lower sequence is refused; an equal sequence must be byte-identical; an unsigned successor of a signed document is refused (DSC-5, DSC-9) An attacker who holds a valid signed document of a higher sequence can replay it until it expires
Tampering Stale documents Expired documents are refused at fetch and dropped from resolution Clock skew on the index host
Information disclosure Server-side request forgery through the crawler The index fetches only authorities on the operator’s allow-list; https only (loopback http only with an explicit flag); no redirect; 64 KiB limit; timeout; resolution never fetches; POST /v1/crawl needs the operator token An allow-listed name that resolves to an internal address is fetched: names are not pinned to addresses
Information disclosure Personal contact data The schema refuses e-mail and mailto contacts (DSC-4); logs carry no client address or query string None known
Denial of service Crawl storms, large documents Crawl needs the operator token and costs 10 tokens; document size limit; per-client token bucket on every route A slow allow-listed authority holds a crawl for up to the timeout per authority
Elevation A UNI rewritten or merged across authorities Resolution returns the UNI unchanged (DSC-2, DSC-8) and only names the authority’s endpoints What a client does with the endpoints is outside this service
Sovereignty A deployment that must make no outbound connection Offline mode: pinned documents only, nothing fetched None known

Tests: test_public_discovery.py.