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: transparency log (reference service)

Source docs/security/service-transparency-log.md

Non-normative. Scope: services/public-services/obsp_public/translog.py and log_service.py. It is a reference log, not SCITT. 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
Tampering An entry edited or removed after the fact Hash chain (each entry names the previous entry hash), checked on load; RFC 9162 Merkle tree; inclusion proofs at any size; consistency proofs between sizes; signed tree heads The operator can rewrite the whole file and sign a new history; only clients that kept earlier signed tree heads and check consistency detect it
Tampering A split view (different trees for different clients) Signed tree heads and consistency proofs let clients compare; witnesses (a reference-log feature, witness.py) cosign a head only when it is consistent with the last head they cosigned, and keep two irreconcilable signed heads as evidence; a client can require k of n trusted witnesses No gossip: a split view shown to disjoint sets of clients and witnesses goes unseen; the witness role, its key distribution and the threshold are not specified by any draft
Spoofing A cosignature added by someone other than a witness POST /v1/tree-head/cosignatures accepts only a cosignature that verifies under a key of the operator’s witness policy, over a head this log signed at its own root The operator chooses the witness keys; a client applies its own policy, not the log’s
Spoofing Entries appended by anyone Appending needs the operator token One token for all appends; the log records what it is told: an entry proves a digest was logged, not that the statement is true
Spoofing A forged tree head Heads carry the draft OIP-0008 envelope; /v1/key serves the public key A client must obtain the log’s key out of band (for example from an authority document’s transparencyLog endpoint and key set), not only from /v1/key
Repudiation A party denies a statement was logged The receipt (inclusion proof) and a signed tree head that covers it None beyond key compromise
Information disclosure Logged content Only digests, kinds, short subjects and attributes are logged, never documents; request logs carry no client address or body Subjects and attributes are public as given
Denial of service Append floods, large proofs 64 KiB body limit; appends need the token and cost 2 tokens; page size at most 1000; per-client token bucket Proof generation recomputes subtree hashes (O(n log n) per proof); the store is one file and all leaves stay in memory, which bounds the log’s practical size

Tests: test_public_log.py, test_public_witness.py.