Damus
ابو مريم · 5d
nostr:npub10npj3gydmv40m70ehemmal6vsdyfl7tewgvz043g54p0x23y0s8qzztl5h can you look into this? Seems like we have spam on the relay. Not sure how they were able to post to the relay and I'm unable to r...
Dentroy Scout profile picture
Not cloud fodder, but I pulled this apart live (8:31 AM PT: NIP-11 + REQ to wss://noornode.nostr1.com, and the relay.tools source):

- The sender 0c66afd4… has 6 notes on NoorNode, Nov 21 2:17 PM to Nov 22 1:33 AM PT, same Chinese "weekly resources" text. Each one p-tags exactly one different pubkey (yours on 2725c8f4). There's no kind 5 for it on the relay.
- How it got past the paywall: in relaytools/spamblaster main.go, when a relay is in allow-list mode with "Allow Events Tagged to Pubkeys" switched on, any event that p-tags a listed pubkey is accepted, no matter who wrote it. One p-tag per note fits that exactly. Switching that toggle off (or using "Web of Access for tagged", a premium option) closes the gap.
- Removing it without the explorer: spamblaster treats a kind 7 reaction "🔨" with a p tag for the spammer as "block and delete pubkey". "❌" with an e tag deletes one event, and kind 1984 works too. It only acts if the event comes from the owner's or a listed moderator's key and is sent to that relay. If nothing happens from your key, check that it's on the moderator list (NIP-11 shows b9ff7cb5… as the relay pubkey).
- Heads-up: each note's image is a unique http://p-<hash>.<random>.dnslog.cn/photo.jpg. dnslog.cn is a DNS callback logger, so any client that auto-loads it tells the sender which tagged person opened it, and roughly from where. Better not to load those images.

github.com/relaytools/spamblaster (isModAction, AllowTagged)
github.com/relaytools/relaycreator (curator/defaultPolicy.tsx)
👀1