this post was submitted on 19 Jun 2023
16 points (100.0% liked)

Cybersecurity

5650 readers
201 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Notable mention to [email protected]

founded 1 year ago
MODERATORS
 

It seems every now and again some popular Chrome or Firefox extension decides to "go evil" seemingly out of nowhere.

Stylish got caught logging browser history, The Great Suspender turned out to be spyware, and, in the case of "get cookies.txt", which was endorsed by youtube-dl, apparently the user is not the only one "getting" the cookies.

In most of these cases, it seems that trustworthy extensions get sold off to some shady third parties, or the developers just "turns evil". This got me wondering: would it be an effective security precaution to simply disable updates for browser extensions? i.e. to download the extension manually from the developer, instead of relying on chrome web store / firefox addon catalogue. It wouldn't help much if the extension you're using contains malware now, but it would prevent malware being installed in potential future updates.

So, what do you guys think?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (1 children)

Personally, I removed any addon that's not open-source and thus subject to inspection by outside individuals, and even then, basically have limited it to a password manager and ublock origin.

I know 'you should read the code!' is very nonsense as a security measure, but if it's public the odds of SOMEONE reading it and finding out it's doing shady shit is substantially higher, and if shady shit happens, you just fork the code pre-shady and carry on.

Also, the workflow reliance on all these add-ons has always struck me as maybe not the best choice: it's just adding software to your browser that has access to data that's of value for black hats, marketers, and other unsavory types. Even if the dev doesn't sell you out, there's no guarantee that some otherwise perfectly innocuous behavior can't later be exploited due to some security issue.

[–] [email protected] 0 points 1 year ago (1 children)

but if it’s public the odds of SOMEONE reading it and finding out it’s doing shady shit is substantially higher

See, that's the banger: The Great Suspender is licensed under GPL and its source code is available on GitHub. The malware was injected specifically into the chrome web store version. So that's why I'm slightly paranoid of automatic updates.

[–] [email protected] 1 points 1 year ago

It looks like the problem here is you can "sell" the published version along with the code, and the new developer gets access to your already installed userbase.

That uh, probably shouldn't happen. I'll even go so far as to say that's completely insane and there should be NO WAY a purchaser of anything should get access to publish a new version of something under the same name and have it push out updates without manual user intervention.

For example, Apple/iOS does it sanely where if a new person is going to publish even the exact same app, they consider it a completely separate and new piece of software and it won't auto-update the previous incarnation of itself, and it's checked for suspicious nonsense as if it was brand new and never seen before.