Terrible examples, considering that these are programming languages that people will use to run code from random sources.
"git clone foo && cmake foo" can definitely be a security problem, and not just because the code itself is untrusted.
"git clone foo && cmake foo" can definitely be a security problem, and not just because the code itself is untrusted.
> OTOH, allocating & using memory correctly so that a maliciously-crafted Makefile can't get elevated permissions is.