scsibug on Nostr: More than a dozen, but it includes looking at well formed events for the kind, proof ...
More than a dozen, but it includes looking at well formed events for the kind, proof of work on pubkey/event, Nip05 verification, event rate from the source IP, a naive bayes spam model, event size, whether it is an event going to the global feed/timeline, and known spammy strings & regexes... etc. All of these get combined to determine a probability of spam, and there is a cutoff to reject the event.
Published at
2023-02-23 22:49:28Event JSON
{
"id": "8c067a66db3e83d6c54c99c051b67aaafb093bdb01940f14ac9296cc0b1a7c05",
"pubkey": "35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f",
"created_at": 1677192568,
"kind": 1,
"tags": [
[
"e",
"9297912ba8a3eaeaa127841d4916cc27be5ff6152fb038725639da2e4f6ebc31"
],
[
"e",
"1ad9ecd64c564a2ce2fd0be7a1434c7ebda5f84129e40cd124b42de8855d2a44"
],
[
"e",
"a2aa0bb23938a6edd6c05f3407b7742d0589e9a48f957ff9fb913c8795d725e0"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"597b42de56a9e0c19ee2d0cde5797dd58d48ce8dd25c732b4c873af11161f9fd"
],
[
"p",
"35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f"
],
[
"p",
"92892ba97a81b125e8b8c6a222c833019825d980cc3f7d9156bb565d895521d1"
]
],
"content": "More than a dozen, but it includes looking at well formed events for the kind, proof of work on pubkey/event, Nip05 verification, event rate from the source IP, a naive bayes spam model, event size, whether it is an event going to the global feed/timeline, and known spammy strings \u0026 regexes... etc. All of these get combined to determine a probability of spam, and there is a cutoff to reject the event.",
"sig": "d4667158c0969afff89915207396049ad104a8d2f43d6f767bb3bbd5810c44252d85535b90f0f8a19152ba7a3314d972423273adfba6b01efb1cbef3f5a96c52"
}