4 ms·
bash autocompletion will run arbitrary code from a Makefile. I wouldn't be surprised if many editors do too.
by remram 6y ago
bash autocompletion will run arbitrary code from a Makefile. I wouldn't be surprised if many editors do too.
- mjw1007 6y agoI think programmers' editors in general have treated "automatically run arbitrary code supplied by files you're editing" seriously as a security vulnerability since sometime around 2000. (For example, Emacs realised that 'local eval' wasn't a good thing to have enabled globally in Emacs 19, in 1994, and spent the next decade or more closing many other loopholes involving local variables specified directly in files.) If modern editors and IDEs are no longer thinking that way, I think that's a mistake.