> Cursor did one npm install in its chain of thought just to run a script, that script downloaded an infected dependency which ran an info-stealer script on my machine.
Come on man. You absolutely should not be running models with access to your system if you care the least bit about security. If you absolutely must (like if your employer requires it), then sandbox the hell out of it and make sure it doesn't have credentials or anything. There's nothing to be afraid of in your story except YOLOing unsafe things on your machine.
There are many things one absolutely "should not do," and yet are done every day anyway.
The fact that they are risky, and that some people know this doesn't mean the risk isn't real.