Skip to content

Publisher vetting by Verein sign-up approval, emergency namespace suspension #2915

Open

Description

@alpergundogdu

Summary

Publishers are vetted by a signed approval from the Verein's sign-up service, with no KYC. The publisher submits the approval on-chain and pays the gas. Vetting gates seating only. The emergency authority loses its blacklist powers and gets exactly one power instead: it can suspend one namespace for a bounded time.

Why

  • Vetting exists for accountability: a contact point, accepted terms, and a record that the Verein approved the wallet. The contract stays agnostic about how the Verein decides. An email sign-up is enough today, and a different check later is an off-chain change.
  • Identity checks do not prevent illegal content. Removal does. The cost of repeat abuse sits on the operator side: a publisher can only seat bonded operators, and a blacklisted operator loses its origin role and its bond.
  • Un-vetting is not an expected operation. Vetting therefore gates addOrigin only, as it does today. Content that must leave the network leaves through the publisher (attestation withdrawal or unseating), the emergency suspendNamespace, or governance removeOrigin.
  • Today the emergency multisig holds emergencyAdd, emergencyAddOrigin and suspendRegionalBody, with no time limit. It can also re-arm a lapsed emergency origin entry, which lets it keep an operator out indefinitely with no vote. Governance takes about 10 days, which is too slow for an unresponsive publisher with CSAM. The emergency authority needs one fast, narrow, bounded power that cannot be extended without a vote.

Scope

  • Contracts: vetting. Done on branch ccr-159498ba-00xf9m. ManualVettingPolicy stays the genesis policy and accepts an EIP-712 Vetting(publisher, nonce) approval signed by a VETTER_ROLE holder. Anyone submits it with claimVetting(publisher, signature), so the publisher pays the gas. An un-vet (setVetted(publisher, false)) increments the publisher's nonce and voids outstanding approvals. Revoking a signer's role voids its unclaimed approvals. No EAS dependency and no KYC vendor.
  • CLI. Done on the same branch. decdn publish vet --signature <hex> submits the approval from the publisher's keystore wallet.
  • Sign-up service. An off-chain page, run by the Verein, holds a VETTER_ROLE key. It confirms the publisher controls the wallet address (a signed message), records the sign-up, and returns the approval. No personal data goes on-chain.
  • Contracts: suspendNamespace(n) on OriginAssignment, held by the emergency authority. While a namespace is suspended, its seats do not count, so every attestation under it is invalid at the next seat-set read. A suspension lapses after a fixed term (14 days proposed) unless governance acts (unseat, or lift). The emergency authority can suspend a namespace once. Only governance can extend a suspension past its term. Governance can lift a suspension at any time.
  • Emergency authority. It stays a role that governance assigns, rotatable under GOVERNANCE_ROLE. The default holder is the emergency multisig. Its permanent powers shrink to suspendNamespace. The pause keeps its existing sunset.
  • Every suspension commits to a notice record (bytes32 noticeDigest) so that each use is publicly attributable to a document.
  • Docs. ADR 011 § Vetting policies and § Lifecycle are done on the branch. Still to do: ADR 011 § Origin Assignment Authority (suspension), ADR 009 (§ Emergency Multisig capabilities and sunset), ADR 002 (publisher identity), ADR 016 (contract inventory for suspension).

Open questions

  • The suspension term, and whether a namespace that governance re-seats after a suspension can be suspended again by the emergency authority.
  • What sign-up records the Verein keeps, and for how long (counsel).

Not in this issue

Activity

  1. alpergundogdu commented on Nov 19, 2026

    @alpergundogdu
    ContributorAuthor

    KYC vendor survey and proposal

    The vetting policy lives on the governance chain, Ethereum L1 (Sepolia on testnet).

    Options

    Option Ethereum / Sepolia Assessment
    Chainlink ACE / CCID Ethereum listed In private beta. The code is Business Source License 1.1 (becomes MIT on 2029-10-06). The repo's chainlink-ace-License-grants file ends at "solely for purposes listed below:" and lists no purposes, so production deployment of their contracts appears to need a commercial license. The registries are UUPS proxies with a single owner (_authorizeUpgrade is onlyOwner), and writes run through Chainlink's policy engine. Reading is simple: IdentityRegistry.getIdentity(address) → CCID, then CredentialRegistry.validate(ccid, credentialTypeId, ""). A CCID links every wallet of one person, and getAccounts(ccid) makes that link public.
    Coinbase Verifications No (Base only) Only Coinbase customers can get it, and an L1 contract cannot read a Base attestation without a bridge. Excluded.
    Privado ID (prev. Polygon ID) Yes (contracts) Zero-knowledge credentials with an on-chain universal verifier. This is the most private option, but publishers are meant to be accountable, so zero-knowledge hiding buys nothing here and costs circuits and verifier gas.
    zkMe, Human ID, Self Unconfirmed No official contract addresses found.
    EAS + any KYC vendor Yes (deployments) MIT. Proposed below.

    Proposal: EAS with a governance-set attester

    • Off-chain. A KYC vendor (Sumsub, Persona, …) verifies the publisher. An attester service, run by the Verein, receives the vendor result and writes one EAS attestation to the publisher's wallet under a single schema, e.g. decdnPublisherKyc(uint64 validUntil). No personal data goes on-chain.
    • On-chain. KycAttestationVettingPolicy implements IVettingPolicy and is the schema's resolver. EAS calls the resolver on attest and on revoke, so the policy keeps a publisher → attestation UID map; EAS has no on-chain lookup by recipient. isVetted(publisher) is true when the stored attestation exists, is from the governance-set attester, is not revoked, and is not past validUntil.
    • Authority. Governance sets the attester address and can rotate it, like the emergency role. Changing the KYC vendor is an off-chain change. Moving to another credential system (for example CCID, once generally available with usable terms) is a setVettingPolicy call.
    • Cost. The attester pays for one attestation per onboarding and one revocation per un-vet, both rare. Nodes read isVetted by eth_call.

    Open decision: revocation power

    Whoever holds the attester key can un-vet any publisher immediately. Under this issue's rule that un-vetting voids attestations, the key can take every namespace of that publisher off the network at once, with no vote. Choose one of these:

    • (a) Accept it. The attester is a governance-set key held by the Verein, not a third party, and governance can rotate it.
    • (b) Un-vetting blocks new seats only. Live attestations are voided by governance removeOrigin or by the emergency suspendNamespace, which lapses after a fixed term.
    • (c) Un-vetting voids attestations after a delay, so that governance can reverse a wrongful revocation before it takes effect.

    Sources


    Generated by Claude Code

  2. changed the title [-]KYC publisher vetting, un-vetting voids attestations, emergency namespace suspension[/-] [+]KYC publisher vetting via EAS, emergency namespace suspension[/+] on Nov 19, 2026
  3. alpergundogdu commented on Nov 19, 2026

    @alpergundogdu
    ContributorAuthor

    Revocation power: resolved. Un-vetting is not an expected operation, so vetting gates seating only and un-vetting voids nothing. The KYC attestation exists for accountability. Live content leaves through the publisher, suspendNamespace, or governance removeOrigin.

    Follow-on changes, now in the issue body:

    • Dropped the "un-vetting voids attestations" scope item, and with it the per-namespace ownerOf / isVetted read in the node's seat-set refresh (also removed from the attestation issue's validity rule).
    • Dropped the validUntil schema field. EAS expirationTime and revocation cover it natively.
    • Settled the credential source as EAS with a governance-set attester, per the survey above.

    Generated by Claude Code

  4. changed the title [-]KYC publisher vetting via EAS, emergency namespace suspension[/-] [+]Publisher vetting by Verein sign-up approval, emergency namespace suspension[/+] on Nov 28, 2026
  5. alpergundogdu commented on Nov 28, 2026

    @alpergundogdu
    ContributorAuthor

    Vetting: KYC dropped. The issue body now describes vetting by a signed approval from the Verein's sign-up service instead of a KYC attestation on EAS. The EAS survey above no longer applies.

    • No KYC: an identity check does not stop illegal content. Removal does, and the operator bond carries the cost of repeat abuse.
    • The approval is signed off-chain and submitted by the publisher, so the Verein pays no gas per sign-up.
    • ManualVettingPolicy stays. It gains claimVetting, and KycAttestationVettingPolicy is not needed.
    • Implemented on branch ccr-159498ba-00xf9m: the contract and its tests, decdn publish vet, an e2e that vets through the CLI, and ADR 011 / 016 / 026.

    Namespace suspension is unchanged and still open.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions