News for hackers. Stuff that matters.
Re:VSCode Security: Malicious Extensions Detected- More Than... by megous on Monday May 22, 2023 @07:07AM (#36029870)
> every program you install gets full access to the system

It gets your user's privileges when you run it. It's up to you how you run your programs.

Also there's no "default Linux configuration". There are many distributions, and they have different defaults and approaches.

Re:VSCode Security: Malicious Extensions Detected- More Than... by eviks on Monday May 22, 2023 @08:45AM (#36030706)
Many distros with many approaches, yet not a single one with a convenient security feature that comment is mentioning

So it's not "up to me" if the good choice is not practical

Re:VSCode Security: Malicious Extensions Detected- More Than... by RMPR on Monday May 22, 2023 @12:37PM (#36033617)
Fedora (and I think all the RHEL family) comes with SE Linux by default. Although I'm not that familiar with it (I tend to disable it more often than not) it seems to me like it's addressing precisely that.
Re:VSCode Security: Malicious Extensions Detected- More Than... by TingPing on Monday May 22, 2023 @02:41PM (#36035099)
selinux isn't used in any meaningful way for desktop software.

The actual solution in that space is Flatpak.

Re:VSCode Security: Malicious Extensions Detected- More Than... by eviks on Tuesday May 23, 2023 @01:54AM (#36040397)
It can't address that when it's disabled, and since it's not a good tool of addressing the issue, it stays disabled
Re:VSCode Security: Malicious Extensions Detected- More Than... by megous on Thursday June 01, 2023 @04:27PM (#36156889)
Yeah, it's too hard to just `useradd -m name` a new user, maybe set default acl once via setfacl -m d:u:main-user:rwx /home/name for easier file sharing with the main desktop user account, and `sudo su - name` to it, and run whatever less trusted apps need to run under that user account from then on, mostly isolated from the rest of the [file]system.

Distros clearly don't allow this and none has this feature or these commands preinstalled by default, nor they are built to be multi-user OSes. :D

Re:VSCode Security: Malicious Extensions Detected- More Than... by pfg_ on Monday May 22, 2023 @12:02PM (#36033155)
my user's privileges contain my ssh keys, my passwords database, my personal files, ...
Re:VSCode Security: Malicious Extensions Detected- More Than... by megous on Thursday June 01, 2023 @04:18PM (#36156791)
But that's your choice. I have multiple "users", and only one of them has access to ssh keys, etc. Users I use for less trusted apps just have write access to their mostly empty home dir filled with some dotfiles "whatever" app created by itself.

You can firewall by process UIDs/GIDs too, and I use that to allow the user access only to the internet and not to localhost or home network, or only to localhost, etc.