Skip to content

DIP-0036: Layer moderation: network, operator-chosen labelers, space authority - #437

Merged
ralyodio merged 2 commits into
masterfrom
dip/0036-layered-moderation
Nov 22, 2026
Merged

ralyodio merged 2 commits into
masterfrom
dip/0036-layered-moderation

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

Draft DIP. It covers the moderation DIP-0016 deliberately leaves out, without widening 0016's CSAM-only scope. The layered model is adapted from atproto's "Moderation in spaces" post (2026-11-20).

  • L0 network: the DIP-0016 CSAM log, unchanged.
  • L1 operator: each worker and gateway subscribes to labelers of its choice, with an action per label (refuse, warn or ignore). A worker that refuses content emits a policy_refusal attestation, so the refusal isn't counted as a challenge failure.
  • L2 space authority: the name owner gets three roles (label, read reports, resolve reports), labels that stay inside the space and are never gossiped, and an encrypted reports endpoint.
  • Removal flows downward only: a space ban never touches the registry, and one worker refusing a site never revokes its name.

The first concrete step is the canonical gateway and the shared free-hosting node honoring a ThreatCrush labeler (malware, phishing, cryptominer) and publishing a log of every action. The ThreatCrush side gets its own issue.

Status is Draft. This needs review before Accepted. Open questions are at the end of the DIP.

🤖 Generated with Claude Code

@ralyodio

Copy link
Copy Markdown
Collaborator Author

ThreatCrush side: profullstack/threatcrush#484

@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

19 finding(s)

HIGH/CRITICAL: 2 | MEDIUM: 13 | LOW: 4

Severity Rule Location
HIGH js-ssrf-outbound-request apps/web/public/sw.js:24
HIGH sh-remote-script-execution scripts/install.sh:611
MEDIUM gha-ssh-key-secret .github/workflows/deploy-dev2.yml:50
MEDIUM js-unescaped-html-sink apps/web/src/app/blog/[slug]/page.tsx:53
MEDIUM js-unescaped-html-sink apps/web/src/app/layout.tsx:111
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:116
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:117
MEDIUM sql-template-interpolation apps/web/src/lib/chat/push.ts:476
MEDIUM sql-template-interpolation apps/web/src/lib/disk/apps.ts:194
MEDIUM sql-template-interpolation apps/web/src/lib/disk/store.ts:237
MEDIUM sql-template-interpolation apps/web/src/lib/earnings/store.ts:252
MEDIUM js-dynamic-code-execution apps/web/src/lib/router/verify.ts:91
MEDIUM sh-remote-script-execution scripts/dev-setup.sh:25
MEDIUM sh-eval-expansion scripts/dev-setup.sh:35
MEDIUM redos-nested-quantifier scripts/dev2-dns-recovery.py:31
LOW py-ssrf-outbound-request examples/business-strategist-agent/chat.py:37
LOW py-ssrf-outbound-request examples/business-strategist-agent/train.py:54
LOW secret-generic-credential node/crates/c0mpute-core/src/webhook.rs:1171
LOW py-path-traversal node/crates/c0mpute-core/tests/fixtures/fake-infernet-text:29

Snippets are redacted; ThreatCrush never prints matched credential material.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant