
On Wednesday, the KDE workforce warned Linux customers to train “excessive warning” when putting in world themes, even from the official KDE Retailer, as a result of these themes run arbitrary code on gadgets to customise the desktop’s look.
The KDE Retailer presently permits anybody to add new themes and numerous different plugins or add-ons with none checks for malicious conduct.
Nonetheless, as KDE stated, it presently lacks the sources to assessment the code utilized by every world theme submitted for inclusion in its official retailer. If the themes are defective or malicious, this may end up in sudden penalties.
“International themes and widgets created by third occasion builders for Plasma can and can run arbitrary code. You might be inspired to train excessive warning when utilizing these merchandise,” KDE cautioned.
“International themes don’t solely change the look of Plasma, but additionally the conduct. To do that they run code, and this code might be defective, as within the case talked about above. The identical goes for widgets and plasmoids.”
Code execution is required as a result of world themes are designed to vary the whole lot on a Plasma desktop, from icons to home windows decorations, lock screens, splash screens, wallpapers, shade schemes, and so forth, utilizing executable bash scripts.
International theme wipes person’s recordsdata utilizing ‘rm -rf’
In line with a Reddit submit quoted by KDE, a minimum of one person had their recordsdata wiped after putting in one such world Plasma theme.
After it was put in, the theme deleted all private information from mounted drives utilizing ‘rm -rf’, a really harmful UNIX command that forcefully and recursively deletes a listing’s contents (together with recordsdata and different folders) with out any warnings and prompting for affirmation.
When this command is used to delete recordsdata, they’re completely wiped and may solely be recovered utilizing information restoration software program or restored from backups.
Whereas the defective world theme has since been faraway from KDE’s retailer, another world themes out there by means of KDE’s official plugin repository may trigger information loss if the builders have not completely examined them earlier than submission.
“It executes rm -rf in your behalf [and] deletes all private information instantly. No questions requested,” the KDE person warned. “I canceled this when it requested for my root password, however it was too late for my private information. All drives mounted beneath my person had been gone, all the way down to 0 bytes. [G]ames, configurations, browser information, [and the] house folder [are] all gone.”
“Then it threw some form of error, [and] my plasma type of bought caught. [T]hen I checked and my two hard-drives had been totally erased, video games, configurations, private information, all gone. Any drive mounted with person permissions additionally worn out,” the person added in a separate Reddit submit.
KDE guarantees to begin vetting retailer content material
In gentle of the dangers behind putting in unvetted Plasma plugins, KDE requested the group to report defective software program already out there by means of the KDE Retailer.
The workforce additionally promised to curate retailer content material and enhance the warnings proven to customers earlier than putting in community-developed themes and plugins on their techniques.
“[W]e want to speak clearly what safety expectations Plasma customers ought to have for extensions they obtain onto their desktops,” stated David Edmundson, a Software program Engineer and Challenge Lead at KDE. “Then, we will take a look at offering curation and auditing as a part of the shop course of together with slowly enhancing sandbox help.”
“Should you set up content material from the shop, I might advise checking it regionally or searching for critiques from trusted sources.”
“However, this may take time and sources. We suggest all customers to watch out when putting in and working software program not offered instantly by KDE or your distros,” the KDE workforce added.
Till then, customers will nonetheless be warned when putting in world themes from the KDE system settings: “The content material out there right here has been uploaded by customers such as you and has not been reviewed by your distributor for performance or stability.”

