dankamongmen / growlight

notcurses block device manager / system installation tool
https://nick-black.com/dankwiki/index.php/Growlight
GNU General Public License v3.0
85 stars 12 forks source link

audit exec()s for PATH/argument sanity #100

Open dankamongmen opened 3 years ago

dankamongmen commented 3 years ago

Given that (1) we run with some privileges and (2) we call out to some processes, we need be extra certain that we're doing it safely. Audit for failure to set PATH or fail to sanitize user input on the way to exec().