# Keyword based auto spam ban?

**URL:** https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764
**Category:** Feature
**Created:** [08.Январь.2015 02:53:47 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764 "2015-01-08T02:53:47Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![bootstraponline](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bootstraponline/32/114822_2.png) [@bootstraponline](https://meta.discourse.org/u/bootstraponline)
#### Post date: [08.Январь.2015 02:53:47 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/1 "2015-01-08T02:53:47Z")

</div>

I’m having an issue with a discount kitchen spammer. They keep changing the ip and email address however the content of the message is always the same. Is there some way to just instant ban them if they link to the spam website?

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [08.Январь.2015 03:04:26 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/2 "2015-01-08T03:04:26Z")

</div>

This would be useful. Something like the “white listed spam host domains” setting, except blacklisted.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Январь.2015 03:15:51 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/3 "2015-01-08T03:15:51Z")

</div>

Are you 100% sure they are using the same URL? Or that there is a URL in there consistently and it is the same? Usually the url is the most fluid part of the spam in my experience, they change them super fast as they get blacklisted.

---

<div class="post-metadata">

### Author: ![bootstraponline](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bootstraponline/32/114822_2.png) [@bootstraponline](https://meta.discourse.org/u/bootstraponline)
#### Post date: [08.Январь.2015 03:34:18 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/4 "2015-01-08T03:34:18Z")

</div>

Yes, I am 100% sure. It’s always `www.exdisplaykitchens1.co.uk`

I don’t know why they target appium because [discuss.appium.io](http://discuss.appium.io) doesn’t have anything to do with kitchens.

 ![](https://global.discourse-cdn.com/meta/original/3X/d/0/d0c470f2777f94720fb216251e5de7a834db551e.png)

I need some better way to deal with the spam because it’s becoming more frequent.

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [08.Январь.2015 03:38:52 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/5 "2015-01-08T03:38:52Z")

</div>

> [@bootstraponline](#):
>
> I don’t know why they target appium because [discuss.appium.io](http://discuss.appium.io) doesn’t have anything to do with kitchens.

SEO manipulation. More links to their site == more prominence in search results for “kitchens”.

---

<div class="post-metadata">

### Author: ![bootstraponline](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bootstraponline/32/114822_2.png) [@bootstraponline](https://meta.discourse.org/u/bootstraponline)
#### Post date: [08.Январь.2015 03:40:13 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/6 "2015-01-08T03:40:13Z")

</div>

> [@rahim123](#):
>
> SEO manipulation. More links to their site == more prominence in search results for “kitchens”.

You’re right. I found this on the website:

> We are a SEO + Marketing company based in indonesia

I want to auto ban all the keywords/phone numbers/urls they’re using.

Edit: On google groups, there’s an option to allow a users first post to be manually screened before it goes live. Maybe that’d be a more general solution. They register an account and only post once, and it’s always based on whatever they’re spamming about.

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [08.Январь.2015 03:45:12 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/7 "2015-01-08T03:45:12Z")

</div>

Although their SEO tricks actually won’t work with the default Discourse setting of “_add rel nofollow to user content_”.

---

<div class="post-metadata">

### Author: ![bootstraponline](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bootstraponline/32/114822_2.png) [@bootstraponline](https://meta.discourse.org/u/bootstraponline)
#### Post date: [08.Январь.2015 03:46:33 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/8 "2015-01-08T03:46:33Z")

</div>

I double checked and I have that setting enabled. Unfortunately it doesn’t demotivate them. ☹

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [08.Январь.2015 04:29:28 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/9 "2015-01-08T04:29:28Z")

</div>

> [@bootstraponline](#):
>
> [appium.io](http://appium.io) doesn’t have anything to do with kitchens.

Neither does SitePoint, yet

```
exdisplaykitchens1.co.uk	do_nothing	13	2015-01-05 20:49:51	2014-09-17 12:19:15 

```

That’s 13 matches from Sept 17 to Jan 5  
persistent buggers  
Having System Flag posts containing the word “kitchen” would be a godsend for us.

---

<div class="post-metadata">

### Author: ![chapel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapel/32/122414_2.png) [@chapel](https://meta.discourse.org/u/chapel)
#### Post date: [08.Январь.2015 07:39:00 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/10 "2015-01-08T07:39:00Z")

</div>

Looks like the spam made it here: [https://meta.discourse.org/t/cut-price-kitchens-uk/23772](https://meta.discourse.org/t/cut-price-kitchens-uk/23772)

It has been flagged (I flagged it at least).

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [08.Январь.2015 11:38:43 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/11 "2015-01-08T11:38:43Z")

</div>

I noticed this bullshit kitchen spam on Ember, Docker and Here. This strongly indicates this is somehow automated and there is a new bot of sorts targeting us.

---

<div class="post-metadata">

### Author: ![markwilkin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markwilkin/32/133810_2.png) [@markwilkin](https://meta.discourse.org/u/markwilkin)
#### Post date: [08.Январь.2015 12:10:19 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/12 "2015-01-08T12:10:19Z")

</div>

It’s not just happening on Discourse it’s popped up on a phpbb board I moderate on as well on Tuesday. This ‘kitchen spam’ has been happening on other UK boards I’ve moderated professionally for a few years now, it’s popped up all over.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [08.Январь.2015 13:46:39 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/13 "2015-01-08T13:46:39Z")

</div>

Yes, it has been going on for so long I’ve forgotten when it started.  
At vB, being a web dev forum, the likelihood of a legit use of the word “kitchen” was slim enough that a word filter block worked great with no false positives that I can recall.

Of course if a forum does discuss kitchens it would cause problems.

---

<div class="post-metadata">

### Author: ![lisajill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lisajill/32/32289_2.png) [@lisajill](https://meta.discourse.org/u/lisajill)
#### Post date: [08.Январь.2015 15:37:44 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/14 "2015-01-08T15:37:44Z")

</div>

We’ve had several of these and [Akismet](https://meta.discourse.org/t/fight-spam-with-the-akismet-plugin/22570) has caught all of them. 🙂

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [08.Январь.2015 15:40:43 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/15 "2015-01-08T15:40:43Z")

</div>

I had forgotten about that plugin! Thanks for the reminder.

---

<div class="post-metadata">

### Author: ![bootstraponline](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bootstraponline/32/114822_2.png) [@bootstraponline](https://meta.discourse.org/u/bootstraponline)
#### Post date: [08.Январь.2015 22:09:37 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/16 "2015-01-08T22:09:37Z")

</div>

Akismet sounds like the best solution, thanks for the link!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Январь.2015 22:58:42 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/17 "2015-01-08T22:58:42Z")

</div>

Yeah better to bring the Akismet plugin into the fold as @eviltrout is currently doing (after tagger) rather than building out a lot of redundant text detection stuff.

I can see a use case for blocking arbitrary text with a custom message, this would fix your problem with the inserted default text links, too, @cpradio. Kind of a dangerous feature in some ways but if we say you can’t block text unless it is 6+ chars in length, less so.

In general spammers, as dumb as many of them are, are still a bit smarter than using the same URL over and over. We banned spam URLs for years at Stack Exchange and the repeat hit rate was _tiny_. Once the URLs are burned they tend to switch really fast.

---

<div class="post-metadata">

### Author: ![chapel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapel/32/122414_2.png) [@chapel](https://meta.discourse.org/u/chapel)
#### Post date: [08.Январь.2015 23:00:29 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/18 "2015-01-08T23:00:29Z")

</div>

Curious with the akismet plugin, if we are to start using it now, what will happen when it is bundled by default?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Январь.2015 23:01:17 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/19 "2015-01-08T23:01:17Z")

</div>

No idea, the main difference from my perspective is you have a stable of official plugins that are guaranteed to work with each new release and probably the betas too.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [08.Январь.2015 23:12:17 UTC](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764/20 "2015-01-08T23:12:17Z")

</div>

> [@codinghorror](#):
>
> I can see a use case for blocking arbitrary text with a custom message, this would fix your problem with the inserted default text links, too, @cpradio.

Agreed. Low priority for me though (as I think you are referring to the “link description here” that @Mittineague actually posted), but if you have something else in mind… please do say so (I’m just not connecting the dots).

I like the idea of keyword based auto spam, but I like it more of: Hide the post automatically if said keyword is in the post. That way false positives can be dealt with and the word removed if it does too much harm.

[Следующая страница](https://meta.discourse.org/t/keyword-based-auto-spam-ban/23764.md?page=2)
