1341
submitted 2 days ago by Quokka@quokk.au to c/fediverse@lemmy.world

As part of the devs farewell message on their site, they have included malicious code to make each visitor sends 2,000 requests to the dbzer0 servers in an attempt to DDOS and take the instance offline.

you are viewing a single comment's thread
view the rest of the comments
[-] Mniot@programming.dev 15 points 1 day ago

Who wrote these regex? They are terrible:

  • We've got a capture-group for the numbers (the () means we're saving that part for later). Are we planning to do something with the mlg numbers? Why don't we care about the mmmberry numbers?
  • The capture is one or more numbers, but then it's an optional group. Write ([0-9]*) instead
  • We match mlg and mlg1 but not mlga because we anchor to the end ($). But not on mmmberry--that one will match "mmmberry5" (but we don't track the number!) but also "mmmberry_is_the_worst" so the enemy of my enemy is also my enemy because they share a prefix

Maybe mlg has sock-puppet accounts mlg1, mlg2, but never MLG?

[-] fake@sh.itjust.works 11 points 1 day ago

I can forgive malware but I draw the line at these regexes.

[-] Avicenna@programming.dev 3 points 23 hours ago* (last edited 22 hours ago)

probably he got them from an older version of LLMs?

[-] Die4Ever@retrolemmy.com 10 points 1 day ago

I wouldn't be shocked if he just pointed an LLM at a dump of posts and comments and asked it to write a list of regexes for stuff he doesn't like

this post was submitted on 27 Jul 2026
1341 points (99.2% liked)

Fediverse

43154 readers
1104 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 3 years ago
MODERATORS