The DuneSlide vulnerabilities enable zero-click prompt injection attacks that escape Cursor's sandbox and execute arbitrary code on the underlying operating system.
Sudo alternatives avoid vulnerabilities, but the better approach is to avoid sudo.