Path GlobalPrivate APIs are now on Path Global.Open Path Global

Docs

Security

Threat model and review checklist for implementers.

LIVE

Who you are defending against

AdversaryCapabilityPrimary defence
A legitimate memberValid credentialReciprocity budgets, logging, the rulebook
A stolen credentialEverything the member could doRequest signing, short freshness window, revocation
A crafted payloadFeeds a QR code or deeplink to a readerAnchored parsing
The operator of a PATH networkSees searches; holds the indexDeclared retention, audit, contract
A compromised resolverAnswers with the wrong destinationSignatures, plus a commitment published independently of the answer — see its limits
A passive observerWatches trafficTLS

The first adversary of a directory is an authenticated participant, or someone holding their key — not an anonymous outsider.

Rules that matter

1. Parse the whole input

Match the complete string, at both ends. See the reading algorithm.

2. Asymmetric signatures on public statements

Ed25519 over canonical JSON for every statement that leaves the operator. A shared secret does not let a third party verify who produced a value.

3. Canonical serialisation

RFC 8785. Test against vectors from an independent implementation.

4. A lookup returns a routing answer

Which member, what they accept, applicable limits. Not a profile, a name, or a KYC tier.

5. Indistinguishable negatives

An unknown key and a key that is not visible to the caller produce the same response.

6. Credentials stay on the server

Directory calls go from a server. The application talks to its own backend.

7. Check authorisation when the operation runs

Revocation is evaluated at execution, not at issuance.

8. Bound delegation

A token names amount, currency and a commitment over the destination, and exposes its counters.

Key management

One key set per issuer, published under kids. Rotation is publish-then-switch: the new key appears alongside the old, then new envelopes carry the new kid, and old envelopes stay verifiable.

A key held by an operator is listed by the issuer, with its scope. The entry carries held_by and scope.types. A verifier refuses an envelope signed by that key when its type or kind is not in scope.types. The issuer is always the member (PIP-0024).

An unknown kid is not a bad signature. Report it distinctly and refetch the issuer's document.

Fetch keys from the issuer's own discovery document. Never from whoever served the envelope, and never from the document of an operator that holds a key for the issuer.

Identifier hashing

The PATH network holds the hashing secret. Members do not. The directory stores a reference and a version, not the secret. Lookups are hashed by the network — that is not zero knowledge. See Privacy.

Request signing

Fig. 01 — Request signing
  1. 01Path-Key-IdThe key id.
  2. 02Path-TimestampRFC 3339, inside the freshness window.
  3. 03Path-SignatureEd25519 over METHOD \n PATH \n TIMESTAMP \n SHA256(body).

A five-minute window by default. The signature includes a digest of the body.

PATH is the request-target path as sent, percent-encoded, mount prefix included, query excluded (PIP-0026).

Clock skew is the usual reason a request fails verification.

What to review first

  1. Input that is not a complete PATH link is rejected.
  2. Unknown and hidden keys return the same answer.
  3. A signature produced by another implementation verifies.
  4. Clear identifiers do not appear in storage or logs.
  5. A revoked credential fails the next operation.
  6. A lookup returns routing information only.
  7. The hashing secret is not in the database.

Reporting

Security issues in the specification or the reference implementation: security@pathprotocol.dev.

Issues in a specific operator's deployment go to that operator — its contact is in its discovery document.


On this page