Cyber Risks · Trail of Bits Blog

Cryptographic design review of Ockam

Summary: In October 2023, Ockam hired Trail of Bits to review the cryptographic design of its protocols for end-to-end encrypted, mutually authenticated channels, covering secure channels built on the Noise XX pattern, Ockam Identities, routing, transports, and credentials. The manual review found five issues, mostly insufficient documentation of assumptions and expected security guarantees, and formal modeling with Verifpal and CryptoVerif showed Ockam Identities achieve their expected guarantees while flagging that ECDSA and Ed25519 may not provide the same guarantees in future changes, a point not stated in the documentation.

Bottom line: The review found no issues posing an immediate risk to confidentiality or integrity in the in-scope use cases, but its findings centered on documentation gaps that could lead Ockam users to make security-critical deployment decisions on an incomplete understanding of the protocol. Trail of Bits also recommended an assessment of the implementation itself, noting that a secure design does not imply a secure implementation.

Read the original at Trail of Bits Blog ↗