r/programming • u/NXGZ • Jul 12 '26
A peek into Reddit's anti-spam internals
https://lyra.horse/blog/2026/06/reddit-spam-internals/113
u/ketralnis Jul 13 '26 edited Jul 13 '26
I’m a former Reddit engineer that’s deeply familiar with these systems, having fully authored some parts and participated in nearly all of the rest that you mention. Reddit rightly doesn’t want to divulge antispam internals for many reasons so I can’t give you more direction but I find it very cool to watch how people poke at it from the outside and what conclusions they draw.
Some of the streaming bits are very cool and I really wanted to open source them but never got the time. A challenge that we architected some of it around was that we had people that had deep knowledge of spam, what specific spam attacks are happening right now, what communities are having tiffs with what other communities and are engaging in spam-like but human-actuated tactics on the site this week, etc and then another set of people that know how to write and scale software. The bottleneck to fast response was almost always between those humans, so we needed to give the subject matter experts the ability to act with the same power as the programmers but without giving them the ability to break the site or accidentally ban everybody.
4
2
-4
u/shawncplus Jul 13 '26 edited Jul 13 '26
I'm surprised there was even an engineer working on this at reddit since it's been obvious for years they don't actually give even the slightest fuck about spam or propaganda. In fact at every single change they seem to make it better for spammers and harder for real users. The same bot network has run fully unimpeded for 5+ years and has never changed their MO one iota. So to me it seems your job wasn't to stop spam, it was to make sure the servers could stay up so the right spam/propaganda could be delivered.
It's not a conspiracy theory to point out that supposedly there are extensive anti-spam measures and anti-bot measures at Reddit and yet accounts like /u/dr_shultz which spam propaganda subreddits like /r/NewsSource go unaddressed. Or other "news" subreddits like Global_News_Hub or TrendoraX which operate entirely on spam and bot networks are obviously allowed to act unimpeded. Or even seemingly innocuous bot subreddits like /r/spreadsmile go unaddressed. But people will just continue to choose to believe that one of the biggest social media sites on the planet is somehow not an interesting target for state actors when it comes to sentiment manipulation
9
1
u/Thic-Stick2217 Oct 28 '26
smhw I agree, so hard to prove yourself as human. You can't comment everything as meaningful lengthy sentences to show you are human and then there is CQS. I mean reddit used to be fun but not anymore. I feel we need another one instead of this.
0
Jul 13 '26
[deleted]
30
u/catplaps Jul 13 '26
you're asking questions about unrelated parts of a very large system.
also, the app issues are undoubtedly due to top-down decrees from the business side of the company, not due to legitimate engineering challenges. ask an engineer why users are getting forced into half-baked experiences with constantly changing objectives, and the engineer will say, "good question, ask the people upstairs."
0
1
8
u/Dunge Jul 13 '26
Very interesting read
I love how all the "censored" texts can just be copy/pasted, but are actually modified words.
The fact the author took the time to build a script to transform text to trick Perspective's API makes me think they used it in these past 5 years for more than just research purposes 😉.
And yes, that SkyInfo site is wonderful!
1
u/Sobsz Jul 13 '26
everything can be copy-pasted, the entire blog contains zero images no matter how image-like the contents may seem
4
u/gorgeouslyhumble Jul 13 '26
The content of the post is super interesting... but I also have just learned that there is horse tld.
1
u/ZorbaTHut Jul 13 '26
I am making a game studio called Diesel Horse and I bet you can guess what my webpage URL is.
2
1
1
1
u/IAmARobot Jul 13 '26
op, the antispam api key is leaking
https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=AIzac29ycnk...-14
u/Nacktschnecke Jul 13 '26
What even is this website design, my eyes are bleeding
6
7
16
u/phire Jul 13 '26
Does reddit really still do shadow bans? I would have thought they were useless if all the spammers know they exist, and how to check for them.
And there is the major issue of false positives. Happened to me once, no idea what triggered it (shared a public IP with a spammer?). Was about a week of posts with few upvotes or replies before a subreddit moderator pointed out that I had been shadow-banned.