FYI to all the VS Code peeps out there that malicious extensions can gain access to secrets stored by other VS Code extensions as well as the tokens used by VS Code for Microsoft/Github.

I really don’t understand how Microsoft’s official stance on this is that this is working as intended…

If you weren’t already, be very careful about which extensions you are installing.

  • sorrybookbroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    Glad this was found due to the open source nature of vscode, who knows how long something like this could have festered if someone malicious found it via decompiling and reverse engineering.

    Open source is great at finding vonurabilities fast and fixing them, but I can understand the idea behind closed source code taking longer to find but longer to become public, and be fixed

    • Avid Amoeba
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      TBH, you don’t need to read any source to figure this out. If a third party binary can execute other processes under your user, they can do anything that you can which doesn’t require admin privileges. Given how many extensions launch other programs, it’s pretty much a given this is the case.