> This issues goes way back: imagine if after executing a program on CLI instead of closing it gave you a fake shell, where you eventually went about your day until you had to type your password into sudo..
As a fun fact, even worse might be a program maliciously aliasing sudo in ~/.profile