You don’t even need unsafe
, you can just take user input and execute it in a shell and rust will let you do it. Totally insecure!
You don’t even need unsafe
, you can just take user input and execute it in a shell and rust will let you do it. Totally insecure!
My comment is sarcastic, obviously. The argument Kairos gave is similar to this. You can still introduce vulnerabilities. The issue is normally that you introduce them accidentally. Rust gives you safety, but does not put your code into a sandbox. It looked to me like they weren’t aware of this difference.