Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Mozilla Hacks 17 min read Deep dive hardMaster

PACT: Anonymous Credentials for the Web

PACT (Private Access Control Tokens) is a proposed design for privacy-preserving rate limiting on the open web, letting sites block volumetric bot abuse without demanding identity or hardware attestation. Anchors that hold a scarce signal, such as a subscription, verified phone or account in good standing, issue Privacy Pass-style Endorsements. Moderators exchange these for stateful Anonymous Credit Token Credentials whose hidden counters can be raised or lowered per client. Issuer blinding keeps Moderators from learning which Anchor backed a user, and MPC-based aggregate scoring (like Prio) lets sites evaluate issuers. The design contrasts with Google's Web Environment Integrity and Apple's Private Access Tokens, which tie web access to manufacturer-controlled devices.

Assumes: Privacy Pass tokensblind signatureszero-knowledge proofs basicsbot mitigation

Related posts

  • How Meta enables de-identified authentication at scale

    Meta Engineering mediumAdept

    Meta's Anonymous Credential Service (ACS) authenticates clients without user IDs by splitting authentication into token issuance over an authenticated channel and unlinkable token redemption over an anonymous channel, built on VOPRFs and blind signatures with an HMAC over business data keyed by a shared secret. ACS is a multitenant C++ Thrift service on Twine that isolates use cases with per-use-case keys and rotates them routinely. It serves hundreds of thousands of requests per second for WhatsApp's de-identified telemetry. Scaling lessons include configurable credential reuse limits backed by a ZippyDB counter to cut capacity costs, dithering plus a global rate limiter to absorb synchronized nightly client spikes, and self-service onboarding with Android/iOS SDKs so teams need no cryptography expertise.

  • The post-quantum future of web privacy

    Cloudflare hardMaster

    Privacy Pass tokens rely on RSA and elliptic curves, so a quantum attacker could forge them, but redemption remains unconditionally unlinkable even after Q-day. Cloudflare outlines a post-quantum path for its next-generation MOLE credential system, whose issuer-hiding endorsements let a moderator verify a token came from a trusted anchor without learning which one. The proposed building block is PoMFRIT, a blind signature that proves knowledge of a multivariate (MAYO or UOV) signature on a hashed commitment using the VOLE-in-the-Head zero-knowledge proof system. Swapping MAYO for UOV yields roughly 4.3KB signatures in exchange for 46.6KB public keys, and the same components can be recomposed into the other credential types MOLE needs.

  • DIT — enabling de-identified data collection on WhatsApp

    Meta Engineering hardMaster

    WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user. The client first fetches anonymous tokens over an authenticated connection, then uploads logs over an unauthenticated one, binding each log with an HMAC keyed from a token. Tokens come from a Verifiable Oblivious Pseudorandom Function (VOPRF) evaluated by an Anonymous Credential System, modeled on Privacy Pass, so issuance and redemption cannot be linked. At scale the design uses Curve25519 instead of Ristretto to save app size, rotates keys more often to blunt static DH attacks, rate-limits through key rotation, allows each token 64 uses per day, strips IPs at the edge, and monitors the collected data for re-identification risk.

  • Open-sourcing Anonymous Credential Service

    Meta Engineering hardMaster

    Anonymous Credential Service (ACS) lets clients authenticate without revealing identity by splitting authentication into token issuance over an authenticated channel and token redemption over a de-identified channel, using verifiable oblivious pseudorandom functions (VOPRFs) and blind signatures. Running it at scale requires capped redemption counts, frequent key rotation, and key transparency. Attribute-based key derivation, for example deriving keys per use case and time epoch from a single primary public key, plus discrete-log proofs stop a malicious server from assigning user-specific keys. The open-sourced C library depends only on libsodium, supports Ed25519 and Ristretto, recommends SDHI or Naor-Reingold KDFs, and ships with a Thrift-based demo service.

  • Private Click Measurement: Conversion Fraud Prevention and Replacement For Tracking Pixels

    WebKit mediumAdept

    Private Click Measurement in iOS/iPadOS 15.4 and macOS Monterey 12.3 adds conversion fraud prevention, letting merchant sites sign unlinkable RSA blind-signature tokens. A merchant opts in by passing a 16-byte Base64URL `attributionDestinationNonce` on the trigger-attribution redirect and serving its public key at a well-known path. Merchants can also fire conversions through same-site pixels that redirect to `.well-known/private-click-measurement/trigger-attribution/` with an `attributionSource` parameter, so no third-party tracking pixel is needed. WebKit chose pixels over a JavaScript API so sites cannot detect whether PCM is enabled. Clicks inside cross-site iframes are now measurable, anchor WebIDL attributes are camelCased, and the token key encoding requirements are clarified.

The quest for software engineering knowledge.

Look:
Layout: