Skip to content

node onboarding: make operator CSAM hash-matching + NCMEC reporting a required duty, not just off-protocol #825

Closed

Description

@alpergundogdu

context

From the content-liability hardening work (decdn/internal#51, memo decdn/internal:Legal/content-liability-posture.md).

ADR 011 §Hash Evasion and Origin Blacklisting deliberately keeps perceptual hashing / known-CSAM matching out of protocol scope ("operator obligation handled off-chain via industry databases (NCMEC, StopNCII), not a protocol primitive"). That is the right call for the protocol primitive — deCDN is content-agnostic and there is no single perceptual hash for arbitrary blobs.

But the legal research surfaces an asymmetry the protocol currently leaves entirely to operator discretion: copyright safe harbors (§512, DSA Arts. 4-6) provide zero protection against criminal CSAM law. US 18 U.S.C. §2258A mandates reporting apparent CSAM to NCMEC on actual knowledge, and willful-blindness can satisfy the "knowing" element of §2252A. An operator with no CSAM pipeline is more exposed, and the network's reputational blast radius from one operator incident is shared.

decision needed

Should running a CSAM hash-match-at-ingest + §2258A/NCMEC reporting pipeline be a required precondition of node onboarding (a documented operator duty, possibly attested at registration), rather than purely discretionary?

  • Pro: reduces per-operator and network-wide criminal/reputational exposure; gives the "we act on knowledge" posture teeth.
  • Con: friction for hobbyist operators; deCDN cannot verify off-chain pipelines on-chain; risks over-promising a guarantee the protocol can't enforce.
  • Middle: require attestation of a pipeline + provide reference tooling, without on-chain enforcement.

proposal

Record the decision in ADR 019 (node onboarding) and/or amend ADR 011's off-protocol note to point at the operator-duty requirement. Keep the protocol content-agnostic; scope this as an onboarding/operator-obligation policy, not a new on-chain primitive.

refs

Activity

  1. added
    kind:security
    design:missing-decision
    on Jun 5, 2026
  2. github-actions commented on Jun 5, 2026

    @github-actions

    🎯 Triage report

    This is a well-scoped policy decision issue arising from the decdn/internal#51 content-liability legal research. It surfaces a genuine gap: copyright safe-harbor defenses (§512/DSA) provide no protection against criminal CSAM statutes (18 U.S.C. §2258A/§2252A), and the current ADR 011 leaves the CSAM pipeline entirely to operator discretion. The proposal keeps the protocol content-agnostic and scopes the change as an operator-obligation policy in ADR 019 and/or an ADR 011 amendment — no new on-chain primitive.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Output is an ADR decision + documentation change, not a new protocol feature or code bug
    Labels security, missing-decision, scope, adr-review, high Existing labels are appropriate; added adr-review (concrete output is amending ADR 011/019) and high (criminal/reputational exposure for the whole network warrants urgency)
    Coding agent Not suitable Requires a legal/policy decision (mandatory vs. attestation vs. discretionary) that depends on counsel input tracked in decdn/internal before any implementation can begin

    🔗 Similar issues

    💡 Notes and suggestions

    Decision framing for maintainers

    The three options in the issue can be evaluated along two axes: (1) legal exposure reduction, and (2) operator friction / verifiability:

    Option Exposure reduction Friction Verifiable on-chain?
    Mandatory (hard requirement) High High for hobbyists No — off-chain pipeline
    Attestation + reference tooling Medium-High Low-Medium Attestation field only
    Purely discretionary (status quo) Low None N/A

    The attestation + reference tooling middle path is likely the most defensible:

    • Operator attests at CapacityBond registration (an off-chain field or signed statement) that they operate a CSAM hash-match and NCMEC CyberTipline reporting pipeline.
    • deCDN provides reference integration docs (PhotoDNA / NCMEC Hash API / Google CSAI Match) so hobbyists aren't starting from scratch.
    • Slashing/ejection hooks in ADR 028 could be extended to cover attestation fraud if evidence surfaces — but the pipeline itself remains off-chain.

    ADR change surface if the attestation path is chosen:

    1. ADR 019 (node onboarding): Add a new "Operator Safety Obligations" section documenting the CSAM pipeline duty, attestation requirement at registration, and reference tooling pointer.
    2. ADR 011 §Hash Evasion: Amend the existing off-protocol note to cross-reference ADR 019's operator-duty section (i.e., "handled off-chain — see ADR 019 §Safety Obligations").
    3. Optional: Reference the chosen pipeline tool(s) in an operator runbook (per docs: no operator runbook entry for ContentBlacklist — how to appeal a hash, how governance submits a removal, and what the node does on a blocklist update #738's gap).

    Blocking dependency: The counsel determination in decdn/internal on the §512 tier (see #826) should ideally land first, as it materially changes the urgency of making this a hard requirement. Consider sequencing this after #826 resolves.

    Sub-tasks checklist (if approved for implementation):

    • Await/incorporate counsel tier-determination from decdn/internal
    • Draft ADR 019 §Operator Safety Obligations (CSAM pipeline duty + attestation language)
    • Amend ADR 011 off-protocol note to point to ADR 019
    • Identify and link reference tooling (PhotoDNA, NCMEC Hash API, or equivalent)
    • Determine if attestation field needs a contract-level representation (even a string/hash in CapacityBond metadata) — coordinate with Implement unified deCDN contract surface for audit (full 14-contract scope) #452 contract audit scope

    Generated by Agentic Triage for issue #825 · sonnet46 555.4K · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:missing-decisionkind:securityprio:high

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions