Here is the “tripwire” that I am setting to keep an eye on these folks. Sharing in case anyone else wants to try it or has suggestions.
Potential Spam User Watcher.json (5.7 KB)
- Create a group
- Update group in workflow
- Add candidates to it
At this rate, you could develop some rough logic to auto-add users to this group:
- Hotmail email address with name+###'s
- Username is not found in email
- When the space is removed from the display name, it matches the username
I have another workflow that scores users based on the above criteria. I’ll share it if/when it seems successful. Here is the code behind it, though:
var items = $input.all();
items.forEach(function(item) {
var u = item.json.user || item.json;
var email = String(u.email || "").toLowerCase();
var username = String(u.username || "").toLowerCase();
var name = String(u.name || "").toLowerCase();
var parts = email.split("@");
var local = parts[0] || "";
var domain = parts[1] || "";
var signals = {
digits_in_email: /^[a-z.]+\d{2,}$/.test(local),
name_is_username: username.length > 0 && name.indexOf(" ") > -1 && name.replace(/\s+/g, "") === username,
username_not_in_email: username.length > 0 && local.indexOf(username) === -1
};
var score = Object.keys(signals).filter(function(k) { return signals[k]; }).length;
// Only hotmail is in scope; everything else scores 0
if (domain !== "hotmail.com") { score = 0; }
item.json.spam_score = score;
item.json.spam_signals = signals;
console.log("spam check", username, domain, score, JSON.stringify(signals));
});
return items;
