Both is completely secure theoretically. You can read the output of the curl before you refetch and pipe it to bash. You can also look at the commands claude is executing.
You always do that, right? ...right?
You always do that, right? ...right?
So you could be diligent and curl into a text file, see nothing is wrong, but then when you curl into bash, it runs something different.
curl > some_file
bash some_file
(Also, how in the world would a server be able to tell where you’re piping the response?)Edit: thanks for the replies, that makes perfect sense