Repository navigation
feat(hosting): cloud node refuses DIP-0036 labelled pushes - #439
Merged
Merged
Conversation
…sh labeler) c0mpute.com operates the free cloud node, so under DIP-0036 L1 it picks a labeler. Pushes to the cloud node now go to ThreatCrush's /api/v1/labels/scan before they are queued; a file carrying a malware/phishing/cryptominer label is refused with 451, the reason and the appeal address. - labeler key pinned (C0MPUTE_LABELER_PUBLIC_KEY may replace it, never learn it) - labels must verify, come from the pinned DID, be positive and unexpired, and name the sha256 of a file we sent (no replay of another site's label) - fails open: labeler down/slow/junk never blocks a push (logged) - people's own nodes are their operator's call: not checked - off until C0MPUTE_LABELER_TOKEN is set; C0MPUTE_MODERATION=off kills it - DIP-0036: write down the v1 signature framing and the replay rule Co-Authored-By: Claude Opus 5.5 <[email protected]>
ThreatCrush Security Scan19 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 13 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First enforcement step of DIP-0036 (#437). The free cloud node is ours, so c0mpute.com applies an L1 policy to it: pushes go to the ThreatCrush labeler (profullstack/threatcrush#485) before they're queued. Any file labelled
malware,phishingorcryptominermakes the push fail with 451, the reason and the appeal address.Trust checks
Fails open: if the labeler is down, slow or returns junk, the push goes through and a warning is logged.
Scope: only the cloud node. People's own nodes are their operator's call.
Switches: inert until
C0MPUTE_LABELER_TOKENis set.C0MPUTE_MODERATION=offturns it off.DIP-0036: now documents the v1 signature framing and the replay rule.
Tests: 10 new.
Full web suite: 220 passed. The one failure is in
music.test.ts, which I didn't touch: it compares against a wall-clock string. tsc is clean.🤖 Generated with Claude Code