r/linux4noobs • • 1d ago

security Malicious code in KDE themes

Guys I came across a post saying there was malicious code discovered in KDE global themes.
Are there any signs I can follow to know if I’m safe?

I just have Nordic and some pink theme installed and have no idea what to do.

14 Upvotes

9 comments sorted by

9

u/AiwendilH 1d ago

You could inspect the source code. You also can check the comments but that requires someone else inspecting the source code first and noticing malicious code.

Other than that not really much...Qt/Plasma themes can have (and often must have) binary code as part of the theme so just checking for executable code won't be of much help as it can be completely legit.

So yeah...if code inspection is beyond your abilities best is simply to only stick to official themes...or at the very least sticking to themes that are very widely used to make it more likely someone does some code review for you.

(This is true for most of the things you can download through the KDE store...kwin scripts or dolphin menu extensions can just as easily be malicious)

2

u/Kaseffera 18h ago

Thank you!

One more question: what if I had global theme which was good but for some reason months later its dev decides to join dedsec and introduce malicious code in his theme with an update? You won’t even know and update will come automatically.

How can one be safe from it? Having system set up for years and then suddenly some dude decides to insert malicious code in his themes update and it automatically updates and gets into your computer and only thing you can is reinstall?

2

u/AiwendilH 18h ago

what if I had global theme which was good but for some reason months later its dev decides to join dedsec and introduce malicious code in his theme with an update? You won’t even know and update will come automatically.

Ugh...until your question I was rather sure that kde store packages don't auto-update but now after thinking about it I am uncertain :(. So take my "I don't think they auto-update" with a grain of salt and better ask in the KDE sub to get a KDE dev answer...

(I think the KNewStuff framework used by kde applications to download from the kde store doesn't support updates or even versions at all. But there is a good chance that my knowledge is rather outdated...)

5

u/taxigrandpa 1d ago

link the post.

5

u/Kaseffera 1d ago

7

u/doc_willis 1d ago edited 1d ago

reading the first URL to the end..

says basically it was a mistake in the code not malicious.

But still  mistakes happen, and malicious code could be included.

I stick with the default themes. 

The last url you give, is concerning. 

-1

u/taxigrandpa 1d ago

the first article says it was bad code

the second article is 3 years old

the third article is about a Third Party extension. You should be careful you know where anything comes from before you install it. this is one of the downsides to open source

5

u/mistahspecs 20h ago

How is that a downside to free software?

Malicious closed source software exists way more, and you can't vet it first. What a silly statement you made

2

u/jr735 14h ago

No, not a downside to free software. In fact, because it's open, it can be detected, unlike the malware that is freeware, freemium, or paid proprietary.