Replying to @⁨Gullible@sh.itjust.works⁩

My last boss, ciso, wrote the dumbest fucking email I have ever viewed. He basically told the CIO that ai threats were real and the best course of action was to upgrade some identity systems instead of investing in abities to prevent or detect ai threats.

A few months later, CIO asks what we are doing about ai threats. The uncomfortable silence.of his dumb ass was delicious as I had been advocating to invest in ai since I started.

Joke is on me though, he fired me not long ago. I will happily watch as they get turned inside out by their own asshole.

Replying to @⁨Gullible@sh.itjust.works⁩

I just had, in a pinch, and with a bit of prodding, Google’s AI search_overview/search_chatbot/product_recommender shart out a 30 line odd Python script for a piece of software that I’m familiar with but whose scripting I’ve never really used. Just something to speed up a verifiable, but obnoxious and repetitive task. Maybe the second time I do something like this since the Talk To Transformer novelty wore off. And I am my workplace’s soapbox LLM hater, right. I like doing things the hard way and writing my own shit spaghetti code because I know how I write and I know how to dive back into it. Setting aside taking ownership of one’s own words when it comes to writing regular text to just talk about the “practical” use here.

I cannot begin to fathom how powerful LLMs must feel to someone not technically inclined who doesn’t have an automatic revulsion to its output. I feel like many people are getting fatigue from machine generated images and just find it unpleasant, but Magic Text Box seems impossible to shake off for so many people around me.

(The script is not beautiful and I want to change some bits of it either way when I have some spare time for the future. Not wanting to rewrite it wholesale does feel like I’m giving into something I don’t believe in to be frank)

Replying to an earlier post

Here in Japan, I’m getting notices that my data was leaked by some service I use several times a week for the last few weeks. This is partially because services ask for way more data than they really need and Japan not taking security seriously at all (like, until very recently, plaintext passwords 6-8 chars, no special chars, etc.). I’m not even exaggerating: a retailer I order baking supplies from, a huge chain, got hacked today; I had another notification yesterday from Nitori, one of the largest home shops in Japan; and I’ve had many more over the last weeks.

Replying to @⁨Beep@feddit.online⁩

A decent content security policy (CSP) would have stopped this in it’s tracks. The fact that none of these brands cares enough about security or their customers to even have the most basic protections in place is abhorrent

Here’s a funny trick: if you open Google Chrome and use Lighthouse on Google’s own websites (YouTube, Gmail, etc), they fail their own best practices tests. I wish I were kidding

Replying to @⁨Tehhund@lemmy.world⁩

It is a set of rules for the website, outlining what domains are allowed to do various activities on the page after loading. For example: you can configure it to prevent inline <script> tags, only allow xyz domains to load scripts, and only allow network requests to xyz hosts. This configuration would prevent this from doing anything at all - there would just be errors in the console when the malware attempts to create the malicious script tags.

Most websites don’t bother because it’s mildly inconvenient for the developer to have to whitelist things all the time, and many js libraries are poorly written and will fail to work with this configuration. For example many advertising and tracking libraries (including the one from the article) specifically tell people to enable “unsafe-inline” and “unsafe-eval”. Like it literally has unsafe in the name lol

Replying to @⁨chunes@lemmy.world⁩

So it’s not 100% effective but usually the extra bullshit scripts can’t even load until the mandatory ones are running, so the first set of scripts get permission for that session and then any latecomers are shit out of luck. Sometimes the second set of scripts are allowed if there’s only a few of them and the page has embedded media as they are usually for that, but in those cases the bullshit scripts are usually in wave 3 and thus mostly still avoided.

Replying to @⁨chunes@lemmy.world⁩

Not OP but I do the same. Virtually all trackers and advertising are run from other sites, and there’s really just a handful, so you get to recognize them pretty quickly. When elements of a site don’t work it’s usually pretty obvious why. For example, if a video isn’t working, you’ll usually see a domain in the blocked list with the word “player” in there. Enable it and the video usually starts working. Domains with “cdn” in the name also break sites and need enabling. Trackers and ads often have the word “track” or “ad” in the domain (they’re not very imaginative, thank goodness!) so easy to recognize and leave blocked.

Replying to @⁨CheeseNoodle@lemmy.world⁩

Shit, I won’t log into anything without a VM, or a bootable USB. I know, 2FA is an annoying bitch, but I am not going to trust any device or save any password.

And passkeys? Those can fuck right off.

My coworker has a USB drive that stores his passkeys. It is on his car keys. He went to take a piss, and I threw his keys into my bottom drawer.

Then we discussed the security implications of passkeys for the entire afternoon. When he was ready to leave he finally noticed his keys, and his passkey drive, were missing.

I joked, “Hang on, the image is almost done.” And tossed him his keys.

"Dude, nothing beats physical access when it comes to hacking. You left the keys on your desk. What if I were to mug you on the street? Your car has a license plate, but your thumb drive doesn’t. I could have swapped the drive and you would have never noticed:

“You wouldn’t have known I emptied your bank accounts until after you figured out how to finally log in and your money, lo and behold, is long gone.”

Replying to @⁨Beep@feddit.online⁩

It always have annoyed me the whole modern “micro dependency” ecosystem, but I legit had no idea that so many big brands were using external JS on their sites… WTF dude?

JavaScript developers are the literal worst, like how does it become culture to be so reckless? not a single developer goes like “ehhh this is sketchy as fuck, maybe we should do a bit of good engineering”??? like they really truly believe on the “do not reinvent the wheel” bullshit, as they proven many times over with nodejs supply chain malware for dependencies like “strip left”…

sorry but my respect for JS people is on all times low (and it was super low to begin with)

Replying to @⁨topperharlie@lemmy.world⁩

Oh, dude, EVERY site pulls in a bunch of external JS. Try installing noscript, might have to use Firefox, might not work with Chrome anymore, and just check some of your favorite sites. It’s extremely common for sites to pull in JS from 3-6 external sites, plus their own CDN if they have one. Store fronts tends to be the worst. Very easy to end up with over a dozen external URLs being hit for external JS.