this post was submitted on 10 Aug 2023
67 points (94.7% liked)

Technology

58303 readers
14 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago

So what? Malicious extensions can do anything. Don’t run untrusted code on any computer you care about, ever. This is true for any IDE extension, any NPM package, any mod pack, etc.

[–] [email protected] 11 points 1 year ago (1 children)

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

[–] [email protected] 4 points 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.

[–] [email protected] 0 points 1 year ago

I wonder what would this would mean if people was using ssh connections through vscode