Proxeny GitHub

Open protocol / operator-blind communities

Private communities.
No central roster.

Most private communities force a tradeoff: hand a server the member list, social graph, and messages, or lose membership enforcement and spam control. Proxeny splits identity custody, membership standing, and protocol execution across separate origins so a community can run boards, polls, replies, and introductions while its server stays blind.

Apache-2.0 · Rust core & coordinator · Hybrid X-Wing & ML-DSA-65 · 8 TLA+ formal models

Community primitives / what you can build

Verified members.
Private participation.

Membership proofs, blind renewal tokens, and per-epoch encryption give trusted groups — alumni networks, trade guilds, local chapters, research circles — a shared foundation for community tools without building a surveillance database.

01 / Boards & discovery

Encrypted boards, local filtering

Members publish padded, end-to-end encrypted posts and nested comments authorized by anonymous membership proofs and per-period budgets. Clients render strictly as plain text with link-guardrails, download full segments, and filter categories locally.

02 / Attributed or anonymous

Pseudonymous @handles & moderation

Epoch-bound @handles carry cohort-scoped signatures without linking back to a directory identity. Delegated moderators hide content or mute disruptive handles under configurable handle_required or allow_anonymous policy.

03 / Collective decisions

Anonymous 1-member-1-vote polls

Encrypted poll definitions paired with one deterministic nullifier per member per poll let a group tally verifiable votes without revealing who voted for what—or letting anyone vote twice.

04 / Direct exchange & hiring

Private replies, DMs & blind talent pool

Members send hybrid X-Wing trial-decrypted replies and direct messages, run an optional blind talent pool and role board (features.jobs), or use atomic double-opt-in escrow to release contact details only when both sides consent.

05 / Mobile onboarding

QR invite cards & epoch renewal

Admins mint single-use bearer QR cards or register applicant public-key QRs in person. Members back up a 12-word phrase, wrap it locally with Face ID / Touch ID (WebAuthn PRF), and rotate epochs with blind-signed renewal tokens.

06 / Steward governance

3-of-5 quorum escrow & revocation

Real-world person references stay split across 3-of-5 steward X-Wing shares. Quorum stewards can recover an identity mapping or dual-sign a standing revocation for the next epoch without exposing a coordinator roster or activity log.

Architecture / the trust boundaries

Three services.
Four places to draw the line.

The static member PWA, Standing Directory, and Blind Coordinator run on separate origins. A 3-of-5 steward quorum holds separate decryption shares for the Directory’s encrypted identity escrow.

Split-origin protocolMember-initiated flows
Three deployed services and a separate steward custody boundary The member PWA sends an authenticated blinded token to the Standing Directory, receives a blind signature, and unblinds it locally. It redeems the token with an epoch commitment at the coordinator, then sends anonymous proofs for actions after sealing. The Directory stores opaque escrow, decryptable by three of five stewards. Person references, directory pseudonyms, and directory authentication keys do not enter the coordinator protocol. MEMBER ORIGIN Member PWA Static bundle, on device 12-word phrase + keys Local category filters Checkpoint pins BLIND / UNBLIND LOCALLY Prove membership without naming a leaf DIRECTORY ORIGIN Standing Directory pseudonym_id → standing auth_pubkey · issue ledger Opaque identity escrow auth_pubkey + blinded_msg blind_sig · one token / epoch 3-of-5 Steward Escrow person_ref ↔ pseudonym_id Separate key-share custody COORDINATOR ORIGIN Blind Coordinator C_e · log · nullifiers Spent hashes · ciphertexts REDEEM token_msg + token_sig + C_e ACT / AFTER MEMBERSHIP SEAL Semaphore proof + ciphertext NO IDENTITY PATH TO COORDINATOR person_ref / pseudonym_id / auth_pubkey Split-origin architecture, vertical connection view Member PWA authenticates and requests a blind signature from the Directory. Three of five stewards can decrypt identity escrow. A separate path from the member to the Coordinator carries an unblinded token and commitment, then anonymous proofs after sealing. Identity fields are excluded from the Coordinator. MEMBER ORIGIN / ON DEVICE Member PWA Phrase + keys · local filters Checkpoint pins Blind / unblind locally auth_pubkey + blinded_msg Return: blind_sig DIRECTORY ORIGIN Standing Directory pseudonym_id → standing auth_pubkey · issue ledger 3-of-5 Steward Escrow person_ref ↔ pseudonym_id Separate key-share custody MEMBER → COORDINATOR Redeem: unblinded token + C_e Act: proof + ciphertext Actions follow membership seal No person_ref / pseudonym_id COORDINATOR ORIGIN Blind Coordinator C_e · log · nullifiers Spent hashes · ciphertexts
Protocol trafficThreshold custodyExcluded identity fields
The token is unblinded on the device before redemption. Later proofs hide which sealed leaf authorized an action. Network timing is a separate risk. Full architecture.

What it sees / inspect the state

What the coordinator stores —
and what it cannot see.

The separation is in the records. The Directory authenticates a pseudonym; the Coordinator accepts a blind-signed token. There is no shared member identifier to join.

One config. Independent origins.

The PWA pins its deployment fingerprint and talks to two services. Category choices remain local.

community.jsonillustrative · trimmed
{
  "deploymentId": "workshop",
  "communityName": "Workshop",
  "coordinatorUrl": "https://coord.example",
  "directoryUrl": "https://standing.example",
  "manifestFingerprint": "<pinned SHA-256>",
  "pqManifestFingerprint": "<optional PQ SHA-256>",
  "categories": ["Hiring", "Mentorship"]
}
Directory onlymember row · trimmed
pseudonym_id  9b72c1d0a4e64f8382c590a1e7f603bd
auth_pubkey   <Ed25519 public key>
standing     active

# Separate issuance_ledger:
(pseudonym_id, epoch)
  → blinded_msg_hash, blind_sig

# Identity escrow stays encrypted.
# No C_e in these records.

Public membership. Encrypted payloads.

Epoch manifests bind the signing key, RSA key ID, and validity window. In the reference stack, their fingerprints are authenticated by a signed epoch roster.

epoch-manifest-v2canonical array · schematic
[
  "epoch-manifest-v2", "workshop", "2",
  "epoch-derived-v1", "<Ed25519 K>",
  "RSABSSA-SHA384-PSS-Deterministic",
  "<RSA key_id>", "<opens>", "<closes>"
]

# Ed25519-signed roster payload:
["proxeny-epoch-roster-v1", F, "2",
  [epoch_1_fingerprint, epoch_2_fingerprint]]
Coordinator durable stateselected reference tables
members      epoch, position, commitment
spent        epoch, token_hash
history      epoch, sequence, entry
checkpoints  epoch, sequence, envelope, mldsa_sig
nullifiers   epoch, scope_hash, nullifier
board_posts  post_id, epoch, iv_hex,
             ciphertext_hex, created_at

# Absent: person_ref, pseudonym_id,
# auth_pubkey, names, emails, plaintext.

Illustrative values and placeholders, not a live deployment. Field names and encodings from sdk/history.mjs, crates/proxeny-coordinator/src/http.rs, and stewards/server.mjs.

Threat model / single-boundary compromise

Different failures.
Different blast radii.

Assume one boundary is compromised and the others behave correctly. Protocol unlinkability does not conceal network metadata or protect a stolen recovery phrase.

What an attacker gains and what remains protected under each single-boundary compromise
Compromised boundaryAttacker gainsWhat still holds
Coordinator DB / hostCommitments, nullifiers, ciphertexts, counts. A live host can deny service, mint self-invitations visible in counts, or log IPs and timing.No identity roster or message decryption keys in protocol state. Proofs still hide the authorizing leaf. A malicious host can violate fair-release behavior.
Standing DirectoryPseudonyms, authentication keys, standing, issuance history; denial or rogue issuance of renewal tokens. The reference Directory also stores epoch board keys.Escrow identities remain encrypted; blind transcripts provide no algebraic link to C_e. Board content is exposed if its ciphertexts are obtained.
Fewer than 3 stewardsTheir own key shares and any information they learned during onboarding.Insufficient shares to decrypt escrow or authorize a quorum revocation. Even a quorum’s identity mapping contains no commitment or action history.
Member device / phraseIf unlocked custody or the phrase is obtained: derived keys, that membership’s authority, and access to content decryptable with those keys.Other members’ phrases and private keys are not derived from this phrase. The compromised membership remains subject to its protocol budgets.

Collusion changes the picture. Directory and Coordinator operators can correlate issuance and redemption timing, or isolate a singleton cohort. RSA blindness does not remove those channels.

Based on docs/THREAT_MODEL.md, with the reference stack’s board-key custody made explicit in stewards/server.mjs. The demo keeps all five disposable shares together; separate custody is a deployment requirement.

Guarantees / G1–G6

Claims with code
you can inspect.

These properties have explicit trust assumptions. The repository includes a frozen enrollment baseline, a pure Rust core and reference coordinator, and a working three-service reference stack. Production hardening is ongoing.

G1 No coordinator roster

Durable protocol state contains no names, emails, pseudonyms, or person-to-leaf mapping. Covert IP or timing logs fall outside this data-model guarantee.

crates/proxeny-coordinator/src/http.rs · specs/ThreeService.tla

G2 Unlinkable authorization

Semaphore v4 Groth16 proofs hide the authorizing leaf. Protocol data does not link a member’s actions, except within one introduction or one request’s introductions.

crates/proxeny-core/src/groth16.rs · specs/DESIGN.md

G3 Members-only budgets

Sealed membership proofs and atomic uniqueness of scoped nullifiers enforce usage limits per credential. Holding more than one credential gives more than one budget.

crates/proxeny-core/src/tree.rs · crates/proxeny-coordinator/src/storage/community.rs

G4 Mutual contact disclosure

Both parties deposit encrypted contact packages and accept before a joint release commits. Release is irreversible and depends on correct coordinator transaction execution.

crates/proxeny-core/src/protocol.rs · crates/proxeny-coordinator/src/storage/community.rs

G5 Private discovery

Clients download and filter content locally. Category opt-ins stay on the device; there are no category audience counts. Topic-blind push remains planned work.

pwa/community-ui.mjs · docs/ROADMAP.md

G6 Auditable membership growth

Logged mints and sealed appends bound membership growth. Clients replay history, verify strict Ed25519 + ML-DSA-65 checkpoints, and advance local pins with compare-and-swap.

specs/HISTORY.md · pwa/pins.mjs

TLA+ checks the modeled state transitions; it is not a proof of the entire implementation. Model scope · Executable three-service checks.

Explicit non-guarantees

The boundary
of the claim.

Identity separation is useful only when its limits are just as visible.

Read the full threat model
  • Network metadata

    Without an independent relay, IPs and timing can link actions or correlate token issuance with redemption. Small cohorts make this worse.

  • Code delivery

    A compromised static origin can serve JavaScript that steals phrases or skips verification. Independent origins do not authenticate client code.

  • Revocation lag

    Revoked standing stops future issuance. Current-epoch membership lasts until cutover, with the specified grace for existing introductions. Already issued blind tokens cannot be selectively cancelled.

  • Anonymous abuse within budget

    Stock Semaphore proofs do not identify an abusive author. Moderation can hide content and budgets cap volume; neither identifies a leaf to revoke.

  • Split views

    A signed checkpoint proves authenticity, not one global history. Detecting equivocation requires checkpoint comparison through an independent channel or co-signer.

  • Compromised keys

    The recovery phrase reconstructs derived keys. There is no operator reset. Recipients can retain information already disclosed to them.