Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

Scheduled Pinned Locked Moved Uncategorized
49 Posts 34 Posters 202 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

    Also - if you think 'none of our users run VSCode', check your telemetry. They do. It doesn't even need local admin rights to install.

    I've tooted about this one for about two years now, Microsoft have created their own security bonfire and it's going off in their own backyard, they just haven't realised yet.

    brnrd@bsd.networkB This user is from outside of this forum
    brnrd@bsd.networkB This user is from outside of this forum
    brnrd@bsd.network
    wrote last edited by
    #27

    @GossiTheDog "how can you be so mean! We added a dialog bump 'do you trust this developer XiJinPing'"

    Same thing all over again, applications, consent dialogs, browser extensions, IDE plugins, ...
    Trusting that your users have sane judgement, prepare to mop!

    paco@infosec.exchangeP 1 Reply Last reply
    0
    • conanchiles@infosec.exchangeC conanchiles@infosec.exchange

      @GossiTheDog

      They recently added a feature to control what publishers are allowed

      Link Preview Image
      Centrally manage VS Code settings with policies

      Enterprise policies in Visual Studio Code enable organizations to centrally manage settings for their development teams. This reference details the available policies and how to implement them.

      favicon

      (code.visualstudio.com)

      epic_null@infosec.exchangeE This user is from outside of this forum
      epic_null@infosec.exchangeE This user is from outside of this forum
      epic_null@infosec.exchange
      wrote last edited by
      #28

      @ConanChiles @GossiTheDog And here I am just thinking "An open repository system where you add allowed sources would have allowed for better control from the start"

      1 Reply Last reply
      0
      • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

        RE: https://hachyderm.io/@ChrisShort/116606591908387955

        If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

        The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

        Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

        VSCode is an absolute security shittip as a result.

        stonebear2@hachyderm.ioS This user is from outside of this forum
        stonebear2@hachyderm.ioS This user is from outside of this forum
        stonebear2@hachyderm.io
        wrote last edited by
        #29

        @GossiTheDog ....

        .......

        and here I thought npm was bad. Sweet moldy cheezus on stale wonderbread with a radiator moonshine chaser and a frop stash full of ergot.

        1 Reply Last reply
        0
        • stevel@hachyderm.ioS stevel@hachyderm.io

          @GossiTheDog its permanently trying to make you add extensions, and the whole "trust this directory" prompt mapping to "run any code in this external repo" feature seems designed to fun the north korean government.

          It's reasonably lightweight, but I don't trust it any more as even if I only use it for text editing, it's too willing to run code from external sources

          stevel@hachyderm.ioS This user is from outside of this forum
          stevel@hachyderm.ioS This user is from outside of this forum
          stevel@hachyderm.io
          wrote last edited by
          #30

          @GossiTheDog in their favour: MSFT are showing how they've successfully implemented a cross-platform vulnerability ecosystem. ActiveX was windows only

          yacc143@mastodon.socialY 1 Reply Last reply
          1
          0
          • neffo@mas.toN neffo@mas.to

            @GossiTheDog @maccruiskeen is it pronounced corEnet or corPnet?

            I This user is from outside of this forum
            I This user is from outside of this forum
            ingmarvandijk@mastodon.social
            wrote last edited by
            #31

            @neffo @GossiTheDog @maccruiskeen coreP0WNED

            1 Reply Last reply
            0
            • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

              RE: https://hachyderm.io/@ChrisShort/116606591908387955

              If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

              The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

              Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

              VSCode is an absolute security shittip as a result.

              S This user is from outside of this forum
              S This user is from outside of this forum
              steppl@mastodon.social
              wrote last edited by
              #32

              @GossiTheDog

              Tried VScode, it was not really bad - except for my taste ate too much RAM, which becomes precious with all that AI and Browser-engine Apps.

              Still looking for something better than Notepad++ having:
              - low mem footprint
              - (relatively) fast
              - plugin/built-in support for couple languages I need

              1 Reply Last reply
              0
              • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                RE: https://hachyderm.io/@ChrisShort/116606591908387955

                If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

                The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

                Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

                VSCode is an absolute security shittip as a result.

                larthallor@mastodon.socialL This user is from outside of this forum
                larthallor@mastodon.socialL This user is from outside of this forum
                larthallor@mastodon.social
                wrote last edited by
                #33

                @GossiTheDog Just got notified by regular old Visual Studio that there is an update 18.6.1 except there are no release notes for 18.6.1.

                So now I'm left wondering if this is a fix for a security flaw I should install right now or the result of a supply side attack facilitated by a security flaw I should definitely not install.

                Whichever is the truth, I'm sure the correct approach is to ask CoPilot what to do, right Microsoft?

                1 Reply Last reply
                0
                • brnrd@bsd.networkB brnrd@bsd.network

                  @GossiTheDog "how can you be so mean! We added a dialog bump 'do you trust this developer XiJinPing'"

                  Same thing all over again, applications, consent dialogs, browser extensions, IDE plugins, ...
                  Trusting that your users have sane judgement, prepare to mop!

                  paco@infosec.exchangeP This user is from outside of this forum
                  paco@infosec.exchangeP This user is from outside of this forum
                  paco@infosec.exchange
                  wrote last edited by
                  #34

                  @brnrd Seems like they pioneered this model back with ActiveX plugins:
                  (A) trust this plugin to do anything it wants, even if it’s malicious,
                  (B) don’t let this plugin do anything, no matter how useful
                  (C) Maybe later (the 2020s enhanced version of this choice)

                  @GossiTheDog

                  1 Reply Last reply
                  0
                  • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                    Also - if you think 'none of our users run VSCode', check your telemetry. They do. It doesn't even need local admin rights to install.

                    I've tooted about this one for about two years now, Microsoft have created their own security bonfire and it's going off in their own backyard, they just haven't realised yet.

                    h0ru2@cyberplace.socialH This user is from outside of this forum
                    h0ru2@cyberplace.socialH This user is from outside of this forum
                    h0ru2@cyberplace.social
                    wrote last edited by
                    #35

                    @GossiTheDog Was a bit shocked, when I discovered it's just installed into the user's home directory.

                    1 Reply Last reply
                    0
                    • emily_s@mastodon.me.ukE emily_s@mastodon.me.uk

                      @GossiTheDog hell even opening a repo in vscode can cause code execution in multiple ways. It is basically impossible to use securely.

                      Link Preview Image
                      GitHub - emilyselwood/self_deleting_repo: A repo that deletes it self when it opens in an editor.

                      A repo that deletes it self when it opens in an editor. - emilyselwood/self_deleting_repo

                      favicon

                      GitHub (github.com)

                      binford2k@hachyderm.ioB This user is from outside of this forum
                      binford2k@hachyderm.ioB This user is from outside of this forum
                      binford2k@hachyderm.io
                      wrote last edited by
                      #36

                      @emily_s @GossiTheDog sounds like this only happens when you trust the folder when it asks for permission. https://www.devclass.com/development/2026/01/22/vs-code-tasks-config-file-abused-to-run-malicious-code/4079547

                      emily_s@mastodon.me.ukE 1 Reply Last reply
                      0
                      • binford2k@hachyderm.ioB binford2k@hachyderm.io

                        @emily_s @GossiTheDog sounds like this only happens when you trust the folder when it asks for permission. https://www.devclass.com/development/2026/01/22/vs-code-tasks-config-file-abused-to-run-malicious-code/4079547

                        emily_s@mastodon.me.ukE This user is from outside of this forum
                        emily_s@mastodon.me.ukE This user is from outside of this forum
                        emily_s@mastodon.me.uk
                        wrote last edited by
                        #37

                        @binford2k @GossiTheDog yes... Do you know every single thing you need to check before clicking that button on a repo? Do you check all changes to all repos you've clicked that button on before you open your editor? Do you keep track of all changes to all of your plug-ins to check if they've added yet another way to trip this class of thing? (plugin's that silently update by default)

                        That button is entirely so lawyers can say "Well we warned you" and not actually provide any security.

                        binford2k@hachyderm.ioB 1 Reply Last reply
                        0
                        • emily_s@mastodon.me.ukE emily_s@mastodon.me.uk

                          @binford2k @GossiTheDog yes... Do you know every single thing you need to check before clicking that button on a repo? Do you check all changes to all repos you've clicked that button on before you open your editor? Do you keep track of all changes to all of your plug-ins to check if they've added yet another way to trip this class of thing? (plugin's that silently update by default)

                          That button is entirely so lawyers can say "Well we warned you" and not actually provide any security.

                          binford2k@hachyderm.ioB This user is from outside of this forum
                          binford2k@hachyderm.ioB This user is from outside of this forum
                          binford2k@hachyderm.io
                          wrote last edited by
                          #38

                          @emily_s @GossiTheDog I’m just saying that if you open a freshly cloned repo and vscode says “yo dude, can this repo run some code?” and you say “hell yeah sounds like a great time, I trust that repo, run some code” then you shouldn’t be surprised when the repo runs some code.

                          yacc143@mastodon.socialY 1 Reply Last reply
                          0
                          • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                            RE: https://hachyderm.io/@ChrisShort/116606591908387955

                            If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

                            The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

                            Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

                            VSCode is an absolute security shittip as a result.

                            mcepl@en.osm.townM This user is from outside of this forum
                            mcepl@en.osm.townM This user is from outside of this forum
                            mcepl@en.osm.town
                            wrote last edited by
                            #39

                            @GossiTheDog

                            And if you like me don’t use VS Code, don’t feel smug: our editors ($VIM, Emacs, etc.) don’t even have any marketplace and pull executable code from completely random places on the Internet (mostly GitHub, which we know how secure it is).

                            #Fail #NoSecurity

                            1 Reply Last reply
                            0
                            • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                              RE: https://hachyderm.io/@ChrisShort/116606591908387955

                              If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

                              The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

                              Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

                              VSCode is an absolute security shittip as a result.

                              yacc143@mastodon.socialY This user is from outside of this forum
                              yacc143@mastodon.socialY This user is from outside of this forum
                              yacc143@mastodon.social
                              wrote last edited by
                              #40

                              @GossiTheDog
                              Nothing surprising here.

                              Microsoft traditionally has the MSDOS & Windows 3.11 security mindset, which only is replaced surgically with something better. But the default is no security.

                              Prove me wrong.

                              1 Reply Last reply
                              0
                              • stevel@hachyderm.ioS stevel@hachyderm.io

                                @GossiTheDog in their favour: MSFT are showing how they've successfully implemented a cross-platform vulnerability ecosystem. ActiveX was windows only

                                yacc143@mastodon.socialY This user is from outside of this forum
                                yacc143@mastodon.socialY This user is from outside of this forum
                                yacc143@mastodon.social
                                wrote last edited by
                                #41

                                @stevel
                                Do you know my CEO colleague, he insists on positive formulations even if you just report the end of world. "And finally I've got an incredible deal at the end of the world sales for cloud resources for the period after the big rock will hit earth and exterminate all life more advanced than bacteria. Our year-end bonuses are safe!"

                                But yes active-x was unfairly windows only, we non windows users were discriminated against.
                                @GossiTheDog

                                stevel@hachyderm.ioS 1 Reply Last reply
                                0
                                • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                                  @ingram you can probably install VSCode 😅

                                  yacc143@mastodon.socialY This user is from outside of this forum
                                  yacc143@mastodon.socialY This user is from outside of this forum
                                  yacc143@mastodon.social
                                  wrote last edited by
                                  #42

                                  @GossiTheDog
                                  Not really, VSC let extensions bring their own binaries too, doesn't it?
                                  @ingram

                                  1 Reply Last reply
                                  0
                                  • yacc143@mastodon.socialY yacc143@mastodon.social

                                    @stevel
                                    Do you know my CEO colleague, he insists on positive formulations even if you just report the end of world. "And finally I've got an incredible deal at the end of the world sales for cloud resources for the period after the big rock will hit earth and exterminate all life more advanced than bacteria. Our year-end bonuses are safe!"

                                    But yes active-x was unfairly windows only, we non windows users were discriminated against.
                                    @GossiTheDog

                                    stevel@hachyderm.ioS This user is from outside of this forum
                                    stevel@hachyderm.ioS This user is from outside of this forum
                                    stevel@hachyderm.io
                                    wrote last edited by
                                    #43

                                    @yacc143 @GossiTheDog did get an IE3 patch out to fix an ActiveX control vulnerability back in the late 90s, it was such an easy target.

                                    Has anything that bad shipped between then and vs.code plugins? Doubtful. Flash and java applets were trying to run in sandboxes...
                                    #cybersecurity

                                    1 Reply Last reply
                                    0
                                    • binford2k@hachyderm.ioB binford2k@hachyderm.io

                                      @emily_s @GossiTheDog I’m just saying that if you open a freshly cloned repo and vscode says “yo dude, can this repo run some code?” and you say “hell yeah sounds like a great time, I trust that repo, run some code” then you shouldn’t be surprised when the repo runs some code.

                                      yacc143@mastodon.socialY This user is from outside of this forum
                                      yacc143@mastodon.socialY This user is from outside of this forum
                                      yacc143@mastodon.social
                                      wrote last edited by
                                      #44

                                      @binford2k
                                      Yeah the point is that it's an utterly bad design:

                                      So you have to blindly trust the workspace directory to "auto run" in undefined (because extensions can add/modify behaviour).

                                      Or you have to accept that a certain part of the functionality (again undefined) will be not working or working suboptimal.

                                      And there is literally no way to safely review: give me an overview what commands does this repo configure to run.

                                      The point is @emily_s @GossiTheDog

                                      yacc143@mastodon.socialY 1 Reply Last reply
                                      0
                                      • yacc143@mastodon.socialY yacc143@mastodon.social

                                        @binford2k
                                        Yeah the point is that it's an utterly bad design:

                                        So you have to blindly trust the workspace directory to "auto run" in undefined (because extensions can add/modify behaviour).

                                        Or you have to accept that a certain part of the functionality (again undefined) will be not working or working suboptimal.

                                        And there is literally no way to safely review: give me an overview what commands does this repo configure to run.

                                        The point is @emily_s @GossiTheDog

                                        yacc143@mastodon.socialY This user is from outside of this forum
                                        yacc143@mastodon.socialY This user is from outside of this forum
                                        yacc143@mastodon.social
                                        wrote last edited by
                                        #45

                                        some of these configuration is totally benign and makes sense, like LSP support etc (although just blindly configuring it, risks configuring tools that are not installed on the system, but that's another story).
                                        @emily_s @GossiTheDog @binford2k

                                        1 Reply Last reply
                                        0
                                        • gossithedog@cyberplace.socialG gossithedog@cyberplace.social

                                          RE: https://hachyderm.io/@ChrisShort/116606591908387955

                                          If you want on to Microsoft's internal network, CORPNET, publish or own an existing a VSCode extension.

                                          The Visual Studio Code Marketplace, which Microsoft own, is completely uncontrolled.

                                          Anybody can publish an extension, it provides code execution on endpoints, extensions auto update by default, "verified" blue tick extensions just need any domain registration, and there's no endpoint security controls at all around what users can install.

                                          VSCode is an absolute security shittip as a result.

                                          slashdottir@mastodon.onlineS This user is from outside of this forum
                                          slashdottir@mastodon.onlineS This user is from outside of this forum
                                          slashdottir@mastodon.online
                                          wrote last edited by
                                          #46

                                          @GossiTheDog Politicians do not understand complexity really, they are specialists in tapping into the vibes of public sentiment and then crafting rhetoric to get those vibes resonating in their preferred direction.

                                          Security is like this fractal mandelbrot surface of complexity where the more surface you generate or explore, the more vectors of attack there are. It's way too much for most people, and way too much for politicians who are only interested in what most people think.

                                          slashdottir@mastodon.onlineS 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups