✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more
Andrii Bidochko
  • Updated: January 7, 2026
  • 6 min read

PassSeeds: Hijacking Passkeys for New Cryptographic Use Cases

PassSeeds: Hijacking Passkeys to Unlock New Cryptographic Use Cases

PassSeeds is a method that repurposes WebAuthn passkeys as deterministic cryptographic seeds, enabling developers to perform Bitcoin signing, zero‑knowledge proofs, and other advanced operations without ever exposing private key material.

Why PassSeeds Matters for Modern Security‑Focused Developers

Since their introduction, passkeys have become the de‑facto standard for password‑less authentication. They combine strong asymmetric cryptography with biometric verification, and they sync securely across devices. However, their design was deliberately limited to the narrow problem of logging into a website or app. PassSeeds flips that limitation on its head, turning the passkey’s public key into a reusable, deterministic seed that can drive a whole new class of cryptographic protocols.

For security‑focused developers, cryptographers, and tech‑savvy professionals, this opens a pathway to build web‑based wallets, decentralized identity solutions, and AI‑enhanced verification flows—all while preserving the user‑friendly UX that made passkeys popular in the first place.

Technical Overview: How PassSeeds Hijacks Passkeys

The core insight behind PassSeeds is that a passkey’s P‑256 public key can be recovered on demand through a double‑signature ECDSA recovery process. The steps are:

  1. Create a passkey with navigator.credentials.create(), requesting userVerification: "required". The platform returns the public key only once—during creation.
  2. Never export that public key. It stays hidden inside the authenticator, acting as a secret seed.
  3. Request two identical signatures on the same nonce using navigator.credentials.get(). Because the message is identical, the two signatures can be fed into an ECDSA public‑key recovery algorithm.
  4. Recover the public key by intersecting the candidate points from both signatures. The result is a deterministic 32‑byte value that can be hashed (SHA‑256) to produce the PassSeed.
  5. Optionally convert to a mnemonic using BIP‑39, giving users a human‑readable backup.

The entire flow respects the original security guarantees of passkeys: the private key never leaves the secure enclave, user verification is enforced for each signature, and the recovered seed is bound to the same relying party (RP) identifier, preventing cross‑site replay.

Emerging Cryptographic Use Cases Enabled by PassSeeds

Once a deterministic seed is available, developers can derive virtually any other key material they need. Below are the most compelling scenarios:

  • Bitcoin & other blockchain signatures: Using HKDF with a domain‑specific label, the PassSeed can be transformed into a secp256k1 private key, allowing users to sign transactions directly from their browser without a separate hardware wallet.
  • Zero‑knowledge proof (ZKP) credentials: By feeding the seed into a BLS12‑381 scalar derivation, developers can generate prover keys for zk‑SNARKs or zk‑STARKs, enabling privacy‑preserving identity verification.
  • Decentralized social media identities: A deterministic seed can serve as a stable identifier across multiple platforms, eliminating the need for users to copy‑paste long key strings.
  • AI‑driven secret generation: PassSeeds can act as a source of entropy for AI models that require per‑user randomness, such as personalized prompt generation or secure token creation for UBOS AI solutions.
  • Polyfill for WebAuthn PRF: Because the recovered public key is deterministic, it can be used to emulate the PRF extension that browsers currently lack, unlocking a host of server‑side secret‑derivation use cases.

Security Implications and Threat Model

PassSeeds inherits the strong security posture of native passkeys, but developers must be aware of new attack surfaces:

Aspect Consideration
Replay Attacks Mitigated by including a unique nonce and RP ID in each double‑signature request.
Phishing Resistance Remains equivalent to standard passkeys because user verification is required for each signature.
Key Leakage The private key never leaves the authenticator; only the derived public key (seed) is exposed.
Device Loss Syncable passkeys propagate the seed to all registered devices. If all devices are lost, the mnemonic backup restores access.

For a deeper dive into UBOS’s own security architecture, see the UBOS security page.

Implementation Details and AI Relevance

The open‑source PassSeed library (available on NPM) provides three core methods:

  • PassSeed.create() – Generates the initial credential and extracts the public key.
  • PassSeed.get() – Performs the double‑signature recovery to retrieve the deterministic seed.
  • PassSeed.toMnemonic() – Converts the 32‑byte seed into a BIP‑39 phrase for human backup.

Because the seed can be turned into a high‑entropy secret, AI workloads that require per‑user randomness—such as generating unique prompts for AI marketing agents—can now rely on a hardware‑backed source rather than a software PRNG. This reduces the attack surface for adversarial prompt injection and improves reproducibility across sessions.

Illustration: PassSeeds Flow Diagram

The diagram below visualizes the end‑to‑end process, from passkey creation to seed derivation and downstream cryptographic usage.

PassSeeds flow diagram

Original Research Source

The concept of PassSeeds was first detailed in an original Back Alley Coder post. That article laid the groundwork for the technical deep‑dive presented here.

Related UBOS Resources for Developers

If you’re looking to prototype a PassSeeds‑powered solution, UBOS offers a suite of tools that can accelerate development:

Future Outlook and Call to Action

PassSeeds demonstrates that the security guarantees of passkeys can be extended far beyond simple authentication. As browsers gradually adopt PRF and Large Blob extensions, the need for a workaround will diminish—but the concept of deterministic, hardware‑backed seeds will remain valuable for any scenario that demands both usability and cryptographic strength.

Developers interested in experimenting today should start with the UBOS templates for quick start and explore the UBOS AI solutions that can consume PassSeeds as entropy sources. Join the UBOS partner program to stay ahead of emerging cryptographic trends and contribute to the next generation of secure, AI‑powered web experiences.


Andrii Bidochko

CTO UBOS

Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.

Sign up for our newsletter

Stay up to date with the roadmap progress, announcements and exclusive discounts feel free to sign up with your email.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.