This spooks me a little. Common sense says you should never, ever run "curl something | sh" (or equivilant), especially not with elevated privileges.
https://curlpipesh.tumblr.com/
The ridiculous ones are where it just sets up an apt repo - like someone can’t add a file with a line or two of text and run two very common commands (apt update/install).
Edit: these ones are just ridiculous.
“Here, download this stuff using curl... also you’ll need wget”.