0:00
–:––
React at 0:00
Black Hat USA 2025

Not Sealed: Practical Attacks on Nostr, a Decentralized Censorship-Resistant Protocol

Hayato Kimura, National Institute of Information and Communications Technology / The University of Osaka; Ryoma Ito, National Institute of Information and Communications Technology; Kazuhiko Minematsu, NEC Corporation; Shogo Shiraki, University of Hyogo; Takanori Isobe, The University of OsakaCryptography

When and where

Day
Wed 6 Aug 2025
Time
16:20 to 17:00 PDT
Room
Islander F & G, Level 0 - North Convention Center

Speakers

  • Hayato KimuraNational Institute of Information and Communications Technology / The University of Osaka

    Hayato Kimura is a researcher at the National Institute of Information and Communications Technology (NICT, Japan), focusing on cryptographic protocols and cryptographic implementations, and application vulnerability research. He is also a Ph.D. student at The University of Osaka, where his research includes cryptographic protocol analysis and system security.

  • Ryoma ItoNational Institute of Information and Communications Technology

    Ryoma Ito is a senior researcher at the National Institute of Information and Communications Technology, whose research focuses on the analysis of symmetric cryptography and cryptographic protocols.

  • Kazuhiko MinematsuNEC Corporation

    Kazuhiko Minematsu is a research fellow at NEC Corporation. His research interests are design and analysis of symmetric-key ciphers and their application systems.

  • Shogo ShirakiUniversity of Hyogo

    Shogo Shiraki received his B.E. and M.I.S. degrees from the University of Hyogo, Japan, in 2023 and 2025, respectively. His current research interests include cryptography, information security, and network security. He received the ICSS2023 research award from the ICSS Committee, IEICE Information and Systems Society, 2023, Japan.

  • Takanori IsobeThe University of Osaka

    Takanori Isobe is a professor at The University of Osaka and the principal investigator of the Cryptography Engineering Lab, whose research focuses on the design and analysis of symmetric cryptography, cryptographic protocols and cryptographic implementations.

Abstract

Nostr is an emerging open-source, decentralized social networking protocol with over 1.1 million users—and a critical blind spot in its security design. While decentralized architectures promise resilience and user control, rigorous real-world security analyses remain uncommon in this space. In this session, we unveil the first comprehensive security study of Nostr and its popular client applications, demonstrating how subtle flaws in cryptographic design, event verification, and link previews allow an attacker to forge "encrypted" direct messages (DMs), impersonate user profiles, and even leak the confidential message from "encrypted" DMs. We also show how a lack of signature checks in many clients—whether due to outright skipped verification or a TOCTOU caching flaw—enables effortless data tampering. Even a single oversight can escalate from simple forgery to full-blown confidentiality breaches. Far from theoretical, our proof-of-concept attacks target widely used clients—one with over 100,000 downloads—and systematically bypass the platform's intended privacy and authentication controls. We'll share how you can replicate these exploits with minimal setup, explain how loosely defined specifications in a decentralized protocol can introduce critical weaknesses, and outline both immediate mitigation steps and best practices for cryptographically sound design. By revealing these cracks in a widely touted "censorship-resistant" system, we aim to jumpstart a more rigorous approach to securing decentralized social platforms—before attackers go mainstream with the vulnerabilities we've uncovered.

What you'll get from it

Nostr is a decentralised social networking protocol with more than 1.1 million users. Hayato Kimura and the other researchers carried out the first full security study of it and its popular clients, and found ways to forge "encrypted" direct messages, impersonate profiles and leak the contents of those messages. Many clients skip signature checks or get them wrong through a TOCTOU caching flaw, which makes tampering easy, and the researchers explain how loose specifications led here, how to reproduce the attacks, and what should be fixed. Anyone building on decentralised protocols should watch it.

Did you find what you came for?