Skip to content
Almena Network— version v2026-12-beta
Auto
English

Threat model

This document describes what Almena protects, from whom, and what it does not protect. Each document of the specification has its own security and privacy considerations; this one puts them together and is the reference for reviewing them. It is informative: the requirements are in the documents it links to.

Asset Why it matters
A person’s keys (seed, holder keys, manager keys) Whoever has them acts as the person or as a manager.
A person’s data (fields, credentials, attachments) It is personal data; only the person decides who sees it (F4).
Unlinkability of a person between entities Nobody outside a relationship can link data to the person (F2).
Control of an entity (its KEL and its keys) Whoever controls it issues credentials and signs records in its name.
An entity’s private data (entity store) It is the entity’s and its clients’ data.
Integrity of the records They are the proof that an operation existed (F1).
Availability of the network Without it nobody can verify anything.
ID Adversary What they can do
A1 A curious or dishonest entity Ask for more data than it needs, keep it, try to link the person with other entities, deny or alter its records.
A2 Several entities that collude Pool what they know of the same person to link them.
A3 A malicious node (custodian, mediator, gateway or relay) Withhold or not serve data, serve old or false data, observe traffic and metadata, lie about its clock or its resources.
A4 Many nodes under the same control (Sybil) Try to be all the custodians of a piece of data or all the mediators of a person.
A5 Someone watching the network See who talks to whom and when, without being able to read the content.
A6 Someone with a person’s phone (theft, loss, borrowing) Try to use the wallet.
A7 An impostor Pose as a known entity with a link, a QR code or a similar name (phishing).
A8 A dishonest or coerced manager Approve operations that harm the entity.
A9 A compromised Almena Trust Issue an identity credential to an entity that is not who it says it is.
A10 A future quantum computer Store traffic now to decrypt it later, or forge classical signatures.
  1. The cryptographic algorithms in cryptography hold, and the hybrid ones hold if at least one of their two parts holds.
  2. The secure chip of the devices does not let keys out.
  3. The person’s operating system is not compromised. If it is, Almena cannot protect them (section 5).
  4. Among the k custodians of a piece of data, at least one is honest and available.
  5. There are KERI watchers that are not controlled by the same entity they watch.
  6. The person chooses their wallet and trusts it, and the managers choose their console (P10).
ID Threat By Mitigation What remains
T-01 An entity asks for more data than necessary A1 Each field declares its purpose, and the wallet shows exactly what is shared and why before approval (protocols, exchange). The person may approve without reading. The wallet can warn, not prevent.
T-02 Several entities link a person A2 Different did:peer:4 for each entity, per-copy credentials, a random reference in each token (vision, 5.2). Data that is identifying in itself (name, document number) links if the person shares it with both.
T-03 A presentation is copied and reused A1, A5 Holder key in the chip, nonce and audience in the Key Binding JWT (protocols, exchange). None known.
T-04 A token is stolen and used A1, A5 The token is bound to the merchant’s did:keri; only it can redeem it, signing the message; repeated messages are rejected. If the merchant’s keys are compromised, see T-10.
T-05 An entity denies or changes a record A1 Records chained and signed, stored on k custodians outside the entity; the person keeps the receipt and publishes it if it is missing; watchers detect duplicity (network, 7). None known.
T-06 A node serves false data A3 Everything is verified by hash and signature on the receiver (conformance, layer 1). A node can not answer or serve something old; it is mitigated by asking other nodes.
T-07 Custodians stop keeping data A3, A4 k copies, re-replication after 1 h, storage challenges, Archive Nodes (network, 4 and 5). If all k disappear before re-replicating, the data depends on archives and caches.
T-08 A mediator links a person’s relationships A3 Each relationship on one of 3 random mediators, separate connections and collection at unsynchronized times (interface, 11). Anonymity towards the network (the IP address) is out of v2026-12-beta.
T-09 Someone takes most of a data item’s custodians A4 Entry period, proven resources, network diversity, custodians chosen by hash (network, 6.2.2). A very large adversary could manage it; it is limited by assumption 4.
T-10 An entity’s daily keys are stolen A3, A8 Keys in the HSM of the entity node; the rotation keys stay in the managers’ wallets; rotation with pre-rotation (network, 6.4). Until rotation, the thief can sign in the entity’s name. The response is in incidents, 2.
T-11 A person’s phone is lost or stolen A6 Biometrics or PIN for every sensitive operation, keys in the chip, recovery from another device or guardians (client). Credential copies on the phone remain until the person recovers and the entity revokes them.
T-12 Recovery by deceiving the guardians A6 3 of 5 guardians, each verifying the person out of band (client). Social engineering against 3 guardians at once.
T-13 Someone poses as an entity A7 The wallet checks the did:keri and the Almena Trust credential (legal identity and domain) before showing anything (client). A name similar to a real one, with its own Almena Trust credential. The wallet shows the verified legal name.
T-14 A manager is tricked into signing in a console that is not theirs A7 The sign-in code expires in minutes; the wallet reminds the manager to scan only codes on their own screen; active sessions are listed and can be ended; a session only reads and prepares, and approvals are always signed apart in the wallet (client). During the session, the other console can read the entity’s data.
T-15 A dishonest manager A8 The approval flow the entity configures (joint signatures), weights per person in the KEL, internal audit log signed by each manager (client). If the entity configures a single manager, that manager can do everything. It is the entity’s choice (P10).
T-16 Almena Trust issues a false identity A9 The credential is public and revocable, and every verifier sees who issued it; Almena Trust is not needed for the rest of the network (vision). Until it is detected and revoked, the false entity looks verified.
T-17 Traffic stored for the quantum era A10 Hybrid ML-KEM-768 + P-256 encryption and composite signatures (cryptography). The first message at the counter and the sign-in presentation carry nothing secret.
T-18 Network saturation A3, A4 Quotas per entity and day, limits per node and evidence of misbehaviour (network, 10). A large distributed attack.
  1. A compromised device. If the person’s operating system is controlled by an attacker, the attacker sees what the person sees.
  2. Coercion. Someone who forces the person to approve something.
  3. Anonymity towards the network. Hiding the IP address from the mediator and the nodes.
  4. Global traffic analysis. An observer who sees all the network’s traffic at once.
  5. What the entity does with the data once it has received it. It is its responsibility and is regulated by the law that applies to it (P10).

None for now. The response to incidents is in key compromise and incidents.