logoalt Hacker News

jhancocktoday at 8:47 AM6 repliesview on HN

In VS Code settings search for "tasks" you will find "Task: Allow Automatic Tasks"...turn it off.

Anything else that should be locked down?


Replies

rcxdudetoday at 11:44 AM

Don't mark the folder as trusted when you open in VsCode. The number of other hooks that may exist is going to be hard to track down (especially because each addon may add their own).

StingyJellytoday at 9:59 AM

This may only provide a flalse sense of security. Afaik, there is no way to disable workspace settings taking priority over user settings, so a malious repo can easily override them and reenable automatic tasks.

exitbtoday at 9:07 AM

Even if you lock everything now, what if the thing autoupdates with new helpful "features". You can't patch bad development culture.

gus_today at 9:28 AM

  On macOS systems, this results in the execution of a background shell command that uses nohup bash -c in combination with curl -s to retrieve a JavaScript payload remotely
Unrestricted outbound connections, specially from curl/wget/bash
Muromectoday at 9:19 AM

Sounds like autorun on usb drives all over again. They cant learn

dude250711today at 9:04 AM

Yes, uninstall the whole thing. It's just a Chromium covered with a bunch of JavaScript.