There are a lot of ways of tackling this but the point is dev system security should not resemble the standard user posture.
We have reached a point where developing on your host OS has become irresponsible. Running development inside a container or VM is now mandatory.
There are a lot of ways of tackling this but the point is dev system security should not resemble the standard user posture.