- cross-posted to:
- linuxfurs@pawb.social
- linux@lemmy.ml
Possibly linux ( @possiblylinux127@lemmy.zip ) English13•1 year agoThis is why we need sandboxing. Right now the Linux desktop is still lacking in terms of security
:arch: bitterseeds ( @bitterseeds@fosstodon.org ) 4•1 year ago@possiblylinux127 @wisha And how would sandboxing a malicious script inside a theme that is supposed to change the look of your desktop work? They installed and ran something that rm’d their home directory. I’m honestly curious how you’d solve this.
A more locked-down theming API could help. For example Firefox themes are always 100% safe to install. That said, Firefox themes are almost useless (they’re more like color schemes lol), and no one wants to lose KDE’s powerful customizability so 🤷🤷
Canary9341 ( @Canary9341@lemmy.ml ) 4•1 year agoPerhaps having different categories with different limitations would work well. Using the firefox example, prioritize the use of WebExtensions, but keep XUL/XPCOM with appropriate warnings.
JackGreenEarth ( @JackGreenEarth@lemm.ee ) English4•1 year agoWhat do you mean? I have Firefox themes that change the whole look of the browser, using userchrome.css.
Kayn ( @HKayn@dormi.zone ) 2•1 year agoThat’s obviously not what OP was referring to when mentioning “Firefox themes”.
JackGreenEarth ( @JackGreenEarth@lemm.ee ) English1•1 year agoMaybe, I was showing that there were better ways to theme Firefox though
Possibly linux ( @possiblylinux127@lemmy.zip ) English3•1 year agoIf it ran in a sandbox it would just wipe its own files instead of the system. Under no circumstances should a plugin from some random guy online be running with such high privileges
:arch: bitterseeds ( @bitterseeds@fosstodon.org ) 0•1 year ago@possiblylinux127 I was asking how you’d run something that modded the whole UI … sandboxed.
Possibly linux ( @possiblylinux127@lemmy.zip ) English1•1 year agoYou would need to expose some sort of hook that allows modifications
SELinux? Apparmor? (Serious question, I don’t know if there might be features that render those two inadequate)
Bro666 ( @Bro666@lemmy.kde.social ) 6•1 year agoNot malicious. Just buggy – a downright nasty bug, but a bug.
Pantherina ( @Pantherina@feddit.de ) 3•1 year agoExtensions need to follow standards, and be installed as non-executable files in defined categories.
Everything else has to be removed or behind a huge warning.
Bro666 ( @Bro666@lemmy.kde.social ) 4•1 year agoThat is not possible. widgets and Global themes have to be able to execute code to work.
By the way: the code was not malicious, just badly written.
Pantherina ( @Pantherina@feddit.de ) 1•1 year agoWhy do global themes need to do that? Arent they just color and image files, maybe audio?
It doesnt really matter if the code was malicious or not, this should not be possible.
Another example of how damn insecure linux is. Just because its not the snap store, we dont have tons of malicious addons on pling.
KDE ( @kde@floss.social ) 7•1 year agoThat is regular themes.
_Global_ themes also modify the desktop’s behavior and hence contain code to do that.
jaxil6 ( @jaxil6@futurology.today ) English3•1 year agoI thought wayland was supposed to improve security. Were the past 18 years a lie?
Pantherina ( @Pantherina@feddit.de ) 12•1 year agoUhm, Wayland improves security but its just one component. Will a bash script work the same on Wayland as on XOrg? Yes.
Bro666 ( @Bro666@lemmy.kde.social ) 7•1 year agoYou must have heard that old chestnut about how “the weakest security link in the security chain is the user” by now. There is nothing any technology can do if the user decides to install insecure stuff. Even before today, the KDE Store prominently displayed warnings about being careful with the content.
Sabata11792 ( @Sabata11792@kbin.social ) 2•1 year agoReading the comments, looks like bad/old code mixed with a big update rather than anything malicious. I even ran into themes that killed my KDE last night. Had to purge the configs themes to get it working. Damn glad I didn’t wipe my entire setup.
Bro666 ( @Bro666@lemmy.kde.social ) 6•1 year agoCorrect. The theme creator missed a variable that is not part of the Plasma environment anymore, and instead of running
rm -Rf [something]
it run
rm -Rf
😬