SentryBot @sentrybot.excessive.space · 27/09/2026Me: *trying to create an @ovhcloudus.bsky.social account* OVH Cloud: 000
SentryBot @sentrybot.excessive.space · 18/09/2026Bam. No more nasty file format processing for me! As always, a huge thanks to open source tooling like ImageMagick, Wand, and more for making coding safe, easy, and fun! So, yes. SentryBot is now safe from the nasty exploits through file formats, and is easily added to in future if more show up. 000
SentryBot @sentrybot.excessive.space · 18/09/2026We need to stop it doing any conversion, so let's just throw in what we hope will work: 100
SentryBot @sentrybot.excessive.space · 18/09/2026This is how I currently process images into png files. This is all happening in RAM, because the hard drive is lava when you are hard-enforcing "no private data storage". 100
SentryBot @sentrybot.excessive.space · 18/09/2026Well... no. Discord doesn't preview any HEIC/HEIF/AVIF images when they are linked, and if you drag/drop such images into the clients, they are converted to JPG (I wonder if they use ImageMagick). Right, so safe to ignore such files, since users will ignore them too! 100
SentryBot @sentrybot.excessive.space · 18/09/2026SentryBot uses ImageMagick through the awesome Wand bindings to convert all files it encounters into crisp PNG files before hashing them. What do? Firstly, identify what needs to happen: we need to stop it processing the three file formats. What will happen if we do this? Will scams get through? 100
SentryBot @sentrybot.excessive.space · 18/09/2026Some lovely chaps found a series of exploits in the primary image-handling libraries used by ImageMagick (and other similar tools) for HEIF/HEIC/AVIF files. heif-heist.comheif-heist.comHEIF HeistOne image parser to pwn them all. Hacktron research into remote exploitation through production HEIF, HEIC, and AVIF image pipelines. 100
SentryBot @sentrybot.excessive.space · 18/09/2026Okay, so we all giggled at xkcd.com/2347/ and all the memes of it. But today is the day when the flavor text is important. "Someday ImageMagick will finally break for good and we'll have a long period of scrambling as we try to reassemble civilization from the rubble." Today is the day!xkcd.comDependency 100
SentryBot @sentrybot.excessive.space · 05/09/2026So, for now, I need to get the filtering and diffing working, then make the archive have its own section where it will process images of text. Fun fun! 000
SentryBot @sentrybot.excessive.space · 05/09/2026Now, I could use this to post-process each image seen and use it to automatically add the image to my dead-drop for such things (a CF bucket without web-visibility), but doing so would brush up against my privacy policy: excessive.space/policies/pri... 100
SentryBot @sentrybot.excessive.space · 05/09/2026"But Damaged!" I hear you ask. "Why not use this method to catch crypto scam images too?" That is a thorny one. Let me explain! The two images here are of the OCR of two different images. One is a scam image, the other is a meme of the scam format. We want to get the scam, but not the meme. 101
SentryBot @sentrybot.excessive.space · 05/09/2026Now that is something I can work with! So it looks like now I'll be in the text diff hashing business, and will need a list of strings (maybe regex too?) to find these scams. 100
SentryBot @sentrybot.excessive.space · 05/09/2026This, with a little more processing of text output, will give: 100
SentryBot @sentrybot.excessive.space · 05/09/2026OCR, though, is intense. Running that on my bot server is horrid, slow, and crashes often due to OOM. What to do? @cloudflare.social has a neat set of tools for doing OCR with cut-down AI models. For fractions of cents per image, I can make them do the hard work. Yay! 101
SentryBot @sentrybot.excessive.space · 05/09/2026At first, I figured "Why not just add them to the image hashes and deal with it like that?" but I don't think that's really going far enough, or doing the job right. I've long been interested in leveraging OCR to assist in recognizing scams. This would make a good first use-case. 100
SentryBot @sentrybot.excessive.space · 05/09/2026Scammers are mostly doing the same ol'-same ol'. Have seen the first of something different. Scammers using images of text to get around regular moderation tools for text. Example (cropped and edited to remove the scammer): 101
SentryBot @sentrybot.excessive.space · 17/07/2026Hey, @discord.com, Accessibility "text size" setting isn't affecting the description field in embeds (tested on desktop, native client). Those of us with poor eyesight really need those accessibility features. 010
SentryBot @sentrybot.excessive.space · 13/07/2026Suffer in ya jocks, scammers. Opensource always wins. 110
SentryBot @sentrybot.excessive.space · 13/07/2026Ooooh. Looks like our friendly neighborhood crypto-scammers have come up with a new trick to avoid picking up reused images: they stitch them together! Oh no! What am I to do? How will I defeat the— Oh. I guess I could just use @opencv.bsky.social and split them apart. Yeah, that'd work. 141
SentryBot @sentrybot.excessive.space · 10/07/2026Regarding the "Personal Information" snippet in the title (and on the banner of the bot): it is (of course) an xkcd comic xkcd.com/1998/ Alt text: By clicking anywhere, scrolling, or closing this notification, you agree to be legally bound by the witch Sycorax within a cloven pine. 000
SentryBot @sentrybot.excessive.space · 07/07/2026- They appear to be getting more persistent - They don't seem to be using hijacked accounts (maybe that was another attacker I just haven't seen lately?) A couple of wins for the day (: 010
SentryBot @sentrybot.excessive.space · 07/07/2026- They don't seem to attack servers that use their own link that forwards to a discord invite (so they're clearly scraping social posts, and only using actual Discord invite URLs) - Seems to be a slow trickle of them joining servers over a day, before they all spam in a wave at the same time 110
SentryBot @sentrybot.excessive.space · 07/07/2026Wew! Blew away a bunch of scambots today. Some musings on them 🧵: - They seem to all trigger at around the same time, maybe they're a single big botnet with a single command and control node commanding them? - Only two images in the messages today. - They latch onto a server invite 110
SentryBot @sentrybot.excessive.space · 30/06/2026Okay, I am giving this bot the keys to my castle. How can I be sure it isn't going to abuse my server and institute a robot uprising? Well, you can't. You are trusting me not to change the code. As far as the code goes, though, it's free to look at and use! github.com/SomewhatDama... 100
SentryBot @sentrybot.excessive.space · 30/06/2026How can I help improve SentryBot: - Reporting scam images is the easiest way email them to me sentrybot@excessive.space 100
SentryBot @sentrybot.excessive.space · 30/06/2026How do I get SentryBot: By clicking this link and adding it to your server discord.com/oauth2/autho... You can add extra permissions to the role it makes (as indicated above) to allow it to do more, but you need to make sure it can see/reply. Do this test by pinging it in channels. 100
SentryBot @sentrybot.excessive.space · 30/06/2026Why SentryBot: Because I hate seeing my friends lose their accounts, losing money to the scams, and because scammers can eat a plate of dicks! 100
SentryBot @sentrybot.excessive.space · 30/06/2026What do the spammers see: - Their messages dealt with in a fast manner - A direct message from the bot telling them what is happening and who to contact to resolve it - A forwarded copy of one of their messages 100
SentryBot @sentrybot.excessive.space · 30/06/2026How does SentryBot know these images are accurate: - Perceptual hashes—it gets a score of how different the currently checked image is compared to a list of bad ones - Dimensions—once verified it looks similar to a known image, the aspect ratio is tested just in case it's a false positive 100
SentryBot @sentrybot.excessive.space · 30/06/2026What actions can SentryBot take: - Deleting message—if you give it manage_messages - Timeout users—if you give it manage_members - Kick users—if you give it kick_members - Ban users—if you give it ban_members In each case, it lets moderators know what it has done and leaves audit log entries. 100
SentryBot @sentrybot.excessive.space · 30/06/2026What does SentryBot do: It will check every message against a list of known bad images. That list gets updates the moment new scam images are found. By default it will just notify, but if you give it extra management permissions, it will take action to secure your server. 100
SentryBot @sentrybot.excessive.space · 30/06/2026What is SentryBot: SentryBot is a Discord bot that can protect servers from hacked users who spam crypto scam images. It will notify moderators (folks who can ban). 111
SentryBot @sentrybot.excessive.space · 30/06/2026What's this? A wild SentryBot in its natural environment? Details below ⬇️ 120