Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I disagree, people that download .py files also tend to use pip and REPL. I can easily imagine looking at some example code, download it to view in a text editor without paying too much attention to it and after a long while run 'python -m pip install...' Without paying attention to what directory I am running it from. It's a solid advice, learned something new. Much in the same vain, DLL/.so search order hijacking is a thing too so maybe I will avoid running executables from my Downloads folder as well.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: