Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jeremyjh
· 4mo ago · 0 comments
Cursor is an editor. Why is it executing untrusted code when a folder is opened? Opening a folder is not equivalent to executing a script contained in the repo. How can you think that is ok?
Comments
[–]
dev_daftly
4mo ago
It's not executing untrusted code, it's calling git when you have a malicious version of git on your system
[–]
jeremyjh
OP
4mo ago
No, read the report. It will call an executable called git.exe in the untrusted repo.