• towerful@programming.dev
    link
    fedilink
    arrow-up
    92
    ·
    edit-2
    4 months ago

    What makes this even more sneaky is that JetBrains has a theme called “Darcula”.

    So, with a wider generic theme called Dracula and themes that duplicate JetBrains Darcula theme, it is no surprise that “Darcula Official” is being installed.
    It’s more than just a typosquat

    Edit:
    But why can a theme make web requests?!

    • hydroptic
      link
      fedilink
      arrow-up
      65
      ·
      4 months ago

      But why can a theme make web requests?!

      Because we live in a broken world and nothing matters.

      On a more serious note, it’s a pretty horrifying misfeature. What’s even more worrying is that by all appearances Microsoft doesn’t give a shit, if they apparently didn’t even bother removing the malicious extensions that were reported. Not that I’m surprised, but still.

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        16
        arrow-down
        3
        ·
        4 months ago

        But why can a theme make web requests?!

        Why can a Word or Excel file execute shell code? Why does M$ SQL Server have xp_cmdshell?

        Because we live in a broken world and nothing matters.

        Because devs chose to live in this part of the world, dictated by M$ and other large companies, who just don’t care.

      • towerful@programming.dev
        link
        fedilink
        arrow-up
        13
        ·
        4 months ago

        I think that’s how themes are distributed for VSCode, right?
        With VSCode, everything is an extension.
        But the vscode marketplace seems to have filters for themes, so there must be some way to differentiate them.

        I think extensions need a permissions system

        • Tekhne@sh.itjust.works
          link
          fedilink
          arrow-up
          17
          ·
          4 months ago

          You declare it in the package.json as a category when publishing. It’s completely self-selected with no oversight, review, or enforced permissions.

          • hydroptic
            link
            fedilink
            arrow-up
            3
            ·
            4 months ago

            Microsoft security practices haven’t changed much over the decades