I think the only effective way to avoid these harassers is build a reputation system based on web of trust concepts
That is a looser way. No other dececntralized tool acts this way. Nostr devs made relays open spam boxes due to bad design decisions
How would you deal with them if they use multiple VPNs or tor connections? Your method can only alleviate a little the problem, web of trust is more effective
Log patterns, like with Reply Guy. WoT is for Clients. YOu need to stop the data from entering the relay. Otherwise relays are silently attacked until the node crashes
Actually it has a wot implementation in relay level nostr:nevent1qqsz83czpkx5mymv0xhlj2cc22aqde90jankxx65em63mss6fh8sgjcpzpmhxue69uhkummnw3ezuamfdejsyg8zenmu7gzq8ulj5jj4kv50ph3muwz43f747vmr9ld2alrjdswgavpsgqqqqqqskd6pdf