I have temporarily "solved" the problem by displaying this passive-aggressive notification when the hash of the public key you're trying to view is on the CLOUDFLARE_CSAM_BANNED list.

The hash list itself is here: https://github.com/irislib/iris-client/blob/main/src/utils/cloudflare_banned_users.ts

Reply to this note

Please Login to reply.

Discussion

If these reports are sporadic, as they seem, I would use Cloudflare's Rules to filter out the single events.

So you don't expose the CASM source, see:

nostr:nevent1qqsdwc5df0yd97z78zsm0qx7mwcwxlek8xc3vsxkhxr7q6w59vrjv5cprdmhxue69uhkx6rjdahxjcmvv5hxgar0dehkutnrdakj7q3q0000003zmk89narqpczy4ff6rnuht2wu05na7kpnh3mak7z2tqzsxpqqqqqqzz0cuaw

They aren't advertizing it. The elements of the list are half, meaning that it is impossible to determine what the original nevent or npub was unless you already have them.

Ahhh, ok.

Sorry, I re-read my post. I meant the elements are *hashed. Hashing means passing something through a one way function like a message digest. A hash acts as a statistic or code that can be generated given a piece of data, but that cannot be used to figure out the original message. It's similar to encrypting, except that when you encrypt something, you also have a way to decrypt it. In this case, we see if a particular nevent matches by just hashing it and checking to see if the result is the same as what we recorded for an undesirable nevent. Sorry for the typo!

Hash databases would definitely be better, and might help the maintainer avoid liability, but public hash databases (in particular for fuzzy hashes) can make it possible for attackers to reverse-engineer the hashing algorithm to craft payloads that avoid matching.

nostr:nprofile1qqsy2ga7trfetvd3j65m3jptqw9k39wtq2mg85xz2w542p5dhg06e5qpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxrhwden5te0dehhxarj9enx6apwwa5h5tnzd9az7qgwwaehxw309ahx7uewd3hkctczcs834 doesn't care. He doesn't feel responsible for child pornography on Nostr one way or another. We aren't necessarily talking about a sophisticated CSAM detection algorithm or fuzzy hashes to prevent someone from uploading previously identified media. He is talking about blocking individual nevents and only those nevents that are reported to him by Cloudflare.

Personally, I think fuzzy hashes and content detection are fascinating and important topics just for reverse image search and detecting when someone reposts certain content.

However personally I don't give a shit whether someone pirates CP. If someone doesn't realize how bad pirating is then that's their problem. I believe that when a child is raped, trying to prevent anyone from seeing it and trying to keep any evidence of what happened off of the clearnet is the most asinine, shortsighted, and selfish possible thing to focus on.