The malicious "rustdecimal" crate
The malicious "rustdecimal" crate
Posted May 13, 2022 9:31 UTC (Fri) by wtarreau (subscriber, #51152)In reply to: The malicious "rustdecimal" crate by nybble41
Parent article: The malicious "rustdecimal" crate
> A more immediate problem with `curl | bash` is ensuring that the script is safe with respect to truncation; there is no buffering, so if the connection is interrupted `curl` just reports EOF and `bash` will attempt to run whatever was received for the interrupted line as if it were a complete command.
Exactly! I'm pleased to read this because I feel like I'm constantly blowing in the wind when I say this, and even people do not believe my examples :-/
