Announcement: The latest Postmill update has given admins a custom "bad phrases" spam filter

Submitted by ziq admin in meta (edited )

Admins can now add common spam phrases to a database, and we can also add slurs. When someone tries to make a post using a bad phrase, they get a message saying "The field contains a banned word or phrase" and the post is blocked until they edit it.

We can also use the feature to ban entire urls from the site (like that balticword site that someone keeps spamming).

/w/donate to emma for her hard work.

9

Comments

You must log in or register to comment.

ziq OP wrote

Tempted to add "vote for bernie".

8

ziq OP wrote

Must.. resist.. urge

5

rot wrote

you should add "register here" and "resister to vote" maybe even "voter polling"

2

willow wrote

confirmed anarkist hate freeze peach

5

rot wrote

where can I view the list?

4

mofongo wrote (edited )

Seems like only admins can access it.

Here's a cut of the full list, I can't include all due to links, phone numbers and email addresses being included in the list, but you can get a clue about what's included. It's two pages long as of now: https://coinsh.red/u/banned_words.png

3

rot wrote (edited )

what if i need to $afely and D!scretely Buy Ch3ap M@il 0rder On|ine P()ker?

3

ziq OP wrote

I can post it if you want but it would bore you.

2

mofongo wrote

I took a screenshot of a section, you can use it if you like.

2

rot wrote

no thanks just wanted to see the list out of curiosity

1

ziq OP wrote

I added a ton of spam phrases, let me know if there are any false positives.

3

nbdy wrote

Awesome!
I suggest maybe blocking url shortening services in general like the ones found here. That time we got the really bad spam all the links used one that I can't remember, so I think it would be beneficial to user safety as well as privacy from ip grabbers. Could be a bit of a project but I'd be happy to help :)

3

ziq OP wrote

Just copy/paste any urls you think should be blocked here and I'll add them. I'll add the ones from that list now.

3

nbdy wrote

This is by no means exhaustive but is a list of some of the more popular IP Grabbers
skypeipresolver.net
www.spylink.net
spylink.net
ipstat.com
ipstatp.com
api.grabify.link
grabify.link
bmwforum.co
leancoding.co
quickmessage.io
spottyfly.com
spötify.com
stopify.co
yoütu.be
yoütübe.co
yoütübe.com
yȯutube.com
xda-developers.io
starbucksiswrong.com
starbucksisbadforyou.com
bucks.as
discörd.com
minecräft.com
cyberh1.xyz
discördapp.com
freegiftcards.co
disçordapp.com
rëddït.com
iplogger.org
iplogger.com
iplogger.ru
2no.co
yip.su
youramonkey.com
whatstheirip.com
IP-Grabber.com
ip-grabber.com
blasze.tk
ps3cfw.com
freegeoip.net
ipstack.com
ipstack.net
tracemyip.org
www.tracemyip.org
xn--yotu-1ra.be
xn--discrd-zxa.com
xn--srahah-bua.eu
xn--minecrft-5za.com
xn--disordapp-s3a.com
xn--srahah-bua.pl
xda-developers.us
quickmessage.us
fortnight.space
fortnitechat.site
youshouldclick.us
joinmy.site
watches-my.stream
www.apple.com-fasting.live
apple.com-fasting.live
parentelement.tk
com-fasting.live
crabrave.pw
särahah.eu
särahah.pl
mapper.info
ezstat.ru
blasze.com
myiptest.com/img.php
spötify.com
yoütübe.co
yoütübe.com
yoütu.be
hackfȯrums.com
hackfȯrums.net
discörd.com
battlÄ—.net
xn--yo14t14be-m2ad7057gea.com
xn--sptify-4ka37a.com
xn--discrd-6ka37a.com
xn--yo14tu-4ta9735d.be
xn--yo14t14be-m2ad7057gea.co
xn--battl-kra2007c.net

3

celebratedrecluse wrote

Btw Does this include usernames?

1

ziq OP wrote

No

2

celebratedrecluse wrote

Ah, that explains. there was a user, you probably saw already, who had the slur in names. So this could be a future problem for spam; the body of the text will just contain fashy content which is designed to evade the filter, but the name itself will be extremely vulgar.

Still this is a great development! automating this labor will ease the burden on administrators, ihope

2

ziq OP wrote (edited )

Yeah seeing that user in the ban log is why I thought it wouldn't be covered but according to emma it's covered if it's the full phrase or if 'regex' mode is used instead of 'text' mode.

Like if 'badger' is the 'text' phrase we block but the username is 'evilbadger', it will make it through the filter.

But there's also a 'regex' function I haven't tried yet, and I guess that will block 'evilbadger' if I understand emma right.

So I was wrong and usernames are covered, I just need to change slurs to 'regex' instead of 'text'.

EDIT: Yeah I just made a new regex rule for the n word and tried to make a new account with the n word in it and was blocked from doing so. So usernames with slurs will now be blocked too.

2

emma wrote (edited )

Regexes are case-sensitive, though, so you need to prefix each of them with (?i). Also b*tchmedia links aren't going to work.

The best way to block slurs in usernames would be the regex (?i)^\w*slur\w*$, I think. This matches only the presence of the slur in a line comprised of a single word, e.g. usernames, letting URLs containing the word pass.

2

emma wrote (edited )

Yes (but the 'text' type only matches whole words)

2