• @mvirts@lemmy.world
    link
    fedilink
    121 year ago

    Great time to mention tools like testdisk that can easily recover data that has been recently deleted on common filesystems.

  • Possibly linux
    link
    fedilink
    English
    91 year ago

    This is why we need sandboxing. Right now the Linux desktop is still lacking in terms of security

    • :arch: bitterseeds
      link
      fedilink
      41 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.

      • @wisha@lemmy.mlOP
        link
        fedilink
        91 year ago

        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 🤷🤷

        • JackGreenEarth
          link
          fedilink
          English
          41 year ago

          What do you mean? I have Firefox themes that change the whole look of the browser, using userchrome.css.

          • Kayn
            link
            fedilink
            2
            edit-2
            1 year ago

            That’s obviously not what OP was referring to when mentioning “Firefox themes”.

            • JackGreenEarth
              link
              fedilink
              English
              11 year ago

              Maybe, I was showing that there were better ways to theme Firefox though

        • @Canary9341@lemmy.ml
          link
          fedilink
          41 year ago

          Perhaps 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.

      • Possibly linux
        link
        fedilink
        English
        31 year ago

        If 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

  • Sabata11792
    link
    fedilink
    31 year ago

    Reading 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@lemmy.kde.socialM
      link
      fedilink
      61 year ago

      Correct. 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
      

      😬

  • @Pantherina@feddit.de
    link
    fedilink
    21 year ago

    Extensions 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@lemmy.kde.socialM
      link
      fedilink
      61 year ago

      That 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@feddit.de
        link
        fedilink
        11 year ago

        Why 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
          link
          fedilink
          101 year ago

          @Pantherina @Bro666

          That is regular themes.

          _Global_ themes also modify the desktop’s behavior and hence contain code to do that.

    • @Pantherina@feddit.de
      link
      fedilink
      131 year ago

      Uhm, Wayland improves security but its just one component. Will a bash script work the same on Wayland as on XOrg? Yes.

    • @Bro666@lemmy.kde.socialM
      link
      fedilink
      81 year ago

      You 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.