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 model of the Observatory Protocol (version 2)

Source docs/security/threat-model.md

On this page
  1. Method
  2. Trust boundaries
  3. Threats
  4. Coverage
  5. Changing the model

Non-normative. The specification (§8) is authoritative: it names nine threats the conformance suite MUST test (REQ-8-1). This model restates those nine, adds seven that the drafts in oips/drafts/ begin to address, and ties every threat to the requirement ids that control it and to automated negative tests in tests/test_threats.py. Requirement ids are those of registers/requirements.yaml (P1 to P11, REQ-<section>-<n>, SOV-1 to SOV-10) and of the policies register (DAT-1). Ids from a draft proposal are marked (DRAFT): they are not part of the protocol until the proposal is accepted, and the live tree does not enforce them.

Nothing here says that an implementation is secure. A test shows that the protocol’s contracts and its suite refuse a document that carries the attack; it says nothing about an implementation that never produces or checks such documents.

Method

STRIDE per trust boundary: for each boundary the model asks who can spoof an identity, tamper with a record, repudiate an action, disclose information, deny service or elevate privilege across it. Each threat entry gives the attacker, the asset, the entry point (the boundary crossed), the protocol control with its requirement ids, the residual risk, and the tests. Tests come in three kinds (tools/threats.py explains them):

Kind Meaning
live The live tree’s schemas, invariants or suite runner reject the attack today. The test fails if that stops.
draft The control exists only in a draft. The test applies that draft’s schema and fixture patches to a temporary copy and shows the draft rejects the attack.
gap The test asserts a rejection the live tree cannot make yet and is an expected failure. It names the draft that would close the gap, or says that no control exists. When the control lands, the unexpected success fails the run until the test is promoted.

A gap attack is always made of documents the live schemas accept (BaselineTests.test_gap_attacks_are_well_formed), so an expected failure is caused by the missing control and never by a malformed attack.

Trust boundaries

Id Boundary What crosses it Trust rule
B1 Device Attestation evidence, observations, time quality, applied plans A device starts untrusted (P1); hardware root where its class has one (REQ-5.1-2)
B2 Site cell Bootstrap bundle, plans, receipts, proofs, local verifier results Holds the enrolment key; operates offline for the autonomy window (P3)
B3 Grid System packs, reconciliation assignments, fleet projections, products Authoritative only for its own facts (P2)
B4 Provider Provider manifests, adapters, supply-chain receipts, models, sources Replaceable behind typed contracts with an exit path (P6, REQ-5.12-1)
B5 Consumer Products, correction notices Reads; never gains a management path (P7)
B6 Federation peer Exchange-plane data; command authority only under a lease No authority without an unexpired lease for a named scope (REQ-5.7-1)
B7 Transparency log Supply-chain and proof statements Records; grants nothing (REQ-5.2-3; PRV-10 (DRAFT))

The production public services add their own boundaries (caller, identity provider, key store, database, TLS terminator) and controls (tokens bound to a key, hashed API keys, tenants, quotas, append-only storage, an audit log): see service-production.md.

Threats

TH-01 Rogue node (spec §8)

  • STRIDE: spoofing, elevation of privilege. Attacker: an unattested or tampered device. Asset: admission and the identity it earns. Entry point: B1 to B2 (join).
  • Controls: P1, REQ-5.1-1, REQ-5.1-2 (RATS evidence rooted in hardware where the class has one), REQ-5.1-3 (nonce and expiry), REQ-5.2-1 (presence never implies admission). The attestation-result schema refuses identity issuance on a failed appraisal, a node-signed result and a software root that vouches for hardware; case CT-NODE-001 checks that a result names evidence in the set.
  • Residual risk: the suite does not compare the result’s nonce with the evidence nonce, so a result bound to another challenge passes (gap, no draft). A compromised hardware root is out of scope.

TH-02 Cloned identity (spec §8)

  • STRIDE: spoofing. Attacker: whoever copied a node’s credentials onto another device. Asset: the node identity. Entry point: B1 (a second device presents the identity).
  • Controls: REQ-5.1-4 (short-lived, renewable SVIDs), REQ-5.1-5 (no long-lived shared secrets), REQ-5.1-3, REQ-5.12-2 (decommissioning revokes identities and wipes or returns keys); key records without private material and resolvable key ids, SIG-5 and SIG-8 (DRAFT, OIP-0008).
  • Residual risk: no case compares identities across documents: the same node attested at two sites passes (gap, no draft). Identity lifetime has no field outside the drafts.

TH-03 Replayed plan (spec §8)

  • STRIDE: tampering, elevation of privilege. Attacker: anyone who recorded an older plan or controls a mirror. Asset: the desired state of a site. Entry point: B3 to B2 to B1 (plan distribution).
  • Controls: REQ-5.8-1 (deterministic plan digest), REQ-5.8-2 (a plan is signed before it is applied), REQ-5.1-6 (first plan digest in the bootstrap bundle), REQ-4.1-1; the live plan schema forbids execution authority in the plan itself. Signatures, monotonic versions, expiry and timestamp freshness are ORCH-1, ORCH-2, ORCH-3, ORCH-5 (DRAFT, OIP-0003; gap G-ORCH-1).
  • Residual risk: the live plan schema has no signature, so an unsigned or replayed plan is well formed (gap, OIP-0003).

TH-04 Rolled-back update (spec §8)

  • STRIDE: tampering. Attacker: a compromised mirror or update channel. Asset: software and firmware on nodes. Entry point: B4 to B2 (artifacts), B3 to B1 (update metadata).
  • Controls: REQ-5.2-2 (SBOM and SLSA provenance), REQ-5.8-3 (TUF roles, SUIT for firmware), SOV-3 (signed releases verifiable offline; CT-SOV-003); TUF snapshot, target digests and SUIT manifests are ORCH-4 and ORCH-8 (DRAFT, OIP-0003).
  • Residual risk: no check compares artifact versions across supply-chain receipts, so an older, correctly signed artifact passes (gap; OIP-0003 covers plans only).

TH-05 Spoofed GNSS time (spec §8)

  • STRIDE: tampering, spoofing. Attacker: a GNSS spoofer or jammer near a node. Asset: time, and everything time gates (receipts, expiry, ordering). Entry point: radio signal into B1.
  • Controls: REQ-5.4-1 (time quality with every observation), REQ-5.4-2 (authenticated network time), REQ-5.4-3 (GNSS alone never trusted; spoofing and jamming lower quality), REQ-5.4-4 (stop time-dependent receipts, enter DEGRADED); case CT-NODE-004; time proofs reference their time quality, PRV-7 (DRAFT, OIP-0002).
  • Residual risk: an undetected spoof with no raised flag; the DEGRADED transition and the stop on signing are not observable from documents.

TH-06 Location fraud (spec §8)

  • STRIDE: spoofing, repudiation. Attacker: a node or operator claiming a position it does not hold. Asset: location proofs and products that rely on them. Entry point: B1 to B2 (prove).
  • Controls: REQ-5.11-1 (unpredictable challenge, signed receipt bound to challenge, evidence and scope), REQ-5.11-2 (two independent sources), P10; PRV-1, PRV-2, PRV-6 (DRAFT, OIP-0002; gap G-PROVE-1).
  • Residual risk: the live proof receipt has no signature or source list, so a single-source location PASS is well formed (gap, OIP-0002).

TH-07 Poisoned observation (spec §8)

  • STRIDE: tampering. Attacker: a compromised sensor, connector or upstream source. Asset: observation records and derived products. Entry point: B1 (observe), B4 (sources).
  • Controls: P5, REQ-5.3-3 (observation references its passport version), REQ-5.5-3 (gaps recorded, never filled), REQ-5.6-1 (controlled quality flags with test codes), REQ-5.6-2 (provenance); cases CT-NODE-003, CT-NODE-005, CT-NODE-007; origin, units and signed connector output are OBS-3, OBS-4 and CON-1 (DRAFT, OIP-0006, OIP-0007).
  • Residual risk: a well-formed false value; no invariant links an observation to a passport in the evidence set (gap, no draft).

TH-08 Compromised provider control plane (spec §8)

  • STRIDE: elevation of privilege, tampering. Attacker: whoever controls a provider’s management plane. Asset: the sites that run the provider’s adapters and artifacts. Entry point: B4 to B2.
  • Controls: P4, P6, P7, REQ-4.3-1 and REQ-4.3-2 (every command carries identity, purpose, policy), REQ-5.12-1 (exit path; CT-PROVIDER-003), SOV-7, SOV-9; operator-held roots without private keys and resolvable key ids, ORCH-6 and SIG-5 (DRAFT, OIP-0003, OIP-0008).
  • Residual risk: supply-chain-signed ignores the verifier’s state, so a receipt whose verification FAILED passes (gap, no draft). No case exercises a live control plane.

TH-09 Partitioned federation (spec §8)

  • STRIDE: denial of service, elevation of privilege. Attacker: a network partition or a peer that exploits one. Asset: authority over another domain’s nodes. Entry point: B6.
  • Controls: P2, P3, REQ-5.7-1 (no command authority without an unexpired lease), REQ-5.7-2 (each domain stays authoritative through partition); a fleet projection never claims acceptance or quorum.
  • Residual risk: there is no AuthorityLease or FederationBinding contract (gap G-FED-1, no draft).

TH-10 Synthetic imagery injection

  • STRIDE: tampering, spoofing. Attacker: a source that delivers generated or altered imagery as acquired data. Asset: EO products and the decisions made on them. Entry point: B4 (sources), B3 (products).
  • Controls: P8, REQ-5.2-1, REQ-4.1-1 (content-addressed releases and evidence); EO custody chains, PRV-8 (DRAFT, OIP-0002); downlink records with ground station and processing level, CST-6 and CST-7 (DRAFT, OIP-0010).
  • Residual risk: the live proof receipt carries no custody chain (gap, OIP-0002). Detecting synthetic content is outside the protocol: it can only bind content to a custody record.

TH-11 Model substitution

  • STRIDE: tampering. Attacker: whoever swaps the model or its weights between evaluation and run. Asset: derived and simulated values. Entry point: B4 (models), B1 and B2 (onboard and edge runs).
  • Controls: P6, REQ-4.1-1 (models pinned by artifact digest); model runs naming model, weights and configuration digests, MOD-2 (DRAFT, OIP-0012); observation origin, OBS-3 (DRAFT, OIP-0006).
  • Residual risk: live observation records carry no origin, so model output cannot be told from a measurement (gap, OIP-0006 and OIP-0012).

TH-12 Training-data poisoning

  • STRIDE: tampering. Attacker: a contributor of training or calibration data. Asset: model behaviour. Entry point: B4 (sources), the training pipeline.
  • Controls: P5, P8, REQ-5.2-1 (sources admitted by manifest with a rights state and digests); run inputs pinned by digest, version and origin, and a CycloneDX ML-BOM, MOD-3 (DRAFT, OIP-0012).
  • Residual risk: no live or draft field names the training data of a model manifest (gap, no draft).

TH-13 Sensing re-identification

  • STRIDE: information disclosure. Attacker: a consumer or peer that links sensing results back to people or devices. Asset: privacy of people observed by radio sensing, mobile platforms and observations. Entry point: B5, B6.
  • Controls: DAT-1 (no personal data fields in contracts), §8 privacy row (person-identifying data is a declared class, not collected by default); no identifiers, aggregation threshold and coarsening, SNS-3 and SNS-4 (DRAFT, OIP-0011); person-carried platforms, MOB-6 (DRAFT, OIP-0013).
  • Residual risk: live observation extensions are an open bag, so device identifiers can travel there (gap; OIP-0011 scans sensing observations only). Linkage across releases is not testable from single documents.
  • STRIDE: elevation of privilege, information disclosure. Attacker: an operator or consumer processing person data without the consent or policy it needs. Asset: data about people. Entry point: B2, B3, B5.
  • Controls: REQ-4.3-1, REQ-4.3-2 (purpose, principal, jurisdiction and policy on every request); subject class with policy, OBS-4 (DRAFT, OIP-0006); consent and policy for person sensing, SNS-2 (DRAFT, OIP-0011); person-carried platforms and trajectories, MOB-6 (DRAFT, OIP-0013).
  • Residual risk: live observation records cannot declare a subject class (gap, OIP-0006). Whether consent was given lawfully is outside the protocol.

TH-15 Harvest now, decrypt later

  • STRIDE: information disclosure. Attacker: an adversary recording traffic and archives today to decrypt them with a future quantum computer. Asset: confidentiality of long-retention data in transit and at rest; long-term authenticity of signed records. Entry point: every network path between boundaries.
  • Controls: REQ-13-3 (cryptographic agility; a hybrid post-quantum mode is on the roadmap), REQ-4.1-1 (algorithm-labelled digests of at least 128 bits); an algorithm register with post-quantum signatures (ML-DSA), SIG-3 and SIG-6 (DRAFT, OIP-0008).
  • Residual risk: no live or draft register covers key establishment, so the protocol cannot require post-quantum or hybrid key exchange for long-retention data (gap, no draft). Post-quantum signatures protect authenticity, not confidentiality.

TH-16 Tasking hijack

  • STRIDE: elevation of privilege, tampering. Attacker: whoever forges or alters a tasking order for a spacecraft, drone or instrument. Asset: the platform and what it observes. Entry point: B3 to B2 (orchestrate), B6.
  • Controls: P4, REQ-4.3-1, REQ-5.8-2; the live plan and bootstrap bundle carry no execution authority; nodes reject tasking plans until a profile defines them, ORCH-8 (DRAFT, OIP-0003); tasking transitions signed by their actor, in order and chained, CST-3 and CST-4 (DRAFT, OIP-0010).
  • Residual risk: the live tree has no tasking contract (gap, OIP-0010).

Coverage

Generated from the test decorators; make check fails when it is stale (python3 tools/threats.py --check).

<!– threat-coverage:begin (generated by tools/threats.py –report; do not edit) –>

Threat Overall Test Status Control (requirement ids)
TH-01 Rogue node live, partial RogueNodeTests.test_th01_attestation_contracts_reject_unearned_trust live P1, REQ-5.1-2, REQ-5.1-3
RogueNodeTests.test_th01_result_without_evidence_fails_the_join_case live REQ-5.1-2, CT-NODE-001
RogueNodeTests.test_th01_result_bound_to_another_nonce_is_refused none (expected failure) REQ-5.1-3; no live or draft control: the suite does not compare the result nonce with the evidence nonce
TH-02 Cloned identity live, partial ClonedIdentityTests.test_th02_identity_is_bound_short_lived_and_revocable live REQ-5.1-3, REQ-5.1-4, REQ-5.12-2
ClonedIdentityTests.test_th02_draft_key_records_and_envelopes draft-only SIG-5 (DRAFT), SIG-8 (DRAFT); OIP-0008
ClonedIdentityTests.test_th02_same_node_attested_at_two_sites_is_refused none (expected failure) REQ-5.1-4, P1; no live or draft control: no case compares node identities across documents
TH-03 Replayed plan live, partial ReplayedPlanTests.test_th03_plan_integrity_and_no_execution_by_plan live REQ-5.8-1, REQ-5.1-6, REQ-4.1-1
ReplayedPlanTests.test_th03_draft_signed_versioned_expiring_plans draft-only ORCH-1 (DRAFT), ORCH-2 (DRAFT), ORCH-3 (DRAFT), ORCH-5 (DRAFT); OIP-0003
ReplayedPlanTests.test_th03_unsigned_plan_is_refused_by_the_live_tree none (expected failure) REQ-5.8-2, ORCH-3 (DRAFT); OIP-0003
TH-04 Rolled-back update live, partial RollbackTests.test_th04_artifacts_are_pinned_and_signed live REQ-5.2-2, SOV-3, CT-SOV-003
RollbackTests.test_th04_draft_tuf_metadata_and_suit draft-only REQ-5.8-3, ORCH-4 (DRAFT), ORCH-8 (DRAFT); OIP-0003
RollbackTests.test_th04_older_signed_artifact_is_refused none (expected failure) REQ-5.8-3, ORCH-1 (DRAFT); OIP-0003 covers plans; no live or draft check compares artifact versions in supply-chain receipts
TH-05 Spoofed GNSS time live SpoofedTimeTests.test_th05_gnss_alone_or_flagged_time_is_never_trusted live REQ-5.4-1, REQ-5.4-3
SpoofedTimeTests.test_th05_raised_integrity_flag_fails_the_time_case live REQ-5.4-3, REQ-5.4-4, CT-NODE-004
SpoofedTimeTests.test_th05_draft_time_proof_needs_time_quality draft-only PRV-7 (DRAFT); OIP-0002
TH-06 Location fraud live, partial LocationFraudTests.test_th06_proof_needs_evidence_and_a_challenge live REQ-5.11-1, P10
LocationFraudTests.test_th06_draft_independent_sources_and_signed_receipts draft-only PRV-1 (DRAFT), PRV-2 (DRAFT), PRV-6 (DRAFT); OIP-0002
LocationFraudTests.test_th06_single_source_location_pass_is_refused none (expected failure) REQ-5.11-2, PRV-6 (DRAFT); OIP-0002
TH-07 Poisoned observation live, partial PoisonedObservationTests.test_th07_values_carry_state_flags_and_provenance live P5, REQ-5.3-3, REQ-5.6-1, REQ-5.6-2
PoisonedObservationTests.test_th07_negative_evidence_set_fails live REQ-5.3-1, REQ-5.4-1, CT-NODE-003, CT-NODE-004
PoisonedObservationTests.test_th07_draft_origin_units_and_signed_connector_output draft-only OBS-3 (DRAFT), OBS-4 (DRAFT), CON-1 (DRAFT); OIP-0006, OIP-0007
PoisonedObservationTests.test_th07_observation_naming_unknown_passport_is_refused none (expected failure) REQ-5.3-3; no live or draft control: no invariant links an observation to a sensor passport in the set
TH-08 Compromised provider control plane live, partial ProviderControlPlaneTests.test_th08_commands_need_context_and_providers_an_exit live P4, P6, REQ-4.3-1, REQ-5.12-1, CT-PROVIDER-003
ProviderControlPlaneTests.test_th08_draft_operator_roots_and_resolvable_keys draft-only ORCH-6 (DRAFT), SIG-5 (DRAFT); OIP-0003, OIP-0008
ProviderControlPlaneTests.test_th08_failed_verification_is_refused none (expected failure) REQ-5.2-2; no live or draft control: supply-chain-signed ignores the verifier’s state
TH-09 Partitioned federation live, partial PartitionedFederationTests.test_th09_projection_never_claims_authority_or_quorum live P2, P3, REQ-5.7-2
PartitionedFederationTests.test_th09_authority_lease_contract_exists none (expected failure) REQ-5.7-1, REQ-5.7-2; no live or draft control: no authority lease or federation binding contract (gap G-FED-1)
TH-10 Synthetic imagery injection live, partial SyntheticImageryTests.test_th10_sources_are_admitted_and_content_addressed live P8, REQ-5.2-1, REQ-4.1-1
SyntheticImageryTests.test_th10_draft_custody_chain_and_downlink_records draft-only PRV-8 (DRAFT), CST-6 (DRAFT), CST-7 (DRAFT); OIP-0002, OIP-0010
SyntheticImageryTests.test_th10_eo_product_without_custody_chain_is_refused none (expected failure) PRV-8 (DRAFT); OIP-0002
TH-11 Model substitution live, partial ModelSubstitutionTests.test_th11_models_are_pinned_by_digest live P6, REQ-4.1-1
ModelSubstitutionTests.test_th11_draft_model_runs_name_weights_and_configuration draft-only MOD-2 (DRAFT), OBS-3 (DRAFT); OIP-0012, OIP-0006
ModelSubstitutionTests.test_th11_model_output_passed_off_as_measurement_is_refused none (expected failure) MOD-2 (DRAFT), OBS-3 (DRAFT); OIP-0012, OIP-0006
TH-12 Training-data poisoning live, partial TrainingDataTests.test_th12_sources_carry_rights_and_digests live P5, P8, REQ-5.2-1
TrainingDataTests.test_th12_draft_inputs_pinned_and_ml_bom draft-only MOD-3 (DRAFT); OIP-0012
TrainingDataTests.test_th12_model_manifest_names_its_training_data none (expected failure) MOD-3 (DRAFT); OIP-0012 pins run inputs; no live or draft field names the training data of a model manifest
TH-13 Sensing re-identification live, partial ReidentificationTests.test_th13_contracts_carry_no_personal_fields live DAT-1, REQ-5.3-1
ReidentificationTests.test_th13_draft_no_identifiers_aggregation_and_coarsening draft-only SNS-3 (DRAFT), SNS-4 (DRAFT), MOB-6 (DRAFT); OIP-0011, OIP-0013
ReidentificationTests.test_th13_identifier_in_observation_extensions_is_refused none (expected failure) SNS-4 (DRAFT); OIP-0011 scans sensing observations only; live observation extensions are open
TH-14 Consent bypass live, partial ConsentBypassTests.test_th14_every_request_names_purpose_and_policy live REQ-4.3-1, REQ-4.3-2
ConsentBypassTests.test_th14_draft_person_data_needs_consent_and_policy draft-only OBS-4 (DRAFT), SNS-2 (DRAFT), MOB-6 (DRAFT); OIP-0006, OIP-0011, OIP-0013
ConsentBypassTests.test_th14_person_observation_without_policy_is_refused none (expected failure) OBS-4 (DRAFT); OIP-0006
TH-15 Harvest now, decrypt later live, partial HarvestNowTests.test_th15_digests_are_algorithm_labelled_and_long_enough live REQ-4.1-1, REQ-13-3
HarvestNowTests.test_th15_draft_post_quantum_signature_keys draft-only SIG-3 (DRAFT), SIG-6 (DRAFT); OIP-0008
HarvestNowTests.test_th15_key_establishment_register_exists none (expected failure) REQ-13-3; no live or draft control: no key-establishment register or confidentiality class for data in transit
TH-16 Tasking hijack live, partial TaskingHijackTests.test_th16_no_execution_without_context live P4, REQ-4.3-1, REQ-5.8-2
TaskingHijackTests.test_th16_draft_signed_tasking_transitions draft-only ORCH-8 (DRAFT), CST-3 (DRAFT), CST-4 (DRAFT); OIP-0003, OIP-0010
TaskingHijackTests.test_th16_tasking_order_contract_exists none (expected failure) CST-3 (DRAFT), CST-4 (DRAFT); OIP-0010

Tests: 48 (19 live, 14 draft-only, 15 expected failures). Threats: 16 (16 with at least one live test, 0 draft-only, 0 with none; 15 with an open gap). A live test shows that one attack is refused, not that the threat is controlled: read the residual risk of each entry. <!– threat-coverage:end –>

Changing the model

Add the threat to CATALOGUE in tools/threats.py, write its entry above, add at least one test to tests/test_threats.py with a @threat(...) decorator, and run python3 tools/threats.py --report. When a draft is accepted, promote its gap tests to live and its draft tests to tests against the live tree.

External standards are cited by identifier as the specification cites them; none was re-checked against its source for this document (checked: not checked).