-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex for Spam Usernames #1
Comments
A regex-trie may be useful here. Here's an explanation |
Interesting, thanks for that. |
If any one wants to contribute, drop in the regexes into this file here https://github.com/SOBotics/UserStalker/blob/master/data/blacklistRegex.txt |
Are you happy with a computer generated regex-trie, or are you more after a human readable regex? |
Anything is fine. As long as it does the job. |
Note that my uneducated impression is that these are just vague guidelines to help figure out filters for the future. Catching all those Mayweather vs McGregor spam accounts won't be terribly helpful going forward. Similarly, filtering for |
Come to think of it, in cases of false positives one often wants to look at the pattern that was triggered. So if a TRIE is included, it would probably be prudent to additionally provide the list of keywords from which the TRIE was generated. |
@adeak Yeah, you raise a good point if we're trying to catch future spammers |
There is a blacklisted username list by Charcoal for SmokeDetector here |
Yeah, we're using that, but it certainly isn't as comprehensive as Rubio's list. |
I'm marking this as "closed", because the action items have been completed. We are now using all of the regex blacklists available from HeatDetector (to detect offensive words) as well as those available from Charcoal's SmokeDetector project (which will detect known trolls/spammers, as well as known problematic patterns). Plus, User Stalker has its own user-name blacklist built in, which includes Rubio's list, and is meant to be kept up-to-date by any moderator who handles the User Stalker reports. Help is, of course, always welcome on improving and/or expanding the regexes in blacklists. If you have something you want to add or improve, simply submit a pull request (PR) for one of the existing patterns (https://github.com/SOBotics/UserStalker/tree/master/patterns). If you have a more complex suggestion, please open a new Issue. |
One of the Puzzling Stack Exchange moderators, Rubio, has provided us with dataset of usernames which were used to spam Puzzling Stack Exchange.
The list is here https://pastebin.com/CkeV99c5
Can we come up with a new Regex list to catch most of these spammers?
I need some help to create the regex list, not to develop anything. We can use a new file on GH to store the new regexes and just use the same code which we are using to match against the smokey blacklisted username list.
The text was updated successfully, but these errors were encountered: